aboutsummaryrefslogtreecommitdiff
path: root/bfd/pdp11.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-09-02 11:47:42 +0000
committerAlan Modra <amodra@gmail.com>2002-09-02 11:47:42 +0000
commit250d94fd4b15ec8846f60f531fad5d504932d9fa (patch)
treed743a03ee231266aec3ce81d6d4119b0a59b6dba /bfd/pdp11.c
parentbf5be082272973203c27f84790607e947c9a2ce0 (diff)
downloadgdb-250d94fd4b15ec8846f60f531fad5d504932d9fa.zip
gdb-250d94fd4b15ec8846f60f531fad5d504932d9fa.tar.gz
gdb-250d94fd4b15ec8846f60f531fad5d504932d9fa.tar.bz2
* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
bfd_mach constants. (ecoff_get_magic): Likewise. * elf32-v850.c (v850_elf_object_p): Likewise. (v850_elf_final_write_processing): Likewise. * mipsbsd.c (MY(set_arch_mach)): Likewise. (MY(write_object_contents)): Likewise. * coff64-rs6000.c (xcoff64_write_object_contents): Likewise. * coffcode.h (coff_write_object_contents): Likewise. (coff_set_arch_mach_hook): Add comment describing machine == 0. Remove unnecessary "machine" assignments. (coff_write_relocs): Test for the absolute section sym by testing section and flags. * pdp11.c (NAME(aout,machine_type)): Like aoutx.h.
Diffstat (limited to 'bfd/pdp11.c')
-rw-r--r--bfd/pdp11.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index cb47f78..f751436 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -955,7 +955,10 @@ NAME(aout,machine_type) (arch, machine, unknown)
break;
case bfd_arch_i386:
- if (machine == 0) arch_flags = M_386;
+ if (machine == 0
+ || machine == bfd_mach_i386_i386
+ || machine == bfd_mach_i386_i386_intel_syntax)
+ arch_flags = M_386;
break;
case bfd_arch_a29k: