diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b58929382d9..fb45927af73 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2008-02-27 David Daney + + 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. + 2008-02-27 Uros Bizjak PR target/25477 diff --git a/gcc/config/mips/iris.h b/gcc/config/mips/iris.h index 7b1b607de15..312845b3923 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 7d94ebddd56..3bc9dfe36ab 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 dc5c5eb344f..af420f386a3 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 94fd1f58731..beb8d1df7bf 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 f26b64c931e..16679a0b32b 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