[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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Green 2017-08-25 16:14:56 +00:00
parent f29303de23
commit 6e7a4adfcf

View 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