aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/tlspic1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlspic1.s')
-rw-r--r--ld/testsuite/ld-x86-64/tlspic1.s32
1 files changed, 24 insertions, 8 deletions
diff --git a/ld/testsuite/ld-x86-64/tlspic1.s b/ld/testsuite/ld-x86-64/tlspic1.s
index 64ffc3f..5e26f26 100644
--- a/ld/testsuite/ld-x86-64/tlspic1.s
+++ b/ld/testsuite/ld-x86-64/tlspic1.s
@@ -41,52 +41,68 @@ fn1:
nop;nop;nop;nop
/* GD */
- .long 0x66666666
+ .byte 0x66
leaq sg1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD -> IE because variable is referenced through IE too */
- .long 0x66666666
+ .byte 0x66
leaq sg2@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD against local variable */
- .long 0x66666666
+ .byte 0x66
leaq sl1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD -> IE against local variable referenced through IE too */
- .long 0x66666666
+ .byte 0x66
leaq sl2@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD against hidden and local variable */
- .long 0x66666666
+ .byte 0x66
leaq sh1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD -> IE against hidden and local variable referenced through
IE too */
- .long 0x66666666
+ .byte 0x66
leaq sh2@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD against hidden but not local variable */
- .long 0x66666666
+ .byte 0x66
leaq sH1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD -> IE against hidden but not local variable referenced through
IE too */
- .long 0x66666666
+ .byte 0x66
leaq sH2@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop