freebsd-ports/editors/xemacs/files/patch-aj
Gary Jennejohn 7e477f978b Add Marcel's patches for Alpha support. I could only check that these
patches apply without error. I don't have an Alpha to test on, but I assume
that Marcel knows what he's doing.

PR:		addendum to 14916
Submitted by:	marcel
Approved by:	the maintainer
1999-11-18 20:56:15 +00:00

20 lines
608 B
Plaintext

--- ./src/s/freebsd.h~ Sun Sep 27 09:59:20 1998
+++ ./src/s/freebsd.h Tue Nov 2 10:25:48 1999
@@ -54,10 +54,15 @@
#include <stddef.h>
#endif
#define LD_SWITCH_SYSTEM
+#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 LINKER "$(CC) -nostdlib"
+#define UNEXEC unexelf.o
#undef LIB_GCC
#define LIB_GCC