From: Andreas Schwab Date: Sat, 31 Mar 2012 14:27:33 +0000 (+0000) Subject: * elf32-m68k.c (elf_m68k_relocate_section): Allow X-Git-Tag: sid-snapshot-20120401~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a4ae681237c26ac55603f3a92c92fd748108cd2;p=external%2Fbinutils.git * elf32-m68k.c (elf_m68k_relocate_section): Allow R_68K_TLS_LE{8,16,32} for PIE. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8bd12f2..384235e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-03-31 Andreas Schwab + + * elf32-m68k.c (elf_m68k_relocate_section): Allow + R_68K_TLS_LE{8,16,32} for PIE. + 2012-03-30 Andreas Krebbel * elf64-s390.c: Fix several comments regarding PLT entry diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c index 26cec39..91ae2df 100644 --- a/bfd/elf32-m68k.c +++ b/bfd/elf32-m68k.c @@ -3948,7 +3948,7 @@ elf_m68k_relocate_section (output_bfd, info, input_bfd, input_section, case R_68K_TLS_LE32: case R_68K_TLS_LE16: case R_68K_TLS_LE8: - if (info->shared) + if (info->shared && !info->pie) { (*_bfd_error_handler) (_("%B(%A+0x%lx): R_68K_TLS_LE32 relocation not permitted "