From 6c9364e19617f8dced854caf1a814c7d832c83ee Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 11 Feb 1994 17:32:57 +0000 Subject: [PATCH] (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. --- src/s/netbsd.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/s/netbsd.h b/src/s/netbsd.h index ae7ea39cdcc..c9466933e04 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h @@ -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) -- 2.39.5