24 lines
652 B
Text
24 lines
652 B
Text
--- src/s/freebsd.h.orig Mon Jan 13 03:08:43 2003
|
|
+++ src/s/freebsd.h Mon Jan 13 03:10:05 2003
|
|
@@ -56,9 +66,20 @@
|
|
#ifdef __ELF__
|
|
|
|
#define LD_SWITCH_SYSTEM
|
|
+
|
|
+#if __FreeBSD_version >= 500000
|
|
+#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc
|
|
+#endif
|
|
+
|
|
+#ifdef __alpha__
|
|
+#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crtbegin.o
|
|
+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
|
|
+#else
|
|
#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
|
|
-#define UNEXEC unexelf.o
|
|
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
|
|
+#endif
|
|
+
|
|
+#define UNEXEC unexelf.o
|
|
#undef LIB_GCC
|
|
#define LIB_GCC
|
|
|