aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-02-22 12:09:19 -0700
committerJeff Law <law@gcc.gnu.org>1998-02-22 12:09:19 -0700
commit45c4886986d791d11441c09245810caa7cae70cb (patch)
treecad7a47f19217b19783f52e90b0f8546511a906e /gcc
parentdeabc777dab12bf025412fba97ddab1dbe07b0e8 (diff)
downloadgcc-45c4886986d791d11441c09245810caa7cae70cb.zip
gcc-45c4886986d791d11441c09245810caa7cae70cb.tar.gz
gcc-45c4886986d791d11441c09245810caa7cae70cb.tar.bz2
sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Define this new symbol.
/ * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Define this new symbol. (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef. * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined. From-SVN: r18180
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sol2-sld.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/config/sparc/sol2-sld.h b/gcc/config/sparc/sol2-sld.h
index 90c5ca6..a824987 100644
--- a/gcc/config/sparc/sol2-sld.h
+++ b/gcc/config/sparc/sol2-sld.h
@@ -3,16 +3,9 @@
#include "sparc/sol2.h"
-/* Disable any support for DWARF and DWARF2 if we are using the system linker.
- At least up through Solaris 2.6,
+/* At least up through Solaris 2.6,
the system linker does not work with DWARF or DWARF2,
since it does not have working support for relocations
to unaligned data. */
-#ifdef DWARF2_DEBUGGING_INFO
-#undef DWARF2_DEBUGGING_INFO
-#endif
-
-#ifdef DWARF_DEBUGGING_INFO
-#undef DWARF_DEBUGGING_INFO
-#endif
+#define LINKER_DOES_NOT_WORK_WITH_DWARF2