]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.c (override_options): Use `inform' instead of `warning' for -g -mabi=32 and...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 24 Dec 2003 03:59:59 +0000 (03:59 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 24 Dec 2003 03:59:59 +0000 (03:59 +0000)
* config/mips/mips.c (override_options): Use `inform' instead
of `warning' for -g -mabi=32 and native assembler.

* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
Don't pass -Wno-error.

From-SVN: r75002

gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/t-iris6

index fc2f3871ef974a7e91d2ae80217a3cbae473d7f5..10dd567b62ce704fa6943e9abafd0dea6ab1065c 100644 (file)
@@ -1,3 +1,11 @@
+2003-12-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * config/mips/mips.c (override_options): Use `inform' instead
+       of `warning' for -g -mabi=32 and native assembler.
+
+       * config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
+       Don't pass -Wno-error.
+
 2003-12-23  David Edelsohn  <edelsohn@gnu.org>
 
        * function.c (assign_parms): Update max_parm_reg and
index c748bac73af34c147ff966e211643905d2673f0d..ba358fcfbf6ebcbc2f446205a0d077d2853804de 100644 (file)
@@ -4663,10 +4663,10 @@ override_options (void)
          /* Adapt wording to IRIX version: IRIX 5 only had a single ABI,
             so -mabi=32 isn't usually specified.  */
          if (TARGET_IRIX5)
-           warning ("-g is only supported using GNU as,");
+           inform ("-g is only supported using GNU as,");
          else
-           warning ("-g is only supported using GNU as with -mabi=32,");
-         warning ("-g option disabled");
+           inform ("-g is only supported using GNU as with -mabi=32,");
+         inform ("-g option disabled");
          write_symbols = NO_DEBUG;
        }
     }
index 05f364bc89fd747c362b436849657fc80aeb7b5d..e6713106dba26f051d8f8f4d97fb2a7ef9ec5bed 100644 (file)
@@ -12,11 +12,7 @@ INSTALL_LIBGCC = install-multilib
 # end labels to the .ctors and .dtors section when we link using gcc.
 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
 
-# When the native assembler is in use, -g is not supported with the O32 ABI
-# and we get a warning for every -mabi=32 compilation.  Work around this
-# by adding -Wno-error.
-CRTSTUFF_T_CFLAGS=-g1 -Wno-error
-TARGET_LIBGCC2_CFLAGS = -Wno-error
+CRTSTUFF_T_CFLAGS=-g1
 
 LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c