This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch ARM] Allow R_ARM_TLS_LE32 in PIE Executables.


> Ok to commit ? Tested in a cross-configuration with arm-linux-gnueabi with
> no regressions.

Ping .

Ramana
>
> cheers
> Ramana
>
> 2011-06-16 ?Ramana Radhakrishnan ?<ramana.radhakrishnan@linaro.org>
>
> ? ? ? ?* elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32
> ? ? ? ?for PIE.
> ---
> ?bfd/elf32-arm.c | ? ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
> index b0f315b..257f7a5 100644
> --- a/bfd/elf32-arm.c
> +++ b/bfd/elf32-arm.c
> @@ -9454,7 +9454,7 @@ elf32_arm_final_link_relocate (reloc_howto_type
> * ? ? ? ? ? howto,
> ? ? ? }
>
> ? ? case R_ARM_TLS_LE32:
> - ? ? ?if (info->shared)
> + ? ? ?if (info->shared && !info->pie)
> ? ? ? ?{
> ? ? ? ? ?(*_bfd_error_handler)
> ? ? ? ? ? ?(_("%B(%A+0x%lx): R_ARM_TLS_LE32 relocation not permitted in
> shared object"),
> --
> 1.7.4.1
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]