* config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.

From-SVN: r52633
This commit is contained in:
Richard Henderson 2002-04-22 12:54:50 -07:00
parent 8ed8f73189
commit f942d7a5df
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,8 @@
2002-04-21 Mark Mitchell <mark@codesourcery.com>
2002-04-22 Richard Henderson <rth@redhat.com>
* config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
2002-04-22 Mark Mitchell <mark@codesourcery.com>
PR f/6138.
* function.c (fixup_memory_subreg): Add promoted_mode parameter.

View File

@ -264,3 +264,12 @@
use dwarf2 in 64-bit mode. */
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE (TARGET_ARCH32 ? DBX_DEBUG : DWARF2_DEBUG)
/* We can't use the above definition for the purposes of specs. */
#if defined(HAVE_AS_GDWARF2_DEBUG_FLAG) && defined(HAVE_AS_GSTABS_DEBUG_FLAG)
# if DEFAULT_ARCH32_P
# define ASM_DEBUG_SPEC "%{gdwarf-2*:--gdwarf2}%{!gdwarf-2*:%{g*:--gstabs}}"
# else
# define ASM_DEBUG_SPEC "%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}"
# endif
#endif