summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2017-08-25 16:14:56 +0000
committerDavid Green <david.green@arm.com>2017-08-25 16:14:56 +0000
commit6a2c17a63966197022ca25b1d12e25701cc6b64e (patch)
tree99505301db312d1242bcc431f314557a92c3100e
parentd9f1284009d506406ab2e81d6f04cb23a2205282 (diff)
downloadbcm5719-llvm-6a2c17a63966197022ca25b1d12e25701cc6b64e.tar.gz
bcm5719-llvm-6a2c17a63966197022ca25b1d12e25701cc6b64e.zip
[gold] Fix up a new test to allow it to pass on non x86 builds.
Fix a test that is failing on a downstream ARM/AArch64 bootstrap. We just need add an elf_x86_64 parameter to gold. llvm-svn: 311780
-rw-r--r--llvm/test/tools/gold/X86/relocatable.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/gold/X86/relocatable.ll b/llvm/test/tools/gold/X86/relocatable.ll
index 95303cd1415..20f18fc4124 100644
--- a/llvm/test/tools/gold/X86/relocatable.ll
+++ b/llvm/test/tools/gold/X86/relocatable.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as %s -o %t1.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
; RUN: -r %t1.o -o %t
; RUN: llvm-readobj -symbols %t | FileCheck %s
OpenPOWER on IntegriCloud