[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/22868] Gold does not select proper symbol visibility when used
From: |
matz at suse dot de |
Subject: |
[Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin |
Date: |
Thu, 22 Mar 2018 16:49:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22868
--- Comment #4 from Michael Matz <matz at suse dot de> ---
FWIW, I'm using this patch in our binutils package:
----------------------------------------------
Fixes two testsuite fails in the gold plugin tests of LLVM.
Aka binutils/PR22868
Index: binutils-2.30/gold/resolve.cc
===================================================================
--- binutils-2.30.orig/gold/resolve.cc 2018-01-13 14:31:16.000000000 +0100
+++ binutils-2.30/gold/resolve.cc 2018-03-06 16:58:42.000000000 +0100
@@ -265,10 +265,13 @@ Symbol_table::resolve(Sized_symbol<size>
return;
// Likewise for an absolute symbol defined twice with the same value.
+ // plugin-symbols are always absolute with same value here, so ignore those
if (!is_ordinary
&& st_shndx == elfcpp::SHN_ABS
&& !to_is_ordinary
&& to_shndx == elfcpp::SHN_ABS
+ && object->pluginobj() == NULL
+ && to->object()->pluginobj() == NULL
&& to->value() == sym.get_st_value())
return;
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, matz at suse dot de, 2018/03/05
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, shea at shealevy dot com, 2018/03/19
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, ccoutant at gmail dot com, 2018/03/22
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin,
matz at suse dot de <=
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, ccoutant at gmail dot com, 2018/03/22
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, georgerim at gmail dot com, 2018/03/23
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, georgerim at gmail dot com, 2018/03/23
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, ccoutant at gmail dot com, 2018/03/23
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, nickc at redhat dot com, 2018/03/26
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, georgerim at gmail dot com, 2018/03/26
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, cvs-commit at gcc dot gnu.org, 2018/03/26
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, ccoutant at gmail dot com, 2018/03/26
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, cvs-commit at gcc dot gnu.org, 2018/03/28
- [Bug gold/22868] Gold does not select proper symbol visibility when used with LLVM gold-plugin, jeremip11 at gmail dot com, 2018/03/31