diff options
-rw-r--r-- | lld/test/ELF/relocation-none-aarch64.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/relocation-none-arm.s | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lld/test/ELF/relocation-none-aarch64.s b/lld/test/ELF/relocation-none-aarch64.s index e3265cf53ee..7783c127cf8 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 9ca2b3801dc..dc4eaa7b0b8 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 |