From 49daa38f31404d4f4d94d7654248b62183ec9c15 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 1 Feb 2021 09:56:48 +1030 Subject: [PATCH] Re: ld: Add a test for PR ld/27259 * testsuite/ld-elf/pr27259.d: Correct sh_link match. --- ld/ChangeLog | 4 ++++ ld/testsuite/ld-elf/pr27259.d | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index a2f2f88fb64..a55ba1fd802 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-02-01 Alan Modra + + * testsuite/ld-elf/pr27259.d: Correct sh_link match. + 2021-01-29 Alan Modra * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test. diff --git a/ld/testsuite/ld-elf/pr27259.d b/ld/testsuite/ld-elf/pr27259.d index 1cb6a871848..01772947cb4 100644 --- a/ld/testsuite/ld-elf/pr27259.d +++ b/ld/testsuite/ld-elf/pr27259.d @@ -3,5 +3,5 @@ #readelf: -SW #... - +\[ *[0-9]+\] \.stack_sizes +PROGBITS +0+ +[0-9a-f]+ 0+1 +00 +L +[0-9] .* + +\[ *[0-9]+\] \.stack_sizes +PROGBITS +0+ +[0-9a-f]+ 0+1 +00 +L +[0-9]+ .* #pass -- 2.30.2