diff options
author | Roland McGrath <[email protected]> | 1994-02-11 17:32:57 +0000 |
---|---|---|
committer | Roland McGrath <[email protected]> | 1994-02-11 17:32:57 +0000 |
commit | 6c9364e19617f8dced854caf1a814c7d832c83ee (patch) | |
tree | 005486da56c836a5919cc8b32d20562fe191748e | |
parent | 6bc2039852dbd2d5b49ecc2638a13ea7c201394b (diff) |
(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.
-rw-r--r-- | src/s/netbsd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index ae7ea39cdc..c9466933e0 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) |