aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/netbsd.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 19938051f68..1adb58736c4 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -12,7 +12,7 @@
12 12
13#undef KERNEL_FILE 13#undef KERNEL_FILE
14#undef LDAV_SYMBOL 14#undef LDAV_SYMBOL
15#define HAVE_GETLOADAVG 15#define HAVE_GETLOADAVG 1
16 16
17#define HAVE_UNION_WAIT 17#define HAVE_UNION_WAIT
18 18
@@ -57,7 +57,15 @@
57#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) 57#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
58#define N_TRELOFF(x) N_RELOFF(x) 58#define N_TRELOFF(x) N_RELOFF(x)
59#endif 59#endif
60#endif /* not NO_SHARED_LIBS */ 60#endif /* not NO_SHARED_LIBS and not ELF */
61
62#if !defined (NO_SHARED_LIBS) && defined (__ELF__)
63#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
64#define UNEXEC unexelf.o
65#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
66#undef LIB_GCC
67#define LIB_GCC
68#endif
61 69
62#define HAVE_WAIT_HEADER 70#define HAVE_WAIT_HEADER
63#define WAIT_USE_INT 71#define WAIT_USE_INT