Commit 894bdff6 by Alan Modra Committed by Alan Modra

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
parent 5b3dc815
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> 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
......
...@@ -483,10 +483,11 @@ rs6000_override_options (default_cpu) ...@@ -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)", if (extra_warnings)
(flag_pic > 1) ? "PIC" : "pic"); warning ("-f%s ignored (all code is position independent)",
(flag_pic > 1) ? "PIC" : "pic");
flag_pic = 0; flag_pic = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment