summaryrefslogtreecommitdiff
path: root/test/ELF/x86-64-reloc-tpoff32-fpic.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/x86-64-reloc-tpoff32-fpic.s')
-rw-r--r--test/ELF/x86-64-reloc-tpoff32-fpic.s14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/ELF/x86-64-reloc-tpoff32-fpic.s b/test/ELF/x86-64-reloc-tpoff32-fpic.s
deleted file mode 100644
index edb04c1d4487b..0000000000000
--- a/test/ELF/x86-64-reloc-tpoff32-fpic.s
+++ /dev/null
@@ -1,14 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
-# RUN: not ld.lld %t.o -shared -o /dev/null 2>&1 | FileCheck %s
-
-# CHECK: relocation R_X86_64_TPOFF32 cannot be used against symbol var; recompile with -fPIC
-# CHECK: >>> defined in {{.*}}.o
-# CHECK: >>> referenced by {{.*}}.o:(.tdata+0xC)
-
-.section ".tdata", "awT", @progbits
-.globl var
-var:
-
-movq %fs:0, %rax
-leaq var@TPOFF(%rax),%rax