From 9a5e3a9ac5770ec5d4147b7ed46c7fd80fd0b176 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Sat, 24 Apr 1993 00:00:41 +0000 Subject: [PATCH] * Merge in HPPA/BSD changes from Utah. * hppa.c: Use this for both HPUX & BSD. * targets.c: Enable hppa_vec for both HPUX & BSD. * config/hppabsd.mt: TDEFINES => TDEFAULTS. * hosts/hppabsd.h: #define HOST_HPPABSD. --- bfd/ChangeLog | 8 ++++++++ bfd/hosts/hppabsd.h | 2 ++ bfd/hppa.c | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b7974c8ee20..18f8f21abce 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Fri Apr 23 16:48:46 1993 Stu Grossman (grossman@cygnus.com) + + * Merge in HPPA/BSD changes from Utah. + * hppa.c: Use this for both HPUX & BSD. + * targets.c: Enable hppa_vec for both HPUX & BSD. + * config/hppabsd.mt: TDEFINES => TDEFAULTS. + * hosts/hppabsd.h: #define HOST_HPPABSD. + Wed Apr 21 01:50:10 1993 John Gilmore (gnu@cygnus.com) * libbfd.c: Whitespace changes around byteswap macros. diff --git a/bfd/hosts/hppabsd.h b/bfd/hosts/hppabsd.h index 44911367cfa..8c9ef116449 100644 --- a/bfd/hosts/hppabsd.h +++ b/bfd/hosts/hppabsd.h @@ -10,6 +10,8 @@ void *malloc(); void free(); +#define HOST_HPPABSD + #ifndef O_ACCMODE #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif diff --git a/bfd/hppa.c b/bfd/hppa.c index cbab3161032..113a1e38b86 100644 --- a/bfd/hppa.c +++ b/bfd/hppa.c @@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "bfd.h" #include "sysdep.h" -#ifdef HOST_HPPAHPUX +#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) #include "libbfd.h" #include "libhppa.h" @@ -694,4 +694,4 @@ _do_getb64, _do_getb_signed_64, _do_putb64, (PTR) 0 }; -#endif /* HOST_HPPAHPUX */ +#endif /* HOST_HPPAHPUX || HOST_HPPABSD */ -- 2.30.2