Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/test/MC/ELF/relocation.s
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bar:
movl bar, %edx # R_X86_64_32S
movq bar, %rdx # R_X86_64_32S
.long bar # R_X86_64_32
leaq foo@GOTTPOFF(%rip), %rax # R_X86_64_GOTTPOFF
movq foo@GOTTPOFF(%rip), %rax # R_X86_64_GOTTPOFF
movq foo@GOTTPOFF(%rip), %r31 # R_X86_64_CODE_4_GOTTPOFF
addq foo@GOTTPOFF(%rip), %r31 # R_X86_64_CODE_4_GOTTPOFF
# NDD
Expand Down
17 changes: 9 additions & 8 deletions llvm/test/MC/ELF/tls.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

// Test that all symbols are of type STT_TLS.

leaq foo1@TLSGD(%rip), %rdi
leaq foo2@GOTTPOFF(%rip), %rdi
leaq foo3@TLSLD(%rip), %rdi
.long foo4@GOTTPOFF
.long foo5@TLSLD
.long foo6@TLSGD
.section .zed,"awT",@progbits
leaq foo1@TLSGD(%rip), %rdi
movq foo2@GOTTPOFF(%rip), %rdi
leaq foo3@TLSLD(%rip), %rdi

.long foo4@GOTTPOFF
.long foo5@TLSLD
.long foo6@TLSGD
.section .zed,"awT",@progbits
foobar:
.long 43
.long 43

// CHECK: Symbol {
// CHECK: Name: foobar
Expand Down