comparison src/s/netbsd.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 6b37e6ddd302
children 85ec50267440
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
34 34
35 #define LIBS_DEBUG 35 #define LIBS_DEBUG
36 /* -lutil is not needed for NetBSD >0.9. */ 36 /* -lutil is not needed for NetBSD >0.9. */
37 /* #define LIBS_SYSTEM -lutil */ 37 /* #define LIBS_SYSTEM -lutil */
38 /* XEmacs change */ 38 /* XEmacs change */
39 #define LIBS_TERMCAP -ltermcap 39 #define LIBS_TERMCAP "-ltermcap"
40 40
41 #define NEED_ERRNO 41 #define NEED_ERRNO
42 42
43 #define GETPGRP_NO_ARG 43 #define GETPGRP_NO_ARG
44 44
47 /* These definitions should work for either dynamic or static linking, 47 /* These definitions should work for either dynamic or static linking,
48 whichever is the default for `cc -nostdlib'. */ 48 whichever is the default for `cc -nostdlib'. */
49 /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk 49 /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk
50 ask for no shared libs if you have 0.9 */ 50 ask for no shared libs if you have 0.9 */
51 /* mrb -- ORDINARY_LINK works just fine... */ 51 /* mrb -- ORDINARY_LINK works just fine... */
52 #define LD_SWITCH_SYSTEM -e start 52 #define LD_SWITCH_SYSTEM "-e start"
53 #define START_FILES pre-crt0.o /usr/lib/crt0.o 53 #define START_FILES "pre-crt0.o /usr/lib/crt0.o"
54 #define RUN_TIME_REMAP 54 #define RUN_TIME_REMAP
55 #else 55 #else
56 #define START_FILES crt0.o 56 #define START_FILES "crt0.o"
57 57
58 #endif /* not NO_SHARED_LIBS */ 58 #endif /* not NO_SHARED_LIBS */
59 #endif /* 0 */ 59 #endif /* 0 */
60 60
61 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ 61 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
62 #define ORDINARY_LINK 62 #define ORDINARY_LINK
63 #define UNEXEC unexfreebsd.o /* ironic, considering history of unexfreebsd */ 63 #define UNEXEC "unexfreebsd.o" /* ironic, considering history of unexfreebsd */
64 64
65 #if 0 65 #if 0
66 /* Try to make this work for both 0.9 and >0.9. */ 66 /* Try to make this work for both 0.9 and >0.9. */
67 #define N_PAGSIZ(x) __LDPGSZ 67 #define N_PAGSIZ(x) __LDPGSZ
68 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) 68 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))