mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
dd1093aa2c
* ld-i386/i386.exp (i386tests): Add a test for TLS IE->LE transition. Run tlsie2, tlsie3, tlsie4 and tlsie5. * ld-i386/tlsie1.dd: New file. * ld-i386/tlsie1.s: Likewise. * ld-i386/tlsie2.d: Likewise. * ld-i386/tlsie2.s: Likewise. * ld-i386/tlsie3.d: Likewise. * ld-i386/tlsie3.s: Likewise. * ld-i386/tlsie4.d: Likewise. * ld-i386/tlsie4.s: Likewise. * ld-i386/tlsie5.d: Likewise. * ld-i386/tlsie5.s: Likewise. * ld-x86-64/tlsgd2.d: Likewise. * ld-x86-64/tlsgd2.s: Likewise. * ld-x86-64/tlsgd3.d: Likewise. * ld-x86-64/tlsgd3.s: Likewise. * ld-x86-64/tlsie1.dd: Likewise. * ld-x86-64/tlsie1.s: Likewise. * ld-x86-64/tlsie2.d: Likewise. * ld-x86-64/tlsie2.s: Likewise. * ld-x86-64/tlsie3.d: Likewise. * ld-x86-64/tlsie3.s: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add a test for TLS LD->LE transition. Run tlsgd2, tlsgd3, tlsie2 and tlsie3.
17 lines
455 B
Plaintext
17 lines
455 B
Plaintext
#source: tlsie1.s
|
|
#as: --64
|
|
#ld: -melf_x86_64 tmpdir/tlsie1
|
|
#objdump: -drw
|
|
#target: x86_64-*-linux*
|
|
|
|
.*: +file format .*
|
|
|
|
Disassembly of section .text:
|
|
|
|
[a-f0-9]+ <_start>:
|
|
[ ]*[a-f0-9]+: 48 c7 c0 fc ff ff ff mov \$0xfffffffffffffffc,%rax
|
|
[ ]*[a-f0-9]+: 48 8d 80 fc ff ff ff lea -0x4\(%rax\),%rax
|
|
[ ]*[a-f0-9]+: 49 c7 c4 fc ff ff ff mov \$0xfffffffffffffffc,%r12
|
|
[ ]*[a-f0-9]+: 49 81 c4 fc ff ff ff add \$0xfffffffffffffffc,%r12
|
|
#pass
|