[ELF][test] Add REQUIES: x86 and -triple=x86_64 to linkorder-mixed.s
authorFangrui Song <i@maskray.me>
Wed, 5 Aug 2020 23:28:44 +0000 (16:28 -0700)
committerFangrui Song <i@maskray.me>
Wed, 5 Aug 2020 23:28:44 +0000 (16:28 -0700)
lld/test/ELF/linkorder-mixed.s

index 37f1f64..6cba046 100644 (file)
@@ -1,6 +1,7 @@
+# REQUIRES: x86
 ## Test that we allow SHF_LINK_ORDER sections with sh_link=0.
 ## SHF_LINK_ORDER sections with sh_link!=0 are ordered before others.
-# RUN: llvm-mc -filetype=obj %s -o %t.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
 # RUN: ld.lld %t.o -o %t
 # RUN: llvm-readelf -S -x .linkorder %t | FileCheck %s