aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2006-03-18 14:52:40 +0000
committerEli Zaretskii2006-03-18 14:52:40 +0000
commitc3f5c8258a47e48a17f0c0026a1c2c5e27ec7361 (patch)
tree38330210d9ef925f1d8dafe63f17ca38afa43176 /src
parent73372e83a8f6eeff7da62bcae84726e52e87db42 (diff)
downloademacs-c3f5c8258a47e48a17f0c0026a1c2c5e27ec7361.tar.gz
emacs-c3f5c8258a47e48a17f0c0026a1c2c5e27ec7361.zip
(BROKEN_NOCOMBRELOC) [__NetBSD__]: Define.
(LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define. (START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]: Don't redefine.
Diffstat (limited to 'src')
-rw-r--r--src/m/pmax.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/m/pmax.h b/src/m/pmax.h
index 911f84d3c8a..c83c514ab98 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -13,8 +13,12 @@ NOTE-END */
13#ifndef __MIPSEB__ 13#ifndef __MIPSEB__
14#undef WORDS_BIG_ENDIAN 14#undef WORDS_BIG_ENDIAN
15#endif 15#endif
16#if defined (__NetBSD__)
17#define BROKEN_NOCOMBRELOC
18#else
16#undef LIB_STANDARD 19#undef LIB_STANDARD
17#undef START_FILES 20#undef START_FILES
21#endif
18#undef COFF 22#undef COFF
19#undef TERMINFO 23#undef TERMINFO
20#define MAIL_USE_FLOCK 24#define MAIL_USE_FLOCK
@@ -24,18 +28,12 @@ NOTE-END */
24#ifdef MACH 28#ifdef MACH
25#define START_FILES pre-crt0.o /usr/lib/crt0.o 29#define START_FILES pre-crt0.o /usr/lib/crt0.o
26#else 30#else
31#if !defined (__NetBSD__)
27/* This line starts being needed with ultrix 4.0. */ 32/* This line starts being needed with ultrix 4.0. */
28/* You must delete it for version 3.1. */ 33/* You must delete it for version 3.1. */
29#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o 34#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
30#endif 35#endif
31 36#endif
32#if defined (__NetBSD__) || defined (__OpenBSD__)
33#undef START_FILES
34#define START_FILES pre-crt0.o /usr/lib/crt0.o
35#undef RUN_TIME_REMAP
36#undef UNEXEC
37#define UNEXEC unexelf.o
38#endif /* NetBSD || OpenBSD */
39 37
40/* Supposedly the following will overcome a kernel bug. */ 38/* Supposedly the following will overcome a kernel bug. */
41#undef LD_SWITCH_MACHINE 39#undef LD_SWITCH_MACHINE