aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-04-24 00:00:41 +0000
committerStu Grossman <grossman@cygnus>1993-04-24 00:00:41 +0000
commit9a5e3a9ac5770ec5d4147b7ed46c7fd80fd0b176 (patch)
treee2e8a40e0669a855cd6a4f3564eb6438b9d35d69
parent66a1aa071ea2f7868b29a6c1e81febb12c88c12c (diff)
downloadgdb-9a5e3a9ac5770ec5d4147b7ed46c7fd80fd0b176.zip
gdb-9a5e3a9ac5770ec5d4147b7ed46c7fd80fd0b176.tar.gz
gdb-9a5e3a9ac5770ec5d4147b7ed46c7fd80fd0b176.tar.bz2
* 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.
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/hosts/hppabsd.h2
-rw-r--r--bfd/hppa.c4
3 files changed, 12 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b7974c8..18f8f21 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 4491136..8c9ef11 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 cbab316..113a1e3 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 */