summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/MC/X86/error-reloc.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/X86/error-reloc.s b/llvm/test/MC/X86/error-reloc.s
index 8dd93de4e76..647f764ff0d 100644
--- a/llvm/test/MC/X86/error-reloc.s
+++ b/llvm/test/MC/X86/error-reloc.s
@@ -1,4 +1,4 @@
-// RUN: not llvm-mc %s -o %t.o -filetype=obj 2>&1 | FileCheck %s
+// RUN: not llvm-mc -triple x86_64-pc-linux %s -o %t.o -filetype=obj 2>&1 | FileCheck %s
.quad foo@gotpcrel
// CHECK: 32 bit reloc applied to a field with a different size
OpenPOWER on IntegriCloud