From: Nick Clifton Date: Wed, 8 Jul 2020 10:08:05 +0000 (+0100) Subject: Commit: Fix GOLD testsuite failures for 2.35 branch. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7f987e8378830b181ce27359ca8bf115018db07;p=binutils-gdb.git Commit: Fix GOLD testsuite failures for 2.35 branch. * 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. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index a81fe42f865..f7520ba3cdc 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,11 @@ +2020-07-08 Nick Clifton + + * 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-07 Nick Clifton * target-reloc.h: (Default_comdat_behaviour:get): Ignore discarded diff --git a/gold/testsuite/script_test_7.sh b/gold/testsuite/script_test_7.sh index adddf6c34b1..091875e384a 100755 --- a/gold/testsuite/script_test_7.sh +++ b/gold/testsuite/script_test_7.sh @@ -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...." diff --git a/gold/testsuite/script_test_9.sh b/gold/testsuite/script_test_9.sh index 3dcd3c49f3c..da75b65c93a 100755 --- a/gold/testsuite/script_test_9.sh +++ b/gold/testsuite/script_test_9.sh @@ -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 "