Prevent the linker from generaing a seg-fault when the user attempts to link
authorNick Clifton <nickc@redhat.com>
Wed, 12 Mar 2014 13:12:37 +0000 (13:12 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 12 Mar 2014 13:12:37 +0000 (13:12 +0000)
commitc792917cdc10a5ada2f4f73ecb39c764756bf994
tree8430a35a33ef56024a56d157018854e7794e8e0a
parent8a1373cc51a55646633a9bedefbf722e5a3486ed
Prevent the linker from generaing a seg-fault when the user attempts to link
an ARM ELF binary into an AARCH64 ELF executable.

PR ld/16671
* elf32-arm.c (elf32_arm_add_symbol_hook): Check for ARM format
before testing for vxworks.
bfd/ChangeLog
bfd/elf32-arm.c