summaryrefslogtreecommitdiffstats
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-05-26 13:22:04 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-05-26 13:22:04 +0000
commit6769d5017ff78562047c02b1efbe8743c9368800 (patch)
treed86b4112e87b5a72c43da6cf3dd665fd4738b93a /bfd/elf64-x86-64.c
parent59d70315fb5373d4c924b118c4f2d0d7e0e99e7d (diff)
downloadppe42-binutils-6769d5017ff78562047c02b1efbe8743c9368800.tar.gz
ppe42-binutils-6769d5017ff78562047c02b1efbe8743c9368800.zip
Handle R_X86_64_TPOFF64 in executable.
bfd/ 2011-05-26 H.J. Lu <hongjiu.lu@intel.com> PR ld/12809 * elf64-x86-64.c (elf_x86_64_relocate_section): Handle R_X86_64_TPOFF64 in executable. ld/testsuite/ 2011-05-26 H.J. Lu <hongjiu.lu@intel.com> PR ld/12809 * ld-x86-64/tlsbin.s: Add a test for LE with large model. * ld-x86-64/tlsbin.dd: Updated. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlsbin.sd: Likewise. * ld-x86-64/tlsbin.td: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsbindesc.sd: Likewise. * ld-x86-64/tlsbindesc.td: Likewise.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index ae175e1462..5cbaff8704 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -3863,6 +3863,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
break;
case R_X86_64_TPOFF32:
+ case R_X86_64_TPOFF64:
BFD_ASSERT (info->executable);
relocation = elf_x86_64_tpoff (info, relocation);
break;
OpenPOWER on IntegriCloud