diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-22 19:09:19 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-22 19:09:19 +0000 |
commit | c5f860a83784ce78fc2fbddec1c848c10d40cb50 (patch) | |
tree | cad7a47f19217b19783f52e90b0f8546511a906e /gcc/config/sparc | |
parent | 0c10f15a5efb40ed397f9a7a4cbd6066a99e4687 (diff) | |
download | gcc-c5f860a83784ce78fc2fbddec1c848c10d40cb50.tar.gz |
/
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18180 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r-- | gcc/config/sparc/sol2-sld.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/config/sparc/sol2-sld.h b/gcc/config/sparc/sol2-sld.h index 90c5ca65724..a82498791b9 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 |