# HG changeset patch # User Richard M. Stallman # Date 797205302 0 # Node ID 8c38245f7be48e7ac3e12d82a091c3548108c845 # Parent a78e341e8061a68bb6cd6075286798c354334800 Treat __NetBSD__ like __FreeBSD__. diff -r a78e341e8061 -r 8c38245f7be4 src/unexsunos4.c --- a/src/unexsunos4.c Thu Apr 06 21:53:21 1995 +0000 +++ b/src/unexsunos4.c Thu Apr 06 21:55:02 1995 +0000 @@ -56,7 +56,7 @@ #include #endif -#if defined (SUNOS4) || defined (__FreeBSD__) +#if defined (SUNOS4) || defined (__FreeBSD__) || defined (__NetBSD__) #define UNDO_RELOCATION #endif @@ -235,7 +235,7 @@ #endif /* sparc */ #define REL_TARGET_ADDRESS(r) (((REL_INFO_TYPE *)(r))->r_address) #endif /* SUNOS4 */ -#ifdef __FreeBSD__ +#if defined (__FreeBSD__) || defined (__NetBSD__) extern struct _dynamic _DYNAMIC; /* FreeBSD's LD_REL is a virtual address itself. */