[ELF][test] Add another -triple=x86_64 to linkorder-mixed.s
authorFangrui Song <i@maskray.me>
Thu, 6 Aug 2020 00:00:16 +0000 (17:00 -0700)
committerFangrui Song <i@maskray.me>
Thu, 6 Aug 2020 00:00:37 +0000 (17:00 -0700)
Fixes an error on macOS:
error: mach-o section specifier uses an unknown section type

lld/test/ELF/linkorder-mixed.s

index 6cba046..8298534 100644 (file)
@@ -15,7 +15,7 @@
 # CHECK-NEXT:   [[#%x,ADDR:]] 01020003
 
 ## TODO Allow non-contiguous SHF_LINK_ORDER sections in an output section.
-# RUN: llvm-mc --filetype=obj --defsym EXTRA=1 %s -o %t.o
+# RUN: llvm-mc --filetype=obj -triple=x86_64 --defsym EXTRA=1 %s -o %t.o
 # RUN: not ld.lld %t.o -o /dev/null
 
 .section .text,"ax",@progbits,unique,0