Blame SOURCES/0001-Pass-target-to-gold-linker-to-avoid-faliures-on-i686.patch

4fb979
From f0762684457a883b6813b48c98a1e94e377bc06b Mon Sep 17 00:00:00 2001
4fb979
From: Tom Stellard <tstellar@redhat.com>
4fb979
Date: Wed, 28 Aug 2019 19:31:21 -0700
4fb979
Subject: [PATCH] Pass target to gold linker to avoid faliures on i686
4fb979
4fb979
---
4fb979
 llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll | 4 ++--
4fb979
 1 file changed, 2 insertions(+), 2 deletions(-)
4fb979
4fb979
diff --git a/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll b/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll
4fb979
index 525bf2d..01291bd 100644
4fb979
--- a/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll
4fb979
+++ b/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll
4fb979
@@ -3,7 +3,7 @@
4fb979
 
4fb979
 ; RUN: opt -module-summary %s -o %t.o
4fb979
 ; RUN: opt -module-summary %p/Inputs/linkonce_odr_unnamed_addr.ll -o %t2.o
4fb979
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
4fb979
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
4fb979
 ; RUN:    --plugin-opt=save-temps \
4fb979
 ; RUN:    %t.o %t2.o -o %t3.o
4fb979
 ; RUN: llvm-dis %t.o.1.promote.bc -o - | FileCheck %s
4fb979
@@ -11,7 +11,7 @@
4fb979
 ; Now test when one module is a native object. In that case we must be
4fb979
 ; conservative and not auto hide.
4fb979
 ; RUN: llc %p/Inputs/linkonce_odr_unnamed_addr.ll -o %t2native.o -filetype=obj
4fb979
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
4fb979
+; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
4fb979
 ; RUN:    --plugin-opt=save-temps \
4fb979
 ; RUN:    %t.o %t2native.o -o %t3.o
4fb979
 ; RUN: llvm-dis %t.o.1.promote.bc -o - | FileCheck %s --check-prefix=NOSUMMARY
4fb979
-- 
4fb979
1.8.3.1
4fb979