aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/tls-weak-undef.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/tls-weak-undef.s')
-rw-r--r--test/ELF/tls-weak-undef.s17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/ELF/tls-weak-undef.s b/test/ELF/tls-weak-undef.s
deleted file mode 100644
index 1023aebbc258..000000000000
--- a/test/ELF/tls-weak-undef.s
+++ /dev/null
@@ -1,17 +0,0 @@
-// REQUIRES: x86
-// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
-// RUN: ld.lld %t.o -o %t --gc-sections
-
-// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux \
-// RUN: %p/Inputs/tls-in-archive.s -o %t1.o
-// RUN: rm -f %t.a
-// RUN: llvm-ar cru %t.a %t1.o
-// RUN: ld.lld %t.o %t.a -o %t
-
-// Check that lld doesn't crash because we don't reference
-// the TLS phdr when it's not created.
- .globl _start
-_start:
- movq foo@gottpoff(%rip), %rax
- .section .tbss,"awT",@nobits
- .weak foo