comparison src/s/netbsd.h @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents 2d532a89d707
children 1d62742628b6
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
17 17
18 #undef KERNEL_FILE 18 #undef KERNEL_FILE
19 #undef LDAV_SYMBOL 19 #undef LDAV_SYMBOL
20 #define HAVE_GETLOADAVG 20 #define HAVE_GETLOADAVG
21 21
22 /* #define SIGNALS_VIA_CHARACTERS */ /* mrb */
23
24 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 22 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
25 23
26 /* netbsd uses OXTABS instead of the expected TAB3. */ 24 /* netbsd uses OXTABS instead of the expected TAB3. */
27 #define TABDLY OXTABS 25 #define TABDLY OXTABS
28 #define TAB3 OXTABS 26 #define TAB3 OXTABS
29 27
30 #define A_TEXT_OFFSET(x) (sizeof (struct exec)) 28 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
31 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) 29 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
32
33 /* #define NO_TERMIO */ /* mrb */
34 30
35 #define LIBS_DEBUG 31 #define LIBS_DEBUG
36 /* -lutil is not needed for NetBSD >0.9. */ 32 /* -lutil is not needed for NetBSD >0.9. */
37 /* #define LIBS_SYSTEM -lutil */ 33 /* #define LIBS_SYSTEM -lutil */
38 /* XEmacs change */ 34 /* XEmacs change */
42 38
43 #if 0 /* mrb */ 39 #if 0 /* mrb */
44 #ifndef NO_SHARED_LIBS 40 #ifndef NO_SHARED_LIBS
45 /* These definitions should work for either dynamic or static linking, 41 /* These definitions should work for either dynamic or static linking,
46 whichever is the default for `cc -nostdlib'. */ 42 whichever is the default for `cc -nostdlib'. */
47 /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk 43 /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk
48 ask for no shared libs if you have 0.9 */ 44 ask for no shared libs if you have 0.9 */
49 /* mrb -- ORDINARY_LINK works just fine... */ 45 /* mrb -- ORDINARY_LINK works just fine... */
50 #define LD_SWITCH_SYSTEM "-e start" 46 #define LD_SWITCH_SYSTEM "-e start"
51 #define START_FILES "pre-crt0.o /usr/lib/crt0.o" 47 #define START_FILES "pre-crt0.o /usr/lib/crt0.o"
52 #define RUN_TIME_REMAP 48 #define RUN_TIME_REMAP