comparison src/s/netbsd.h @ 452:3d3049ae1304 r21-2-41

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