blob: 08a1034743ad34f14c97d8f2e88e3905ad91e1ca (
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
25
26
27
28
29
30
|
$NetBSD: patch-xx,v 1.6 2005/03/22 15:39:05 wiz Exp $
--- src/s/netbsd.h.orig 2002-05-31 18:29:02.000000000 +0200
+++ src/s/netbsd.h
@@ -60,9 +60,17 @@
#endif /* not NO_SHARED_LIBS and not ELF */
#if !defined (NO_SHARED_LIBS) && defined (__ELF__)
+#if defined(HAVE_NETBSD_CRTI)
+#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o
+#else
#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
+#endif
#define UNEXEC unexelf.o
+#if defined(HAVE_NETBSD_CRTN)
+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
+#else
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
+#endif
#undef LIB_GCC
#define LIB_GCC
#endif
@@ -123,3 +131,7 @@
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
+/* Use sigprocmask(2) and friends instead of sigblock(2); the man page
+ of sigblock says it is obsolete. */
+
+#define POSIX_SIGNALS 1
|