aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-19 07:27:14 +0000
committerNick Clifton <nickc@redhat.com>1999-05-19 07:27:14 +0000
commit948221a8bd69c734e599d0cd9f0d7227b6bfdc02 (patch)
treeb83e61fc917807703ecb3d625bac852d0a2058b9 /bfd/coffcode.h
parenta74ffb029e42cab61745e28e9af2a6c658ccd2eb (diff)
downloadgdb-948221a8bd69c734e599d0cd9f0d7227b6bfdc02.zip
gdb-948221a8bd69c734e599d0cd9f0d7227b6bfdc02.tar.gz
gdb-948221a8bd69c734e599d0cd9f0d7227b6bfdc02.tar.bz2
Use renamed ARM cpu flag bits
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index bee6b66..bdd9769 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1419,11 +1419,13 @@ coff_set_arch_mach_hook (abfd, filehdr)
arch = bfd_arch_arm;
switch (internal_f->f_flags & F_ARM_ARCHITECTURE_MASK)
{
- case F_ARM_2: machine = bfd_mach_arm_2; break;
- case F_ARM_3: machine = bfd_mach_arm_3; break;
- default:
- case F_ARM_4: machine = bfd_mach_arm_4; break;
- case F_ARM_4T: machine = bfd_mach_arm_4T; break;
+ case F_ARM_2: machine = bfd_mach_arm_2; break;
+ case F_ARM_2a: machine = bfd_mach_arm_2a; break;
+ case F_ARM_3: machine = bfd_mach_arm_3; break;
+ default:
+ case F_ARM_3M: machine = bfd_mach_arm_3M; break;
+ case F_ARM_4: machine = bfd_mach_arm_4; break;
+ case F_ARM_4T: machine = bfd_mach_arm_4T; break;
}
break;
#endif
@@ -2050,7 +2052,7 @@ coff_set_flags (abfd, magicp, flagsp)
* flagsp |= F_APCS_FLOAT;
if (PIC_FLAG (abfd))
- * flagsp |= F_PIC_INT;
+ * flagsp |= F_PIC;
}
if (INTERWORK_SET (abfd) && INTERWORK_FLAG (abfd))
* flagsp |= F_INTERWORK;