summaryrefslogtreecommitdiff
path: root/test/ELF/i386-gotoff-shared.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/i386-gotoff-shared.s')
-rw-r--r--test/ELF/i386-gotoff-shared.s23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/ELF/i386-gotoff-shared.s b/test/ELF/i386-gotoff-shared.s
deleted file mode 100644
index c22bd6dd5d78..000000000000
--- a/test/ELF/i386-gotoff-shared.s
+++ /dev/null
@@ -1,23 +0,0 @@
-// REQUIRES: x86
-// RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o
-// RUN: ld.lld --hash-style=sysv %t.o -o %t.so -shared
-// RUN: llvm-readobj -s %t.so | FileCheck %s
-// RUN: llvm-objdump -d %t.so | FileCheck --check-prefix=DISASM %s
-
-bar:
- movl bar@GOTOFF(%ebx), %eax
- mov bar@GOT, %eax
-
-// CHECK: Name: .got
-// CHECK-NEXT: Type: SHT_PROGBITS
-// CHECK-NEXT: Flags [
-// CHECK-NEXT: SHF_ALLOC
-// CHECK-NEXT: SHF_WRITE
-// CHECK-NEXT: ]
-// CHECK-NEXT: Address: 0x2050
-// CHECK-NEXT: Offset: 0x2050
-// CHECK-NEXT: Size: 4
-
-// 0x1000 - (0x2050 + 4) = -4180
-
-// DISASM: 1000: {{.*}} movl -4180(%ebx), %eax