diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-03-31 14:27:33 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-03-31 14:27:33 +0000 |
commit | 3a4ae681237c26ac55603f3a92c92fd748108cd2 (patch) | |
tree | 42fbcf4536a772874cfd3f82b211c5dd24239ec2 /bfd/elf32-m68k.c | |
parent | 3685f77167d0317a0c7837fba24fedd2f38e96ee (diff) | |
download | gdb-3a4ae681237c26ac55603f3a92c92fd748108cd2.zip gdb-3a4ae681237c26ac55603f3a92c92fd748108cd2.tar.gz gdb-3a4ae681237c26ac55603f3a92c92fd748108cd2.tar.bz2 |
* elf32-m68k.c (elf_m68k_relocate_section): Allow
R_68K_TLS_LE{8,16,32} for PIE.
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r-- | bfd/elf32-m68k.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 " |