diff options
author | Ramana Radhakrishnan <ramana.r@gmail.com> | 2011-06-22 16:06:00 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana.r@gmail.com> | 2011-06-22 16:06:00 +0000 |
commit | 9ec0c9369070575764b746863bf9372f7cbf1d56 (patch) | |
tree | 3e4452793838e50770a3e6f5095b7014c1d214bc /bfd | |
parent | 1ee4023ae3e66cd79c2097ed214b8b0d33808708 (diff) | |
download | fsf-binutils-gdb-9ec0c9369070575764b746863bf9372f7cbf1d56.zip fsf-binutils-gdb-9ec0c9369070575764b746863bf9372f7cbf1d56.tar.gz fsf-binutils-gdb-9ec0c9369070575764b746863bf9372f7cbf1d56.tar.bz2 |
2011-06-22 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32
for PIE.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 48fe504..5084b7d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-06-22 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> + + * elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32 + for PIE. + 2011-06-22 Alan Modra <amodra@gmail.com> * elflink.c (_bfd_elf_merge_symbol): Allow type changes for 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"), |