summaryrefslogtreecommitdiff
path: root/contrib/gcc/config/sparc/bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/sparc/bsd.h')
-rw-r--r--contrib/gcc/config/sparc/bsd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gcc/config/sparc/bsd.h b/contrib/gcc/config/sparc/bsd.h
new file mode 100644
index 0000000000000..761abe2671b88
--- /dev/null
+++ b/contrib/gcc/config/sparc/bsd.h
@@ -0,0 +1,7 @@
+#include "sparc/sparc.h"
+
+#undef LIB_SPEC
+#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:gcrt0.o%s}%{!p:crt0.o%s}}"