Commit 120311ec by Andrew Pinski Committed by Richard Sandiford

linux.h (SUBTARGET_CC1_SPEC): Override.

gcc/
2006-10-17  Andrew Pinsiki  <pinskia@gmail.com>
	    Richard Sandiford  <richard@codesourcery.com>

	* config/mips/linux.h (SUBTARGET_CC1_SPEC): Override.
	* config/mips/mips.h (CC1_SPEC): Override any earlier definition.

Co-Authored-By: Richard Sandiford <richard@codesourcery.com>

From-SVN: r117819
parent a8384928
2006-10-17 Andrew Pinsiki <pinskia@gmail.com>
Richard Sandiford <richard@codesourcery.com>
* config/mips/linux.h (SUBTARGET_CC1_SPEC): Override.
* config/mips/mips.h (CC1_SPEC): Override any earlier definition.
2006-10-16 Geoffrey Keating <geoffk@apple.com> 2006-10-16 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Move to rs6000.h. * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Move to rs6000.h.
......
...@@ -89,9 +89,15 @@ Boston, MA 02110-1301, USA. */ ...@@ -89,9 +89,15 @@ Boston, MA 02110-1301, USA. */
builtin_define ("_MIPS_SZINT=32"); \ builtin_define ("_MIPS_SZINT=32"); \
} while (0) } while (0)
#undef SUBTARGET_CPP_SPEC #undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC "%{pthread:-D_REENTRANT}" #define SUBTARGET_CPP_SPEC "%{pthread:-D_REENTRANT}"
/* A standard GNU/Linux mapping. On most targets, it is included in
CC1_SPEC itself by config/linux.h, but mips.h overrides CC1_SPEC
and provides this hook instead. */
#undef SUBTARGET_CC1_SPEC
#define SUBTARGET_CC1_SPEC "%{profile:-p}"
/* From iris5.h */ /* From iris5.h */
/* -G is incompatible with -KPIC which is the default, so only allow objects /* -G is incompatible with -KPIC which is the default, so only allow objects
in the small data section if the user explicitly asks for it. */ in the small data section if the user explicitly asks for it. */
......
...@@ -865,13 +865,12 @@ extern const struct mips_rtx_cost_data *mips_cost; ...@@ -865,13 +865,12 @@ extern const struct mips_rtx_cost_data *mips_cost;
/* CC1_SPEC is the set of arguments to pass to the compiler proper. */ /* CC1_SPEC is the set of arguments to pass to the compiler proper. */
#ifndef CC1_SPEC #undef CC1_SPEC
#define CC1_SPEC "\ #define CC1_SPEC "\
%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
%{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \
%{save-temps: } \ %{save-temps: } \
%(subtarget_cc1_spec)" %(subtarget_cc1_spec)"
#endif
/* Preprocessor specs. */ /* Preprocessor specs. */
......
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