From: Alan Modra Date: Mon, 22 Apr 2002 00:21:52 +0000 (+0000) Subject: rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX. X-Git-Tag: releases/gcc-3.3.0~5557 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=894bdff6f2c6b3d8317e31fa715da768c2de1adf;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b09952dac8d..c6d936c16d97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-22 Alan Modra + + * config/rs6000/rs6000.c (rs6000_override_options): Always clear + flag_pic for ABI_AIX. + 2002-04-21 Neil Booth * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ea2cebdba113..f816bd263de4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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; }