Message ID | BANLkTi=W0shrwAEFiYcxZZYFVUEpVhhi8Q@mail.gmail.com |
---|---|
State | Accepted |
Headers | show |
> 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 >
Hi 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. Approved - please apply. Cheers Nick
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)