Commit 45c48869 by Jeff Law

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
parent deabc777
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment