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.
diff --git a/ld/testsuite/ld-cris/libdso-15b.d b/ld/testsuite/ld-cris/libdso-15b.d
index 39e001a..d02619b 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 2b9b13b..d69b857 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  .*