comparison src/s/netbsd.h @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 1d62742628b6
children
comparison
equal deleted inserted replaced
370:bd866891f083 371:cc15677e0335
52 #endif /* not NO_SHARED_LIBS */ 52 #endif /* not NO_SHARED_LIBS */
53 #endif /* 0 - mrb */ 53 #endif /* 0 - mrb */
54 54
55 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ 55 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
56 #define ORDINARY_LINK 56 #define ORDINARY_LINK
57
58 /* As of this writing (Netbsd 1.5 was just released), Netbsd is
59 converting from a.out to elf - x86 and Sparc are using ELF.
60 But we're clever and let the compiler tell us which one to use. */
61 #ifdef __ELF__
62 #define UNEXEC "unexelf.o"
63 #else
64 #define UNEXEC "unexfreebsd.o" /* ironic, considering history of unexfreebsd */ 57 #define UNEXEC "unexfreebsd.o" /* ironic, considering history of unexfreebsd */
65 #endif
66 58
67 #if 0 59 #if 0
68 /* Try to make this work for both 0.9 and >0.9. */ 60 /* Try to make this work for both 0.9 and >0.9. */
69 #define N_PAGSIZ(x) __LDPGSZ 61 #define N_PAGSIZ(x) __LDPGSZ
70 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) 62 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))