From 6e7a4adfcff2b4965b99c78e7c5a53f5ce94ccda Mon Sep 17 00:00:00 2001 From: David Green Date: Fri, 25 Aug 2017 16:14:56 +0000 Subject: [PATCH] [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 --- test/tools/gold/X86/relocatable.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/gold/X86/relocatable.ll b/test/tools/gold/X86/relocatable.ll index 95303cd1415..20f18fc4124 100644 --- a/test/tools/gold/X86/relocatable.ll +++ b/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 -- 2.50.1