diff options
author | Nick Clifton <nickc@redhat.com> | 1997-05-15 21:32:35 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-05-15 21:32:35 +0000 |
commit | 4c4badea812b0ebf1cb9b3068eeb4d3185690dfb (patch) | |
tree | e5cd81498b71a610cfb9a87c1e29b85919303224 /bfd/coffcode.h | |
parent | 031dfce06fa5164421b22e48c00f623e00f57faf (diff) | |
download | gdb-4c4badea812b0ebf1cb9b3068eeb4d3185690dfb.zip gdb-4c4badea812b0ebf1cb9b3068eeb4d3185690dfb.tar.gz gdb-4c4badea812b0ebf1cb9b3068eeb4d3185690dfb.tar.bz2 |
Added support to LD to select the architecture of an ARM COFF output file
based on the architecture of the first input file.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index c46c03a..941be95 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -1970,7 +1970,8 @@ coff_set_flags (abfd, magicp, flagsp) #ifdef ARMMAGIC case bfd_arch_arm: * magicp = ARMMAGIC; - if (coff_data (abfd)->flags & F_APCS_26) + * flagsp = 0; + if (APCS_SET (abfd) && APCS_FLAG (abfd)) * flagsp = F_APCS26; switch (bfd_get_mach (abfd)) { |