OSDN Git Service

bfd/
authorjakub <jakub>
Tue, 1 Oct 2002 09:10:44 +0000 (09:10 +0000)
committerjakub <jakub>
Tue, 1 Oct 2002 09:10:44 +0000 (09:10 +0000)
commit79701e9765f916ccd92320f9760607a2766b6f5e
tree37cfd7d8d06bf69cb2680ee1774f1a13d96dcc94
parent998947bfc9610fbb91ac36932d4a78809528467d
bfd/
* elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32
to st_value + addend in non-code sections.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve
R_X86_64_DTPOFF32 to st_value + addend in non-code sections.

ld/testsuite/
* ld-i386/i386.exp: Add tlsg test.
* ld-i386/tlsg.s: New test.
* ld-i386/tlsg.sd: New test.
* ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-i386/tlsbinpic.s: Likewise.
* ld-x86-64/x86-64.exp: Add tlsg test.
* ld-x86-64/tlsg.s: New test.
* ld-x86-64/tlsg.sd: New test.
* ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-x86-64/tlsbinpic.s: Likewise.
14 files changed:
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/tlsbin.dd
ld/testsuite/ld-i386/tlsbinpic.s
ld/testsuite/ld-i386/tlsg.s [new file with mode: 0644]
ld/testsuite/ld-i386/tlsg.sd [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsbin.dd
ld/testsuite/ld-x86-64/tlsbinpic.s
ld/testsuite/ld-x86-64/tlsg.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsg.sd [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp