$NetBSD: patch-ay,v 1.1.1.1 2003/04/11 00:31:45 uebayasi Exp $ --- src/m/pmax.h.orig Sun Sep 7 01:23:09 1997 +++ src/m/pmax.h Fri Feb 18 18:45:03 2000 @@ -30,9 +30,8 @@ #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 @@ #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