mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 03:24:41 +08:00
Use renamed ARM cpu flag bits
This commit is contained in:
parent
a74ffb029e
commit
948221a8bd
@ -1,3 +1,9 @@
|
||||
Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com>
|
||||
* coff-arm.c (_bfd_coff_arm_set_private_flags): Changed
|
||||
F_PIC_INT to F_PIC.
|
||||
* coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and
|
||||
F_ARM_3M labels. Changed F_PIC_INT to F_PIC.
|
||||
|
||||
1999-05-16 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* coff-mcore.c (in_reloc_p): Reinstate.
|
||||
|
@ -2189,7 +2189,7 @@ _bfd_coff_arm_set_private_flags (abfd, flags)
|
||||
if (APCS_SET (abfd)
|
||||
&& ( (APCS_26_FLAG (abfd) != flag)
|
||||
|| (APCS_FLOAT_FLAG (abfd) != (flags & F_APCS_FLOAT))
|
||||
|| (PIC_FLAG (abfd) != (flags & F_PIC_INT ? F_PIC : 0))
|
||||
|| (PIC_FLAG (abfd) != (flags & F_PIC))
|
||||
))
|
||||
return false;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user