From bd47fe1c2eb5a04ed5dcd5dc7a481743c9727666 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 26 Dec 2014 22:10:52 +1030 Subject: [PATCH] Update two sh64 ld test's expected output At some stage someone fixed a bug in ld -r output, preserving SHF_INFO_LINK from input objects. These two tests expected the old wrong output. * ld-sh/sh64/crangerel1.rd: Update. * ld-sh/sh64/crangerel2.rd: Update. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-sh/sh64/crangerel1.rd | 2 +- ld/testsuite/ld-sh/sh64/crangerel2.rd | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a8c5a79487b..6fc0318282b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-12-26 Alan Modra + + * ld-sh/sh64/crangerel1.rd: Update. + * ld-sh/sh64/crangerel2.rd: Update. + 2014-12-25 Thomas Preud'homme * ld-arm/attr-merge-2a.s: Add Tag_ABI_VFP_args. diff --git a/ld/testsuite/ld-sh/sh64/crangerel1.rd b/ld/testsuite/ld-sh/sh64/crangerel1.rd index 6f3b84bffd5..fe0924e0cf4 100644 --- a/ld/testsuite/ld-sh/sh64/crangerel1.rd +++ b/ld/testsuite/ld-sh/sh64/crangerel1.rd @@ -9,7 +9,7 @@ Section Headers: +\[ 4\] \.bss +NOBITS +00000000 00004c 000000 00 +WA +0 +0 +1 +\[ 5\] \.stack +PROGBITS +00000000 00004c 000004 00 +WA +0 +0 +1 +\[ 6\] \.cranges +PROGBITS +00000000 000050 00001e 00 +W +0 +0 +1 - +\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000024 0c +9 +6 +4 + +\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000024 0c +I +9 +6 +4 +\[ 8\] \.shstrtab +STRTAB +00000000 00006e 00004d 00 +0 +0 +1 +\[ 9\] \.symtab +SYMTAB .* +\[10\] \.strtab +STRTAB .* diff --git a/ld/testsuite/ld-sh/sh64/crangerel2.rd b/ld/testsuite/ld-sh/sh64/crangerel2.rd index f0df51bc59f..e343d3d547d 100644 --- a/ld/testsuite/ld-sh/sh64/crangerel2.rd +++ b/ld/testsuite/ld-sh/sh64/crangerel2.rd @@ -9,7 +9,7 @@ Section Headers: +\[ 4\] \.bss +NOBITS +00000000 000090 000000 00 +WA +0 +0 +1 +\[ 5\] \.stack +PROGBITS +00000000 000090 000004 00 +WA +0 +0 +1 +\[ 6\] \.cranges +PROGBITS +00000000 000094 000046 00 +W +0 +0 +1 - +\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000054 0c +9 +6 +4 + +\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000054 0c +I +9 +6 +4 +\[ 8\] \.shstrtab +STRTAB +00000000 0000da 00004d 00 +0 +0 +1 +\[ 9\] \.symtab +SYMTAB +00000000 [0-9a-f]+ [0-9a-f]+ 10 +10 +[0-9]+ +4 +\[10\] \.strtab +STRTAB +00000000 [0-9a-f]+ [0-9a-f]+ 00 +0 +0 +1 -- 2.30.2