summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/ELF/relocation-none-i386.s2
-rw-r--r--lld/test/ELF/relocation-none-x86-64.s2
2 files changed, 4 insertions, 0 deletions
diff --git a/lld/test/ELF/relocation-none-i386.s b/lld/test/ELF/relocation-none-i386.s
index 812150772f4..4174dc1ec38 100644
--- a/lld/test/ELF/relocation-none-i386.s
+++ b/lld/test/ELF/relocation-none-i386.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
# RUN: llvm-mc -filetype=obj -triple=i386-linux-musl %s -o %t.o
# RUN: ld.lld --gc-sections %t.o -o %t
# RUN: llvm-readelf -S -r %t | FileCheck %s
diff --git a/lld/test/ELF/relocation-none-x86-64.s b/lld/test/ELF/relocation-none-x86-64.s
index 8e477a4606d..be6b07c3f50 100644
--- a/lld/test/ELF/relocation-none-x86-64.s
+++ b/lld/test/ELF/relocation-none-x86-64.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
# RUN: llvm-mc -filetype=obj -triple=x86_64-linux-musl %s -o %t.o
# RUN: ld.lld --gc-sections %t.o -o %t
# RUN: llvm-readelf -S -r %t | FileCheck %s
OpenPOWER on IntegriCloud