Support TLS x32 GD->IE, GD->LE and LD->LE transitions.
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 12 Mar 2011 14:38:31 +0000 (14:38 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 12 Mar 2011 14:38:31 +0000 (14:38 +0000)
commit52bc799a91cd19a56cb59a9ecd29c0f63153c302
tree9758117f87054ed61dcb91856653af377acef75d
parentdbc6760729c24524100f30592d0c0df31b2b41c8
Support TLS x32 GD->IE, GD->LE and LD->LE transitions.

bfd/

2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
x32 GD->IE and GD->LE transitions.
(elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE
and LD->LE transitions.

ld/testsuite/

2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>

* ld-x86-64/tlsgd4.dd: New.
* ld-x86-64/tlsgd4.s: Likewise.
* ld-x86-64/tlsgd5.dd: Likewise.
* ld-x86-64/tlsgd5a.s: Likewise.
* ld-x86-64/tlsgd5b.s: Likewise.
* ld-x86-64/tlsgd6.dd: Likewise.
* ld-x86-64/tlsgd6a.s: Likewise.
* ld-x86-64/tlsgd6b.s: Likewise.
* ld-x86-64/tlsld2.dd: Likewise.
* ld-x86-64/tlsld2.s: Likewise.

* ld-x86-64/x86-64.exp (x86_64tests): Add tlsgd4, libtlsgd5.so,
tlsgd5, libtlsgd6.so, tlsgd6 and tlsld2.
14 files changed:
bfd/ChangeLog
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/tlsgd4.dd [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd4.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd5.dd [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd5a.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd5b.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd6.dd [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd6a.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd6b.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsld2.dd [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsld2.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp