mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ...
* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ... (MDEBUG_ASM_SPEC): ... here. Use only with gas. (EXTRA_SPECS): Initialize mdebug_asm_spec. From-SVN: r67242
This commit is contained in:
parent
c5b6351bd6
commit
3bd4f46089
|
@ -1,3 +1,11 @@
|
|||
2003-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
|
||||
-mdebug/-no-mdebug switches ...
|
||||
(MDEBUG_ASM_SPEC): ... here.
|
||||
Use only with gas.
|
||||
(EXTRA_SPECS): Initialize mdebug_asm_spec.
|
||||
|
||||
2003-05-29 Matt Kraai <kraai@alumni.cmu.edu>
|
||||
|
||||
* gthr-gnat.c: Remove #undef UNUSED.
|
||||
|
|
|
@ -1103,9 +1103,18 @@ extern int mips_abi;
|
|||
%{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
|
||||
%{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
|
||||
%{gcoff:-g} %{gcoff0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3} \
|
||||
%{!gdwarf*:-mdebug} %{gdwarf*:-no-mdebug}"
|
||||
%(mdebug_asm_spec)"
|
||||
#endif
|
||||
|
||||
/* Beginning with gas 2.13, -mdebug must be passed to correctly handle COFF
|
||||
and stabs debugging info. */
|
||||
#if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GAS) != 0
|
||||
/* GAS */
|
||||
#define MDEBUG_ASM_SPEC "%{!gdwarf*:-mdebug} %{gdwarf*:-no-mdebug}"
|
||||
#else /* not GAS */
|
||||
#define MDEBUG_ASM_SPEC ""
|
||||
#endif /* not GAS */
|
||||
|
||||
/* SUBTARGET_ASM_SPEC is always passed to the assembler. It may be
|
||||
overridden by subtargets. */
|
||||
|
||||
|
@ -1234,6 +1243,7 @@ extern int mips_abi;
|
|||
{ "subtarget_mips_as_asm_spec", SUBTARGET_MIPS_AS_ASM_SPEC }, \
|
||||
{ "subtarget_asm_optimizing_spec", SUBTARGET_ASM_OPTIMIZING_SPEC }, \
|
||||
{ "subtarget_asm_debugging_spec", SUBTARGET_ASM_DEBUGGING_SPEC }, \
|
||||
{ "mdebug_asm_spec", MDEBUG_ASM_SPEC }, \
|
||||
{ "subtarget_asm_spec", SUBTARGET_ASM_SPEC }, \
|
||||
{ "asm_abi_default_spec", ASM_ABI_DEFAULT_SPEC }, \
|
||||
{ "endian_spec", ENDIAN_SPEC }, \
|
||||
|
|
Loading…
Reference in New Issue