Blame SOURCES/binutils-gold-ignore-discarded-note-relocs.patch

869a11
--- binutils.orig/gold/target-reloc.h	2018-07-25 08:29:41.347174442 +0100
869a11
+++ binutils-2.30/gold/target-reloc.h	2018-07-25 08:30:47.390413706 +0100
869a11
@@ -136,6 +136,7 @@ class Default_comdat_behavior
869a11
     if (Layout::is_debug_info_section(name))
869a11
       return CB_PRETEND;
869a11
     if (strcmp(name, ".eh_frame") == 0
869a11
+	|| strncmp(name, ".gnu.build.attributes", 21) == 0 // FIXME: We should really be checking the section type for SHT_NOTE.
869a11
 	|| strcmp(name, ".gcc_except_table") == 0)
869a11
       return CB_IGNORE;
869a11
     return CB_WARNING;