Mercurial > emacs
changeset 69562:ca4e0ee2a8f8
(BROKEN_NOCOMBRELOC) [__NetBSD__]: Define.
(LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define.
(START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]:
Don't redefine.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 18 Mar 2006 14:52:40 +0000 |
parents | 496d2fcbae73 |
children | e5352a2d20bc |
files | src/m/pmax.h |
diffstat | 1 files changed, 6 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/m/pmax.h Sat Mar 18 14:52:19 2006 +0000 +++ b/src/m/pmax.h Sat Mar 18 14:52:40 2006 +0000 @@ -13,8 +13,12 @@ #ifndef __MIPSEB__ #undef WORDS_BIG_ENDIAN #endif +#if defined (__NetBSD__) +#define BROKEN_NOCOMBRELOC +#else #undef LIB_STANDARD #undef START_FILES +#endif #undef COFF #undef TERMINFO #define MAIL_USE_FLOCK @@ -24,18 +28,12 @@ #ifdef MACH #define START_FILES pre-crt0.o /usr/lib/crt0.o #else +#if !defined (__NetBSD__) /* This line starts being needed with ultrix 4.0. */ /* You must delete it for version 3.1. */ #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o #endif - -#if defined (__NetBSD__) || defined (__OpenBSD__) -#undef START_FILES -#define START_FILES pre-crt0.o /usr/lib/crt0.o -#undef RUN_TIME_REMAP -#undef UNEXEC -#define UNEXEC unexelf.o -#endif /* NetBSD || OpenBSD */ +#endif /* Supposedly the following will overcome a kernel bug. */ #undef LD_SWITCH_MACHINE