re PR target/34409 (MIPS: Non-optimal DWARF frame data)
authorDavid Daney <ddaney@avtrex.com>
Wed, 27 Feb 2008 18:04:49 +0000 (18:04 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Wed, 27 Feb 2008 18:04:49 +0000 (18:04 +0000)
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/ChangeLog
gcc/config/mips/iris.h
gcc/config/mips/mips.h
gcc/config/mips/openbsd.h
gcc/config/mips/sde.h
gcc/config/mips/vxworks.h

index b58929382d966bc5f80fcfb9b6d5a0376258bad8..fb45927af73a4068a5a031372f897ab5d07a8adf 100644 (file)
@@ -1,3 +1,12 @@
+2008-02-27  David Daney  <ddaney@avtrex.com>
+
+       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  <ubizjak@gmail.com>
 
        PR target/25477
index 7b1b607de1519ed6c14dd692ad1e1103e01022cd..312845b39230294490be2b87a3c450fa4f2f21bf 100644 (file)
@@ -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.  */
index 7d94ebddd56fb08a803aea8655ecf74d2149693a..3bc9dfe36ab27a1b469b739884b58a90b85ed56c 100644 (file)
@@ -1078,7 +1078,6 @@ enum mips_code_readable_setting {
 #endif
 \f
 #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
index dc5c5eb344ffbb198bb14c8c8c935dab09a0638e..af420f386a3b6353d8b7defc3dafc059e74bd34b 100644 (file)
@@ -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
index 94fd1f587319c67062bb9b2a68b4c01b2956dfa1..beb8d1df7bf41b6065a04136ed3e2058c75f295c 100644 (file)
@@ -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.  */
 
index f26b64c931e4e5372ed23a30bb79f24ab2a143ff..16679a0b32b3b0159a8ea89ba41a41fa71a2a71b 100644 (file)
@@ -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