Mercurial > hg > xemacs-beta
comparison src/s/netbsd.h @ 155:43dd3413c7c7 r20-3b4
Import from CVS: tag r20-3b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:39:39 +0200 |
parents | 59463afc5666 |
children | 6b37e6ddd302 |
comparison
equal
deleted
inserted
replaced
154:94141801dd7e | 155:43dd3413c7c7 |
---|---|
2 | 2 |
3 /* s/ file for netbsd system. */ | 3 /* s/ file for netbsd system. */ |
4 | 4 |
5 /* Get most of the stuff from bsd4.3 */ | 5 /* Get most of the stuff from bsd4.3 */ |
6 #include "bsd4-3.h" | 6 #include "bsd4-3.h" |
7 | |
8 /* limits that lisp.h might have to guess otherwise */ | |
9 #include <limits.h> | |
10 #undef BSD | |
11 | |
12 #ifndef NOT_C_CODE | |
13 #include <sys/param.h> | |
14 #include <sys/exec.h> | |
15 #endif /* C_CODE */ | |
7 | 16 |
8 /* For mem-limits.h. */ | 17 /* For mem-limits.h. */ |
9 #define BSD4_2 | 18 #define BSD4_2 |
10 | 19 |
11 #undef KERNEL_FILE | 20 #undef KERNEL_FILE |
33 | 42 |
34 #define NEED_ERRNO | 43 #define NEED_ERRNO |
35 | 44 |
36 #define GETPGRP_NO_ARG | 45 #define GETPGRP_NO_ARG |
37 | 46 |
47 #if 0 | |
38 #ifndef NO_SHARED_LIBS | 48 #ifndef NO_SHARED_LIBS |
39 /* These definitions should work for either dynamic or static linking, | 49 /* These definitions should work for either dynamic or static linking, |
40 whichever is the default for `cc -nostdlib'. */ | 50 whichever is the default for `cc -nostdlib'. */ |
41 /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk | 51 /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk |
42 ask for no shared libs if you have 0.9 */ | 52 ask for no shared libs if you have 0.9 */ |
43 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ | 53 /* mrb -- ORDINARY_LINK works just fine... */ |
44 #define LD_SWITCH_SYSTEM -e start | 54 #define LD_SWITCH_SYSTEM -e start |
45 #define START_FILES pre-crt0.o /usr/lib/crt0.o | 55 #define START_FILES pre-crt0.o /usr/lib/crt0.o |
56 #define RUN_TIME_REMAP | |
57 #else | |
58 #define START_FILES crt0.o | |
59 | |
60 #endif /* not NO_SHARED_LIBS */ | |
61 #endif /* 0 */ | |
62 | |
63 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ | |
64 #define ORDINARY_LINK | |
46 #define UNEXEC unexfreebsd.o /* ironic, considering history of unexfreebsd */ | 65 #define UNEXEC unexfreebsd.o /* ironic, considering history of unexfreebsd */ |
47 #define RUN_TIME_REMAP | |
48 | 66 |
67 #if 0 | |
49 /* Try to make this work for both 0.9 and >0.9. */ | 68 /* Try to make this work for both 0.9 and >0.9. */ |
50 #define N_PAGSIZ(x) __LDPGSZ | 69 #define N_PAGSIZ(x) __LDPGSZ |
51 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) | 70 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) |
52 /* #define N_TRELOFF(x) N_RELOFF(x) */ | 71 /* #define N_TRELOFF(x) N_RELOFF(x) */ |
53 /* the 1.0 way.. */ | 72 /* the 1.0 way.. */ |
73 #endif /* 0 */ | |
74 | |
54 #define N_RELOFF(x) N_TRELOFF(x) | 75 #define N_RELOFF(x) N_TRELOFF(x) |
55 #else | |
56 #define START_FILES crt0.o | |
57 #endif /* not NO_SHARED_LIBS */ | |
58 | 76 |
59 #define NO_MATHERR | 77 #define NO_MATHERR |
60 | 78 |
61 #define AMPERSAND_FULL_NAME | 79 #define AMPERSAND_FULL_NAME |