diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-03-03 22:11:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-03-03 22:11:30 +0000 |
commit | 4b336726739e2383c985545087ebd794168c3f2e (patch) | |
tree | b2d2d0ca257056842c19aecf2879ff3ca7b363d4 /ld/testsuite/ld-x86-64/tlsie4.dd | |
parent | da767db46220148636928c8ef6c9b0621b21e86a (diff) | |
download | binutils-redhat-4b336726739e2383c985545087ebd794168c3f2e.tar.gz |
Supprt TLS x32 IE->LE transition.
bfd/
2011-03-03 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
x32 IE->LE transition.
(elf_x86_64_relocate_section): Likewise.
ld/testsuite/
2011-03-03 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/tlsie4.dd: New.
* ld-x86-64/tlsie4.s: Likewise.
* ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4.
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlsie4.dd')
-rw-r--r-- | ld/testsuite/ld-x86-64/tlsie4.dd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/tlsie4.dd b/ld/testsuite/ld-x86-64/tlsie4.dd new file mode 100644 index 0000000000..d52e337a79 --- /dev/null +++ b/ld/testsuite/ld-x86-64/tlsie4.dd @@ -0,0 +1,18 @@ +#source: tlsie4.s +#as: --x32 +#ld: -melf32_x86_64 tmpdir/tlsie4 +#objdump: -drw +#target: x86_64-*-linux* + +.*: +file format .* + +Disassembly of section .text: + +[a-f0-9]+ <_start>: +[ ]*[a-f0-9]+: c7 c0 fc ff ff ff mov \$0xfffffffc,%eax +[ ]*[a-f0-9]+: 8d 80 fc ff ff ff lea -0x4\(%rax\),%eax +[ ]*[a-f0-9]+: 41 c7 c0 fc ff ff ff mov \$0xfffffffc,%r8d +[ ]*[a-f0-9]+: 45 8d 80 fc ff ff ff lea -0x4\(%r8\),%r8d +[ ]*[a-f0-9]+: 41 c7 c4 fc ff ff ff mov \$0xfffffffc,%r12d +[ ]*[a-f0-9]+: 41 81 c4 fc ff ff ff add \$0xfffffffc,%r12d +#pass |