diff --git a/lld/test/ELF/relocation-none-aarch64.s b/lld/test/ELF/relocation-none-aarch64.s index e3265cf53ee3..7783c127cf86 100644 --- a/lld/test/ELF/relocation-none-aarch64.s +++ b/lld/test/ELF/relocation-none-aarch64.s @@ -1,3 +1,5 @@ +# REQUIRES: aarch64 + # RUN: llvm-mc -filetype=obj -triple=aarch64-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-arm.s b/lld/test/ELF/relocation-none-arm.s index 9ca2b3801dc6..dc4eaa7b0b8d 100644 --- a/lld/test/ELF/relocation-none-arm.s +++ b/lld/test/ELF/relocation-none-arm.s @@ -1,3 +1,5 @@ +# REQUIRES: arm + # RUN: llvm-mc -filetype=obj -triple=armv7-linux-musl %s -o %t.o # RUN: ld.lld --gc-sections %t.o -o %t # RUN: llvm-readelf -S -r %t | FileCheck %s