aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/tlsbinpic.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlsbinpic.s')
-rw-r--r--ld/testsuite/ld-x86-64/tlsbinpic.s20
1 files changed, 15 insertions, 5 deletions
diff --git a/ld/testsuite/ld-x86-64/tlsbinpic.s b/ld/testsuite/ld-x86-64/tlsbinpic.s
index 0f5765a..2819a8f 100644
--- a/ld/testsuite/ld-x86-64/tlsbinpic.s
+++ b/ld/testsuite/ld-x86-64/tlsbinpic.s
@@ -40,33 +40,43 @@ fn2:
movq %rsp, %rbp
/* GD -> IE because variable is not defined in executable */
- .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 not defined in executable where
the 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 -> LE with global variable defined in executable */
- .long 0x66666666
+ .byte 0x66
leaq sg1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD -> LE with local variable defined in executable */
- .long 0x66666666
+ .byte 0x66
leaq sl1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop
/* GD -> LE with hidden variable defined in executable */
- .long 0x66666666
+ .byte 0x66
leaq sh1@tlsgd(%rip), %rdi
+ .word 0x6666
+ rex64
call __tls_get_addr@plt
nop;nop;nop;nop