aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/x86-64-reloc-range.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/x86-64-reloc-range.s')
-rw-r--r--test/ELF/x86-64-reloc-range.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ELF/x86-64-reloc-range.s b/test/ELF/x86-64-reloc-range.s
index 2913458ab5cb..c58a692821ec 100644
--- a/test/ELF/x86-64-reloc-range.s
+++ b/test/ELF/x86-64-reloc-range.s
@@ -1,5 +1,6 @@
+// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -triple x86_64-pc-linux -filetype=obj
-// RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s
+// RUN: not ld.lld %t.o -o /dev/null -shared 2>&1 | FileCheck %s
// CHECK: {{.*}}:(.text+0x3): relocation R_X86_64_PC32 out of range: 2147483648 is not in [-2147483648, 2147483647]
// CHECK-NOT: relocation