aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland McGrath1994-02-11 17:32:57 +0000
committerRoland McGrath1994-02-11 17:32:57 +0000
commit6c9364e19617f8dced854caf1a814c7d832c83ee (patch)
tree005486da56c836a5919cc8b32d20562fe191748e /src
parent6bc2039852dbd2d5b49ecc2638a13ea7c201394b (diff)
downloademacs-6c9364e19617f8dced854caf1a814c7d832c83ee.tar.gz
emacs-6c9364e19617f8dced854caf1a814c7d832c83ee.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/s/netbsd.h13
1 files changed, 13 insertions, 0 deletions
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 @@
30#define BSD4_2 30#define BSD4_2
31 31
32#define TERMCAP_NAME "/usr/share/misc/termcap" 32#define TERMCAP_NAME "/usr/share/misc/termcap"
33
34#define SYSV_SYSTEM_DIR
35
36/* These definitions should work for either dynamic or static linking,
37 whichever is the default for `cc -nostdlib'. */
38#define BROKEN_START
39#define TEXT_START ({ extern void start() asm ("start"); &start; })
40#define START_FILES pre-crt0.o /usr/lib/crt0.o
41#define UNEXEC unexsunos4.o
42#define RUN_TIME_REMAP
43#define N_PAGSIZ(x) __LDPGSZ
44#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
45#define N_TRELOFF(x) N_RELOFF(x)