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

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