From 5570ab7f44dffa808ee6d90c9a8dbf50ae80621b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 5 Aug 2021 15:29:52 +0930 Subject: [PATCH] Re: elf: Treat undefined version as hidden Fix fallout in cris testsuite PR binutils/28158 * ld-cris/libdso-1c.d: Update for version display change. * ld-cris/libdso-15b.d: Likewise. --- ld/testsuite/ld-cris/libdso-15b.d | 6 +++--- ld/testsuite/ld-cris/libdso-1c.d | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ld/testsuite/ld-cris/libdso-15b.d b/ld/testsuite/ld-cris/libdso-15b.d index 39e001a9273..d02619bd7bc 100644 --- a/ld/testsuite/ld-cris/libdso-15b.d +++ b/ld/testsuite/ld-cris/libdso-15b.d @@ -16,10 +16,10 @@ DYNAMIC SYMBOL TABLE: #... -0+[ ]+DO \*UND\*[ ]+0+ TST3[ ]+__expobj2 +0+[ ]+DO \*UND\*[ ]+0+[ ]+\(TST3\)[ ]+__expobj2 #... -0+[ ]+DO \*UND\*[ ]+0+ TST3[ ]+expobj2 -0+[ ]+DF \*UND\*[ ]+0+ TST3[ ]+expfn2 +0+[ ]+DO \*UND\*[ ]+0+[ ]+\(TST3\)[ ]+expobj2 +0+[ ]+DF \*UND\*[ ]+0+[ ]+\(TST3\)[ ]+expfn2 #... Contents of section .rela.dyn: 017c 8c220000 0a040000 00000000 90220000 .* diff --git a/ld/testsuite/ld-cris/libdso-1c.d b/ld/testsuite/ld-cris/libdso-1c.d index 2b9b13b660b..d69b857c531 100644 --- a/ld/testsuite/ld-cris/libdso-1c.d +++ b/ld/testsuite/ld-cris/libdso-1c.d @@ -15,8 +15,8 @@ DYNAMIC SYMBOL TABLE: #... -0+[ ]+DF \*UND\* 0+[ ]+TST2[ ]+expobj -0+[ ]+DF \*UND\* 0+[ ]+TST2[ ]+expfn +0+[ ]+DF \*UND\* 0+[ ]+\(TST2\)[ ]+expobj +0+[ ]+DF \*UND\* 0+[ ]+\(TST2\)[ ]+expfn #... Contents of section .rela.dyn: 0140 50220000 0a020000 00000000 54220000 .* -- 2.30.2