2007-06-29 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 29 Jun 2007 15:05:47 +0000 (15:05 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 29 Jun 2007 15:05:47 +0000 (15:05 +0000)
commit5ab79981933708d465b91676baf6994996979da8
tree0a568768ea8df53fb6ba1afb1b055e99f1ca73aa
parent32e8a950c4e551038786bc4980dcb9fbfb8384b0
2007-06-29  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Suppress
call veneers for call relocations against undefined symbols.
(elf32_arm_final_link_relocate): Turn call to undefined symbol
into a jump to the next instruction.

ld/testuite/
* ld-arm/arm-elf.exp (armelftests): Add callweak.
* ld-arm/callweak.d: New test.
* ld-arm/callweak.s: New test.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp