aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-01 19:28:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-01 19:28:53 +0000
commitf6fcc0826211f0bd394b0f743f69afa03323fbe8 (patch)
tree5ec4d23ee3de0438445f57fece866efcc0c0343b
parent56607c4e134f5477966395ad03e4f18905c6a1f7 (diff)
downloadgdb-f6fcc0826211f0bd394b0f743f69afa03323fbe8.zip
gdb-f6fcc0826211f0bd394b0f743f69afa03323fbe8.tar.gz
gdb-f6fcc0826211f0bd394b0f743f69afa03323fbe8.tar.bz2
* libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
is an SCO pre-define.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/netbsd386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8be38d7..fc028d5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 1 14:23:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
+ is an SCO pre-define.
+
Tue Aug 31 12:50:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* nlmcode.h (nlm_object_p): Set HAS_SYMS if there are external
diff --git a/bfd/netbsd386.c b/bfd/netbsd386.c
index 0cf5193..7a42700 100644
--- a/bfd/netbsd386.c
+++ b/bfd/netbsd386.c
@@ -30,7 +30,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SEGMENT_SIZE PAGE_SIZE
#define DEFAULT_ARCH bfd_arch_i386
-#define MACHTYPE_OK(mtype) ((mtype) == M_386 || (mtype) == M_I386 || (mtype) == M_UNKNOWN)
+#define MACHTYPE_OK(mtype) ((mtype) == M_386 || (mtype) == M_386_NETBSD || (mtype) == M_UNKNOWN)
#define MY(OP) CAT(netbsd386_,OP)
/* This needs to start with a.out so GDB knows it is an a.out variant. */