]> gcc.gnu.org Git - gcc.git/commitdiff
sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Define this new symbol.
authorJeff Law <law@gcc.gnu.org>
Sun, 22 Feb 1998 19:09:19 +0000 (12:09 -0700)
committerJeff Law <law@gcc.gnu.org>
Sun, 22 Feb 1998 19:09:19 +0000 (12:09 -0700)
/
* 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

gcc/config/sparc/sol2-sld.h

index 90c5ca657246ac1238c8b1e5079f2181bd2d71c7..a82498791b907246075f92e539c2122dc2957953 100644 (file)
@@ -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
This page took 0.062085 seconds and 5 git commands to generate.