diff --git a/lld/test/elf/entry.objtxt b/lld/test/elf/entry.objtxt index 7fffdd88ef97..2172cc1cd948 100644 --- a/lld/test/elf/entry.objtxt +++ b/lld/test/elf/entry.objtxt @@ -8,7 +8,7 @@ # } # -# RUN: lld -flavor gnu %s -e _entrypoint --noinhibit-exec -o %t1 +# RUN: lld -flavor gnu -target x86_64 %s -e _entrypoint --noinhibit-exec -o %t1 # RUN: llvm-nm -n %t1 | FileCheck %s # # CHECK: 004001e0 T main diff --git a/lld/test/elf/reloc.test b/lld/test/elf/reloc.test index 9cafcf5ea83a..e75a7e935bb5 100644 --- a/lld/test/elf/reloc.test +++ b/lld/test/elf/reloc.test @@ -1,4 +1,5 @@ -RUN: lld -flavor gnu --merge-strings -r --output-filetype=yaml %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386 +RUN: lld -flavor gnu -target x86_64 --merge-strings -r --output-filetype=yaml \ +RUN: %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386 ELF-i386: defined-atoms: ELF-i386: - ref-name: [[STRNAMEA:[-a-zA-Z0-9_]+]]