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

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