From a7f987e8378830b181ce27359ca8bf115018db07 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 8 Jul 2020 11:08:05 +0100 Subject: [PATCH] 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. --- gold/ChangeLog | 8 ++++++++ gold/testsuite/script_test_7.sh | 2 +- gold/testsuite/script_test_9.sh | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) 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 " -- 2.30.2