aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-12-24 03:59:59 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-12-24 03:59:59 +0000
commitac5fe3fe5198c0529fd777c92eb5aa1f9329ee93 (patch)
tree2e95d7325ee61a26b388668340557e2b530c734d
parent8deb9aee9477fbe8fd8a0c9faf8b392ed07a3734 (diff)
downloadgcc-ac5fe3fe5198c0529fd777c92eb5aa1f9329ee93.zip
gcc-ac5fe3fe5198c0529fd777c92eb5aa1f9329ee93.tar.gz
gcc-ac5fe3fe5198c0529fd777c92eb5aa1f9329ee93.tar.bz2
mips.c (override_options): Use `inform' instead of `warning' for -g -mabi=32 and native assembler.
* 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
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/mips/mips.c6
-rw-r--r--gcc/config/mips/t-iris66
3 files changed, 12 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fc2f387..10dd567 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index c748bac..ba358fc 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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;
}
}
diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6
index 05f364b..e671310 100644
--- a/gcc/config/mips/t-iris6
+++ b/gcc/config/mips/t-iris6
@@ -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