blob: e5cd3390365506074208a8d3de36f412e71fdaf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-bf,v 1.4 1999/12/28 14:09:17 tron Exp $
--- src/s/netbsd.h.orig Sat Apr 11 11:15:19 1998
+++ src/s/netbsd.h Fri Jun 4 09:41:33 1999
@@ -57,7 +57,7 @@
#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
#define N_TRELOFF(x) N_RELOFF(x)
#endif
-#endif /* not NO_SHARED_LIBS */
+#endif /* not NO_SHARED_LIBS and not ELF */
#define HAVE_WAIT_HEADER
#define WAIT_USE_INT
@@ -71,6 +71,10 @@
says where to find X windows at run time. We convert it to a -rpath option
which is what OSF1 uses. */
#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
+
+#define HAVE_TEXT_START /* No need to define `start_of_text'. */
+#define UNEXEC unexelf.c
+#define ORDINARY_LINK
#endif /* __ELF__ */
/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears
|