summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sparc/bsd.h')
-rwxr-xr-xgcc/config/sparc/bsd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/sparc/bsd.h b/gcc/config/sparc/bsd.h
new file mode 100755
index 0000000..761abe2
--- /dev/null
+++ b/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}}"