12 lines
631 B
Diff
12 lines
631 B
Diff
diff -rupN --no-dereference binutils-2.34/gold/target-reloc.h binutils-2.34-new/gold/target-reloc.h
|
|
--- binutils-2.34/gold/target-reloc.h 2020-01-18 14:55:48.000000000 +0100
|
|
+++ binutils-2.34-new/gold/target-reloc.h 2020-12-18 02:57:18.369041902 +0100
|
|
@@ -136,6 +136,7 @@ class Default_comdat_behavior
|
|
if (Layout::is_debug_info_section(name))
|
|
return CB_PRETEND;
|
|
if (strcmp(name, ".eh_frame") == 0
|
|
+ || strncmp(name, ".gnu.build.attributes", 21) == 0 // FIXME: We should really be checking the section type for ST_NOTE...
|
|
|| strcmp(name, ".gcc_except_table") == 0)
|
|
return CB_IGNORE;
|
|
return CB_ERROR;
|