+2020-07-06 Nick Clifton <nickc@redhat.com>
+
+ * target-reloc.h (Default_comdat_behaviour:get): Ignore discarded
+ relocs that refer to the .gnu.build.attributes section.
+ * testsuite/script_test_7.sh: Adjust expected address of the .bss
+ section.
+ * testsuite/script_test_9.sh: Do not expect the .init section to
+ immediately follow the .text section in the mapping of sections to
+ segments.
+
2020-07-06 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
if (Layout::is_debug_info_section(name))
return CB_PRETEND;
if (strcmp(name, ".eh_frame") == 0
+ || strncmp(name, ".gnu.build.attributes", 21) == 0
|| strcmp(name, ".gcc_except_table") == 0)
return CB_IGNORE;
return CB_ERROR;
check script_test_7.stdout "\\.interp[ ]*PROGBITS[ ]*0*10000100"
check script_test_7.stdout "\\.data[ ]*PROGBITS[ ]*0*10200000"
-check script_test_7.stdout "\\.bss[ ]*NOBITS[ ]*0*10400..."
+check script_test_7.stdout "\\.bss[ ]*NOBITS[ ]*0*1040...."
check script_test_9.stdout "LOAD .*R E "
check script_test_9.stdout "LOAD .*RW "
-check script_test_9.stdout "00 .*\.text .init"
+check script_test_9.stdout "00 .*\.text"
+check script_test_9.stdout "00 .*\.init"
check script_test_9.stdout "01 .*\.data "