summaryrefslogtreecommitdiff
path: root/test/ELF/no-inhibit-exec.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/no-inhibit-exec.s')
-rw-r--r--test/ELF/no-inhibit-exec.s19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/ELF/no-inhibit-exec.s b/test/ELF/no-inhibit-exec.s
deleted file mode 100644
index 1535f6e7b87e..000000000000
--- a/test/ELF/no-inhibit-exec.s
+++ /dev/null
@@ -1,19 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: not ld.lld %t -o %t2
-# RUN: ld.lld %t --noinhibit-exec -o %t2
-# RUN: llvm-objdump -d %t2 | FileCheck %s
-# RUN: llvm-readobj -r %t2 | FileCheck %s --check-prefix=RELOC
-
-# CHECK: Disassembly of section .text:
-# CHECK-NEXT: _start
-# CHECK-NEXT: 201000: {{.*}} callq -2101253
-
-# RELOC: Relocations [
-# RELOC-NEXT: ]
-
-# next code will not link without noinhibit-exec flag
-# because of undefined symbol _bar
-.globl _start
-_start:
- call _bar