summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gcc/config/sparc/sol2-sld.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/sparc/sol2-sld.h b/gnu/usr.bin/gcc/config/sparc/sol2-sld.h
new file mode 100644
index 00000000000..a82498791b9
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/sparc/sol2-sld.h
@@ -0,0 +1,11 @@
+/* Definitions of target machine for GNU compiler, for SPARC running Solaris 2
+ using the system linker. */
+
+#include "sparc/sol2.h"
+
+/* 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. */
+
+#define LINKER_DOES_NOT_WORK_WITH_DWARF2