Fix R_ARM_THM_CALL relocations against undefined weak symbols in shared libraries

Nick Clifton nickc@redhat.com
Tue Nov 25 08:19:00 GMT 2008


Hi Joseph,

> bfd:
> 2008-11-24  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn
> 	branches to undefine weak symbols into branches to the next
> 	instruction if creating PLT entries for those symbols.
> 
> ld/testsuite:
> 2008-11-24  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New.
> 	* ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list