From 2a1ed4fcfdf4db30a4dc8202181126157956e347 Mon Sep 17 00:00:00 2001 From: David Daney Date: Wed, 27 Feb 2008 18:04:49 +0000 Subject: re PR target/34409 (MIPS: Non-optimal DWARF frame data) PR target/34409 * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define. * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same. * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef. * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same. * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define. From-SVN: r132725 --- gcc/config/mips/iris.h | 3 +++ gcc/config/mips/mips.h | 1 - gcc/config/mips/openbsd.h | 3 +++ gcc/config/mips/sde.h | 3 +-- gcc/config/mips/vxworks.h | 3 --- 5 files changed, 7 insertions(+), 6 deletions(-) (limited to 'gcc/config/mips') diff --git a/gcc/config/mips/iris.h b/gcc/config/mips/iris.h index 7b1b607..312845b 100644 --- a/gcc/config/mips/iris.h +++ b/gcc/config/mips/iris.h @@ -22,6 +22,9 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_IRIX #define TARGET_IRIX 1 +/* MIPS specific debugging info */ +#define MIPS_DEBUGGING_INFO 1 + /* The size in bytes of a DWARF field indicating an offset or length relative to a debug info section, specified to be 4 bytes in the DWARF-2 specification. The SGI/MIPS ABI defines it to be the same as PTR_SIZE. */ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 7d94ebd..3bc9dfe 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1078,7 +1078,6 @@ enum mips_code_readable_setting { #endif #define DBX_DEBUGGING_INFO 1 /* generate stabs (OSF/rose) */ -#define MIPS_DEBUGGING_INFO 1 /* MIPS specific debugging info */ #define DWARF2_DEBUGGING_INFO 1 /* dwarf2 debugging info */ #ifndef PREFERRED_DEBUGGING_TYPE diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h index dc5c5eb..af420f3 100644 --- a/gcc/config/mips/openbsd.h +++ b/gcc/config/mips/openbsd.h @@ -95,3 +95,6 @@ along with GCC; see the file COPYING3. If not see /* Switch into a generic section. */ #undef TARGET_ASM_NAMED_SECTION #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section + +/* MIPS specific debugging info */ +#define MIPS_DEBUGGING_INFO 1 diff --git a/gcc/config/mips/sde.h b/gcc/config/mips/sde.h index 94fd1f5..beb8d1d 100644 --- a/gcc/config/mips/sde.h +++ b/gcc/config/mips/sde.h @@ -72,9 +72,8 @@ along with GCC; see the file COPYING3. If not see #undef DEFAULT_SIGNED_CHAR #define DEFAULT_SIGNED_CHAR 0 -/* SDE-MIPS won't ever support SDB or MIPS debugging info. */ +/* SDE-MIPS won't ever support SDB debugging info. */ #undef SDB_DEBUGGING_INFO -#undef MIPS_DEBUGGING_INFO /* Describe how we implement __builtin_eh_return. */ diff --git a/gcc/config/mips/vxworks.h b/gcc/config/mips/vxworks.h index f26b64c..16679a0 100644 --- a/gcc/config/mips/vxworks.h +++ b/gcc/config/mips/vxworks.h @@ -79,9 +79,6 @@ VXWORKS_LINK_SPEC #undef MIPS_DEFAULT_GVALUE #define MIPS_DEFAULT_GVALUE 0 -/* Other formats are already disabled in config/vxworks.h. */ -#undef MIPS_DEBUGGING_INFO - /* No _mcount profiling on VxWorks. */ #undef FUNCTION_PROFILER #define FUNCTION_PROFILER VXWORKS_FUNCTION_PROFILER -- cgit v1.1