Blame SOURCES/binutils-gold-llvm-plugin.patch

13ae24
--- binutils.orig/gold/resolve.cc	2018-03-22 16:52:11.746513638 +0000
13ae24
+++ binutils-2.30/gold/resolve.cc	2018-03-22 16:53:58.038192419 +0000
13ae24
@@ -265,10 +265,13 @@ Symbol_table::resolve(Sized_symbol<size>
13ae24
     return;
13ae24
 
13ae24
   // Likewise for an absolute symbol defined twice with the same value.
13ae24
+  // Plugin-symbols are always absolute with same value here, so ignore those.
13ae24
   if (!is_ordinary
13ae24
       && st_shndx == elfcpp::SHN_ABS
13ae24
       && !to_is_ordinary
13ae24
       && to_shndx == elfcpp::SHN_ABS
13ae24
+      && object->pluginobj() == NULL
13ae24
+      && to->object()->pluginobj() == NULL
13ae24
       && to->value() == sym.get_st_value())
13ae24
     return;
13ae24