aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-08-05 15:29:52 +0930
committerAlan Modra <amodra@gmail.com>2021-08-05 20:47:09 +0930
commit5570ab7f44dffa808ee6d90c9a8dbf50ae80621b (patch)
tree8923e6dc3403bc171839069c490182eca2ff75c0 /ld
parent99ba4b64d3636533f3659a9c7d3e8504ca93c770 (diff)
downloadgdb-5570ab7f44dffa808ee6d90c9a8dbf50ae80621b.zip
gdb-5570ab7f44dffa808ee6d90c9a8dbf50ae80621b.tar.gz
gdb-5570ab7f44dffa808ee6d90c9a8dbf50ae80621b.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-cris/libdso-15b.d6
-rw-r--r--ld/testsuite/ld-cris/libdso-1c.d4
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 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 .*