aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sol2-sld.h
diff options
context:
space:
mode:
authorNo Author <no-author@gcc.gnu.org>1998-12-17 06:43:56 +0000
committerNo Author <no-author@gcc.gnu.org>1998-12-17 06:43:56 +0000
commit3520370f09ccf2899fafd9fbdf421a73eb5e6e89 (patch)
tree71c1f8a188167f5d00e862fd4e0f2534533094ba /gcc/config/sparc/sol2-sld.h
parent861bb6c1b0958236ad93717f98d347aa6152bd09 (diff)
This commit was manufactured by cvs2svn to create tagmisc/first-egcs-checkin
'first-egcs-checkin'. From-SVN: r24354
Diffstat (limited to 'gcc/config/sparc/sol2-sld.h')
-rw-r--r--gcc/config/sparc/sol2-sld.h18
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