comparison src/s/netbsd.h @ 369:1d62742628b6 r21-1-14

Import from CVS: tag r21-1-14
author cvs
date Mon, 13 Aug 2007 11:01:51 +0200
parents c5d627a313b1
children cc15677e0335
comparison
equal deleted inserted replaced
368:397a7324211a 369:1d62742628b6
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
57 #define UNEXEC "unexfreebsd.o" /* ironic, considering history of unexfreebsd */ 64 #define UNEXEC "unexfreebsd.o" /* ironic, considering history of unexfreebsd */
65 #endif
58 66
59 #if 0 67 #if 0
60 /* 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. */
61 #define N_PAGSIZ(x) __LDPGSZ 69 #define N_PAGSIZ(x) __LDPGSZ
62 #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))