diff options
author | Jakub Jelinek <jakub@redhat.com> | 2002-10-01 09:15:34 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2002-10-01 09:15:34 +0000 |
commit | abcf1d5247efcdfec46b9a0b5a268fdf65b3fdb0 (patch) | |
tree | 53b7f25c1889243b3a6caa4288389fadbaef7fce /ld/testsuite/ld-x86-64/tlspic1.s | |
parent | a45bb67df201470589b4adc8b50190bdbec903cb (diff) | |
download | gdb-abcf1d5247efcdfec46b9a0b5a268fdf65b3fdb0.zip gdb-abcf1d5247efcdfec46b9a0b5a268fdf65b3fdb0.tar.gz gdb-abcf1d5247efcdfec46b9a0b5a268fdf65b3fdb0.tar.bz2 |
bfd/
* elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD
sequence and its transitions.
ld/testsuite/
* ld-x86-64/tlspic1.s: Change TLSGD sequences.
* ld-x86-64/tlsbinpic.s: Likewise.
* ld-x86-64/tlspic.dd: Adjust.
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlspic1.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/tlspic1.s | 32 |
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 |