From 1499719e6d7a556025b5c95956434f9047b8b83c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Oct 2023 15:05:15 +0100 Subject: [PATCH] Fix: ld: Test case pr28158 fails on x86_64-linux-musl when index is > 19 PR 30905 * testsuite/ld-elf/pr28158.rd: Adjust regexp to allow for section indicies larger than 9. --- ld/ChangeLog | 16 +++++++++++----- ld/testsuite/ld-elf/pr28158.rd | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4009d2c79e0..021a9f9b663 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,29 +1,35 @@ -2023-10-05 A. Wilcox w +2023-10-05 A. Wilcox + + PR 30905 + * testsuite/ld-elf/pr28158.rd: Adjust regexp to allow for section + indicies larger than 9. + +2023-10-05 A. Wilcox PR 30917 * testsuite/ld-elf/dt-relr.exp: Skip for MUSL targets. -2023-10-05 A. Wilcox w +2023-10-05 A. Wilcox PR 30918 * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail with the MUSL library. -2023-10-05 A. Wilcox w +2023-10-05 A. Wilcox PR 30923 * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations using the MUSL library. * testsuite/ld-arm/thumb-plt.d: Likewise. -2023-10-05 A. Wilcox w +2023-10-05 A. Wilcox PR 30925 PR 22001 * testsuite/ld-i386/i386.exp: Skip the pr22001 test with TEXTREL relocations enabled on configurations using the MUSL library. -2023-10-05 A. Wilcox w +2023-10-05 A. Wilcox PR 30924 * testsuite/ld-elfvers/vers.exp (objdump_emptyverstuff): Handle diff --git a/ld/testsuite/ld-elf/pr28158.rd b/ld/testsuite/ld-elf/pr28158.rd index b3cfe8915cb..c2cef7a0b39 100644 --- a/ld/testsuite/ld-elf/pr28158.rd +++ b/ld/testsuite/ld-elf/pr28158.rd @@ -3,5 +3,5 @@ #target: x86_64-*-linux* i?86-*-linux-gnu #... - +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo@VERS_2.0 \([0-9]+\) + +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +GLOBAL +DEFAULT +[0-9]+ foo@VERS_2.0 \([0-9]+\) #pass -- 2.30.2