rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX.

* config/rs6000/rs6000.c (rs6000_override_options): Always clear
	flag_pic for ABI_AIX.

From-SVN: r52591
This commit is contained in:
Alan Modra 2002-04-22 00:21:52 +00:00 committed by Alan Modra
parent 5b3dc8155f
commit 894bdff6f2
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-04-22 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_override_options): Always clear
flag_pic for ABI_AIX.
2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.

View File

@ -483,10 +483,11 @@ rs6000_override_options (default_cpu)
}
}
if (flag_pic && DEFAULT_ABI == ABI_AIX && extra_warnings)
if (flag_pic && DEFAULT_ABI == ABI_AIX)
{
warning ("-f%s ignored (all code is position independent)",
(flag_pic > 1) ? "PIC" : "pic");
if (extra_warnings)
warning ("-f%s ignored (all code is position independent)",
(flag_pic > 1) ? "PIC" : "pic");
flag_pic = 0;
}