diff src/s/netbsd.h @ 5901:0377de94724d

(SYSV_SYSTEM_DIR): Define. (BROKEN_START, TEXT_START, START_FILES, UNEXEC, RUN_TIME_REMAP): Define to use unexsunos4. (N_PAGSIZ, N_BSSSADDR, N_TRELOFF): Define so unexsunos4.c compiles.
author Roland McGrath <roland@gnu.org>
date Fri, 11 Feb 1994 17:32:57 +0000
parents 37ea8707b175
children 916cd5156aed
line wrap: on
line diff
--- a/src/s/netbsd.h	Fri Feb 11 13:56:38 1994 +0000
+++ b/src/s/netbsd.h	Fri Feb 11 17:32:57 1994 +0000
@@ -30,3 +30,16 @@
 #define BSD4_2
 
 #define TERMCAP_NAME "/usr/share/misc/termcap"
+
+#define SYSV_SYSTEM_DIR
+
+/* These definitions should work for either dynamic or static linking,
+   whichever is the default for `cc -nostdlib'.  */
+#define BROKEN_START
+#define TEXT_START ({ extern void start() asm ("start"); &start; })
+#define START_FILES pre-crt0.o /usr/lib/crt0.o
+#define UNEXEC	unexsunos4.o
+#define RUN_TIME_REMAP
+#define N_PAGSIZ(x) __LDPGSZ
+#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
+#define N_TRELOFF(x) N_RELOFF(x)