summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/elf/shndx.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/elf/shndx.test b/lld/test/elf/shndx.test
index 3958f1a7f2a..ddd8b1b23b6 100644
--- a/lld/test/elf/shndx.test
+++ b/lld/test/elf/shndx.test
@@ -2,7 +2,7 @@ Test that we can handle shndx. The test file has a shndx despite having only
a few sections. One might consider it invalid, but it has a clear interpretation
and avoids needing 65K sections to test the corresponding code path.
-RUN: lld -flavor gnu %p/Inputs/shndx.o-x86_64 -o %t.so -shared
+RUN: lld -target x86_64-pc-linux -flavor gnu %p/Inputs/shndx.o-x86_64 -o %t.so -shared
RUN: llvm-readobj -s -t %t.so | FileCheck %s
CHECK: Name: .text
OpenPOWER on IntegriCloud