]> granicus.if.org Git - llvm/commitdiff
[gold] Fix up a new test to allow it to pass on non x86 builds.
authorDavid Green <david.green@arm.com>
Fri, 25 Aug 2017 16:14:56 +0000 (16:14 +0000)
committerDavid Green <david.green@arm.com>
Fri, 25 Aug 2017 16:14:56 +0000 (16:14 +0000)
Fix a test that is failing on a downstream ARM/AArch64
bootstrap. We just need add an elf_x86_64 parameter to
gold.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311780 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/gold/X86/relocatable.ll

index 95303cd14152dca9bc7521df10b6b71201dbe463..20f18fc41249a0344a0e1fe8e92b1f2dbcbe4fe1 100644 (file)
@@ -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