[PATCH] ld/ARM: Fix IFUNC and TLS descriptors in the same shared object

Nicholas Clifton nickc@redhat.com
Mon Jun 9 16:29:00 GMT 2014


Hi Will,

> bfd/ChangeLog:
>
> 2014-05-21  Will Newton  <will.newton@linaro.org>
>
> 	* elf32-arm.c (elf32_arm_allocate_plt_entry): Increment
> 	htab->next_tls_desc_index in the non-IPLT case.
> 	Calculate GOT offset correctly for the non-IPLT case.
> 	(allocate_dynrelocs_for_symbol): Don't increment
> 	htab->next_tls_desc_index here.
>
> ld/testsuite/ChangeLog:
>
> 2014-05-21  Will Newton  <will.newton@linaro.org>
>
> 	* ld-arm/arm-elf.exp: Add ifunc-gdesc test.
> 	* ld-arm/ifunc-gdesc.r: New file.
> 	* ld-arm/ifunc-gdesc.s: Likewise.
> 	* ld-arm/ifunc-gdesc.ver: Likewise.

Approved - please apply.

Cheers
   Nick




More information about the Binutils mailing list