summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-05-26 13:22:03 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-05-26 13:22:03 +0000
commitc872f0f77d3f539c95695dba6dc62c2cdb7c5c6c (patch)
tree17eea49b41e6d073e8d092d79d52bc82eeda532d /bfd
parentdbddfab4ceeb9e94d131a888c17428695358c715 (diff)
downloadgdb-c872f0f77d3f539c95695dba6dc62c2cdb7c5c6c.tar.gz
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')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf64-x86-64.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 82ac7f62d58..a567fcff208 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2011-05-26 Alan Modra <amodra@gmail.com>
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Remove most of comment.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index ae175e14626..5cbaff87047 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;