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

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