summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/elf/undef-from-main-dso.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/lld/test/elf/undef-from-main-dso.test b/lld/test/elf/undef-from-main-dso.test
index 3a3a47ff0d8..ff2093ecc4d 100644
--- a/lld/test/elf/undef-from-main-dso.test
+++ b/lld/test/elf/undef-from-main-dso.test
@@ -1,7 +1,9 @@
-RUN: lld -flavor gnu -e main -o %t -L%p/Inputs %p/Inputs/undef.o -lundef
+RUN: lld -flavor gnu -target x86_64 -e main -o %t -L%p/Inputs \
+RUN: %p/Inputs/undef.o -lundef
RUN: llvm-readobj -relocations -symbols %t | FileCheck %s
-RUN: lld -flavor gnu -e main -o %t -L%p/Inputs %p/Inputs/undef-pc32.o -lundef
+RUN: lld -flavor gnu -target x86_64 -e main -o %t -L%p/Inputs \
+RUN: %p/Inputs/undef-pc32.o -lundef
RUN: llvm-readobj -relocations -symbols %t | FileCheck %s
# DSO source code:
OpenPOWER on IntegriCloud