aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-10-16 08:12:25 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-10-16 08:12:25 -0700
commit0a9ea024e7c4314dc4e5554e3d1b85167c41573e (patch)
treea510a558d17c401fd3f838f3f24522b8c53103c7 /ld/testsuite/ld-elf
parent8457023a80de4bc029e3d552dd350509254359f5 (diff)
downloadgdb-0a9ea024e7c4314dc4e5554e3d1b85167c41573e.zip
gdb-0a9ea024e7c4314dc4e5554e3d1b85167c41573e.tar.gz
gdb-0a9ea024e7c4314dc4e5554e3d1b85167c41573e.tar.bz2
ld: Adjust pr28158.rd for glibc 2.34
Adjust pr28158.rd for glibc 2.34: $ readelf -W --dyn-syms tmpdir/pr28158 Symbol table '.dynsym' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.34 (2) 2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 3: 000000000040401c 4 OBJECT GLOBAL DEFAULT 23 foo@VERS_2.0 (3) $ vs older glibc: $ readelf -W --dyn-syms tmpdir/pr28158 Symbol table '.dynsym' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (3) 2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 3: 000000000040401c 4 OBJECT GLOBAL DEFAULT 23 foo@VERS_2.0 (2) $ * testsuite/ld-elf/pr28158.rd: Adjusted for glibc 2.34.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/pr28158.rd2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/pr28158.rd b/ld/testsuite/ld-elf/pr28158.rd
index 7488410..b3cfe89 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 \(2\)
+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo@VERS_2.0 \([0-9]+\)
#pass