$FabBSD$ --- src/unexalpha.c.orig Tue Apr 14 19:47:34 2009 +++ src/unexalpha.c Tue Apr 14 19:48:29 2009 @@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_STRING_H #include #endif -#if !defined (__NetBSD__) && !defined (__OpenBSD__) +#if !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined(__FabBSD__) #include #include #include @@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */ # include # include #endif -#else /* __NetBSD__ or __OpenBSD__ */ +#else /* __NetBSD__ or __OpenBSD__ or __FabBSD__ */ /* * NetBSD/Alpha does not have 'normal' user-land ECOFF support because * there's no desire to support ECOFF as the executable format in the @@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */ #define HDRR struct ecoff_symhdr #define pHDRR HDRR * #define cbHDRR sizeof(HDRR) -#ifdef __OpenBSD__ +#if defined(__OpenBSD__) || defined(__FabBSD__) #define ALPHAMAGIC ECOFF_MAGIC_NATIVE_ALPHA #else #define ALPHAMAGIC ECOFF_MAGIC_NETBSD_ALPHA @@ -79,7 +79,7 @@ Boston, MA 02111-1307, USA. */ #define _RDATA ".rdata" #define _SDATA ".sdata" #define _SBSS ".sbss" -#endif /* __NetBSD__ || __OpenBSD__ */ +#endif /* __NetBSD__ || __OpenBSD__ || __FabBSD__ */ static void fatal_unexec __P ((char *, char *)); static void mark_x __P ((char *)); @@ -434,7 +434,7 @@ update_dynamic_symbols (old, new_name, new, aout) int new; /* File descriptor for new executable */ struct aouthdr aout; /* a.out info from the file header */ { -#if !defined (__linux__) && !defined (__NetBSD__) && !defined (__OpenBSD__) +#if !defined (__linux__) && !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined(__FabBSD__) typedef struct dynrel_info { char * addr; @@ -504,7 +504,7 @@ update_dynamic_symbols (old, new_name, new, aout) } -#endif /* not __linux__ and not __NetBSD__ and not __OpenBSD__ */ +#endif /* not __linux__ and not __NetBSD__ and not __OpenBSD__ and not __FabBSD__ */ }