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>
* function.c (assign_parms): Update max_parm_reg and
......
......@@ -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;
}
}
......
......@@ -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
......
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