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

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