aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2008-02-27 18:04:49 +0000
committerDavid Daney <daney@gcc.gnu.org>2008-02-27 18:04:49 +0000
commit2a1ed4fcfdf4db30a4dc8202181126157956e347 (patch)
treea25d1f371121a4d54ce02ec8e963a59a49b405c5 /gcc
parentc92712d17a180ab55c4f3cb75b44e4856f40ce9a (diff)
downloadgcc-2a1ed4fcfdf4db30a4dc8202181126157956e347.zip
gcc-2a1ed4fcfdf4db30a4dc8202181126157956e347.tar.gz
gcc-2a1ed4fcfdf4db30a4dc8202181126157956e347.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/mips/iris.h3
-rw-r--r--gcc/config/mips/mips.h1
-rw-r--r--gcc/config/mips/openbsd.h3
-rw-r--r--gcc/config/mips/sde.h3
-rw-r--r--gcc/config/mips/vxworks.h3
6 files changed, 16 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b589293..fb45927 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
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