diff options
author | David Edelsohn <edelsohn@gnu.org> | 2002-04-22 01:01:12 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2002-04-21 21:01:12 -0400 |
commit | ee2ca2a22e0859101f4dcc1111585acbeafdbac8 (patch) | |
tree | 2ed63cb3b701fd3a9a3ec73be9778db945268a31 /gcc | |
parent | 894bdff6f2c6b3d8317e31fa715da768c2de1adf (diff) | |
download | gcc-ee2ca2a22e0859101f4dcc1111585acbeafdbac8.zip gcc-ee2ca2a22e0859101f4dcc1111585acbeafdbac8.tar.gz gcc-ee2ca2a22e0859101f4dcc1111585acbeafdbac8.tar.bz2 |
rs6000.c (rs6000_override_options): Correct style and formatting of previous patch.
* config/rs6000/rs6000.c (rs6000_override_options): Correct
style and formatting of previous patch.
From-SVN: r52593
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6d936c..707039a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-22 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/rs6000.c (rs6000_override_options): Correct + style and formatting of previous patch. + 2002-04-22 Alan Modra <amodra@bigpond.net.au> * config/rs6000/rs6000.c (rs6000_override_options): Always clear diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f816bd2..927abba 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -483,12 +483,13 @@ rs6000_override_options (default_cpu) } } - if (flag_pic && DEFAULT_ABI == ABI_AIX) + if (flag_pic != 0 && DEFAULT_ABI == ABI_AIX) { + flag_pic = 0; + if (extra_warnings) warning ("-f%s ignored (all code is position independent)", (flag_pic > 1) ? "PIC" : "pic"); - flag_pic = 0; } #ifdef XCOFF_DEBUGGING_INFO |