aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sol27-sld.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sparc/sol27-sld.h')
-rw-r--r--gcc/config/sparc/sol27-sld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol27-sld.h b/gcc/config/sparc/sol27-sld.h
new file mode 100644
index 00000000000..fb47b61f448
--- /dev/null
+++ b/gcc/config/sparc/sol27-sld.h
@@ -0,0 +1,8 @@
+/* Up through Solaris 2.7, the system linker does not work with DWARF
+ or DWARF2, since it does not have working support for relocations
+ to unaligned data. */
+
+#undef DWARF_DEBUGGING_INFO
+#undef DWARF2_DEBUGGING_INFO
+#undef PREFERRED_DEBUGGING_TYPE
+#undef ASM_DEBUG_SPEC