From 18975f447818efaf78b8272e17dcf93466dd3582 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 1 Mar 2000 12:50:01 +0000 Subject: [PATCH] (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: Don't define. (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. (LINKER): Don't undef if __NetBSD__ is defined. --- src/m/pmax.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/m/pmax.h b/src/m/pmax.h index 54216d9f3a5..7e9e977b314 100644 --- a/src/m/pmax.h +++ b/src/m/pmax.h @@ -30,9 +30,8 @@ NOTE-END */ #if defined (__NetBSD__) || defined (__OpenBSD__) #undef START_FILES #undef RUN_TIME_REMAP -#define START_FILES pre-crt0.o /usr/lib/crt0.o -#define CANNOT_DUMP #undef UNEXEC +#define UNEXEC unexelf.o #endif /* NetBSD || OpenBSD */ /* Supposedly the following will overcome a kernel bug. */ @@ -51,7 +50,9 @@ NOTE-END */ #endif /* Override what mips.h says about this. */ +#if !defined (__NetBSD__) #undef LINKER +#endif #ifdef ultrix /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK -- 2.39.5