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

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