diff options
author | Alan Modra <amodra@gmail.com> | 2021-02-01 09:56:48 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-02-01 18:35:33 +1030 |
commit | 49daa38f31404d4f4d94d7654248b62183ec9c15 (patch) | |
tree | fff0522e53722484ebf332d09d87921b12dbe67d | |
parent | 7bba67ec7ca86401a51c44e3fac15ff63a176b54 (diff) | |
download | gdb-49daa38f31404d4f4d94d7654248b62183ec9c15.zip gdb-49daa38f31404d4f4d94d7654248b62183ec9c15.tar.gz gdb-49daa38f31404d4f4d94d7654248b62183ec9c15.tar.bz2 |
Re: ld: Add a test for PR ld/27259
* testsuite/ld-elf/pr27259.d: Correct sh_link match.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr27259.d | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a2f2f88..a55ba1f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-02-01 Alan Modra <amodra@gmail.com> + + * testsuite/ld-elf/pr27259.d: Correct sh_link match. + 2021-01-29 Alan Modra <amodra@gmail.com> * 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 1cb6a87..0177294 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 |