Commit ac5fe3fe by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent 8deb9aee
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> 2003-12-23 David Edelsohn <edelsohn@gnu.org>
* function.c (assign_parms): Update max_parm_reg and * function.c (assign_parms): Update max_parm_reg and
......
...@@ -4663,10 +4663,10 @@ override_options (void) ...@@ -4663,10 +4663,10 @@ override_options (void)
/* Adapt wording to IRIX version: IRIX 5 only had a single ABI, /* Adapt wording to IRIX version: IRIX 5 only had a single ABI,
so -mabi=32 isn't usually specified. */ so -mabi=32 isn't usually specified. */
if (TARGET_IRIX5) if (TARGET_IRIX5)
warning ("-g is only supported using GNU as,"); inform ("-g is only supported using GNU as,");
else else
warning ("-g is only supported using GNU as with -mabi=32,"); inform ("-g is only supported using GNU as with -mabi=32,");
warning ("-g option disabled"); inform ("-g option disabled");
write_symbols = NO_DEBUG; write_symbols = NO_DEBUG;
} }
} }
......
...@@ -12,11 +12,7 @@ INSTALL_LIBGCC = install-multilib ...@@ -12,11 +12,7 @@ INSTALL_LIBGCC = install-multilib
# end labels to the .ctors and .dtors section when we link using gcc. # end labels to the .ctors and .dtors section when we link using gcc.
EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
# When the native assembler is in use, -g is not supported with the O32 ABI CRTSTUFF_T_CFLAGS=-g1
# 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
LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c
......
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