aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-09-02 05:58:55 +0000
committerAlan Modra <amodra@gmail.com>2002-09-02 05:58:55 +0000
commit3b77b1d509b421e8485bb7da8f19f953675f73d4 (patch)
tree9f965562f62d15eb880f3aea93c547dfe2944d61
parenteb9dca9498a676325073c6945236ed807719dd99 (diff)
downloadgdb-3b77b1d509b421e8485bb7da8f19f953675f73d4.zip
gdb-3b77b1d509b421e8485bb7da8f19f953675f73d4.tar.gz
gdb-3b77b1d509b421e8485bb7da8f19f953675f73d4.tar.bz2
* aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
and bfd_mach_i386_i386_intel_syntax.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/aoutx.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5fb4b61..f8a0a9f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-02 Alan Modra <amodra@bigpond.net.au>
+
+ * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
+ and bfd_mach_i386_i386_intel_syntax.
+
2002-08-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
* bfd-in.h (align_power): Cast constants to bfd_vma type.
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index fffb6d9..7fa334a 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -757,7 +757,9 @@ NAME(aout,machine_type) (arch, machine, unknown)
break;
case bfd_arch_i386:
- if (machine == 0)
+ if (machine == 0
+ || machine == bfd_mach_i386_i386
+ || machine == bfd_mach_i386_i386_intel_syntax)
arch_flags = M_386;
break;