diff options
Diffstat (limited to 'gcc/config/sparc/sol2-sld.h')
-rw-r--r-- | gcc/config/sparc/sol2-sld.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2-sld.h b/gcc/config/sparc/sol2-sld.h new file mode 100644 index 00000000000..90c5ca65724 --- /dev/null +++ b/gcc/config/sparc/sol2-sld.h @@ -0,0 +1,18 @@ +/* Definitions of target machine for GNU compiler, for SPARC running Solaris 2 + using the system linker. */ + +#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, + 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 |