Fix failures in the GOLD testsuite when run on systems that have been built with annobin.
* 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.
This commit is contained in:
parent
b3eaec43b9
commit
afbc6db00e
@ -1,3 +1,13 @@
|
||||
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.
|
||||
|
@ -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
|
||||
|| strcmp(name, ".gcc_except_table") == 0)
|
||||
return CB_IGNORE;
|
||||
return CB_ERROR;
|
||||
|
@ -40,4 +40,4 @@ check()
|
||||
|
||||
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...."
|
||||
|
@ -38,5 +38,6 @@ check()
|
||||
|
||||
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 "
|
||||
|
Loading…
Reference in New Issue
Block a user