Mercurial > emacs
comparison src/s/netbsd.h @ 88155:d7ddb3e565de
sync with trunk
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Mon, 16 Jan 2006 00:03:54 +0000 |
parents | 23a1cea22d13 |
children |
comparison
equal
deleted
inserted
replaced
88154:8ce476d3ba36 | 88155:d7ddb3e565de |
---|---|
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 and not ELF */ | 60 #endif /* not NO_SHARED_LIBS and not ELF */ |
61 | 61 |
62 #if !defined (NO_SHARED_LIBS) && defined (__ELF__) | 62 #if !defined (NO_SHARED_LIBS) && defined (__ELF__) |
63 #define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o | 63 #define START_FILES pre-crt0.o /usr/lib/crt0.o START_FILES_1 /usr/lib/crtbegin.o |
64 #define UNEXEC unexelf.o | 64 #define UNEXEC unexelf.o |
65 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o | 65 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o END_FILES_1 |
66 #undef LIB_GCC | 66 #undef LIB_GCC |
67 #define LIB_GCC | 67 #define LIB_GCC |
68 #endif | |
69 | |
70 #ifdef HAVE_CRTIN | |
71 #define START_FILES_1 /usr/lib/crti.o | |
72 #define END_FILES_1 /usr/lib/crtn.o | |
73 #else | |
74 #define START_FILES_1 | |
75 #define END_FILES_1 | |
68 #endif | 76 #endif |
69 | 77 |
70 #define HAVE_WAIT_HEADER | 78 #define HAVE_WAIT_HEADER |
71 #define WAIT_USE_INT | 79 #define WAIT_USE_INT |
72 | 80 |
83 image include and library files if using /usr/bin/gcc. That | 91 image include and library files if using /usr/bin/gcc. That |
84 compiler seems to be modified to not find headers in | 92 compiler seems to be modified to not find headers in |
85 /usr/local/include or libs in /usr/local/lib by default. */ | 93 /usr/local/include or libs in /usr/local/lib by default. */ |
86 | 94 |
87 #define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib | 95 #define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib |
96 | |
97 /* Link temacs with -z nocombreloc so that unexec works right, whether or | |
98 not -z combreloc is the default. GNU ld ignores unknown -z KEYWORD | |
99 switches, so this also works with older versions that don't implement | |
100 -z combreloc. */ | |
101 | |
102 #define LD_SWITCH_SYSTEM_TEMACS -Wl,-z,nocombreloc | |
88 | 103 |
89 #endif /* __ELF__ */ | 104 #endif /* __ELF__ */ |
90 | 105 |
91 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears | 106 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears |
92 the library search parth, i.e. it won't search /usr/lib | 107 the library search parth, i.e. it won't search /usr/lib |
121 | 136 |
122 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */ | 137 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */ |
123 | 138 |
124 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 139 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
125 | 140 |
141 /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81 | |
142 (do not change this comment) */ |