bfd/
PR ld/15685
* elf64-x86-64.c (elf_x86_64_relocate_section): Handle
R_X86_64_DTPOFF64.
ld/testsuite/
PR ld/15685
* ld-x86-64/tlsg.s: Add a test for R_X86_64_DTPOFF64.
* ld-x86-64/tlsg.sd: Updated.
+2013-06-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/15685
+ * elf64-x86-64.c (elf_x86_64_relocate_section): Handle
+ R_X86_64_DTPOFF64.
+
2013-06-28 Nick Clifton <nickc@redhat.com>
PR ld/15302
relocation = elf_x86_64_tpoff (info, relocation);
break;
+ case R_X86_64_DTPOFF64:
+ BFD_ASSERT ((input_section->flags & SEC_CODE) == 0);
+ relocation -= elf_x86_64_dtpoff_base (info);
+ break;
+
default:
break;
}
+2013-06-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/15685
+ * ld-x86-64/tlsg.s: Add a test for R_X86_64_DTPOFF64.
+ * ld-x86-64/tlsg.sd: Updated.
+
2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
* ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support.
_start:
.section .debug_foobar
.long a@dtpoff, 0
+ .quad a@dtpoff
.*: +file format elf64-x86-64.*
Contents of section .debug_foobar:
- 0+ 18000000 0+ +.*
+ 0+ 18000000 0+ +18000000 0+ +.*