aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-05-30 10:17:29 +0100
committerNick Clifton <nickc@redhat.com>2019-05-30 10:17:29 +0100
commitae9ac79e5e291a2bc5c6620a10c37a3558d55d36 (patch)
tree406f4c6519b7213a2ec7d600bc9cbcb87cd2ef80 /ld/testsuite
parent54a471e5fd44d7a91297ece1383b0ad6d62c7306 (diff)
downloadgdb-ae9ac79e5e291a2bc5c6620a10c37a3558d55d36.zip
gdb-ae9ac79e5e291a2bc5c6620a10c37a3558d55d36.tar.gz
gdb-ae9ac79e5e291a2bc5c6620a10c37a3558d55d36.tar.bz2
Harmonize readelf's output for version sections.
PR 24627 binutils * readelf.c (process_version_sections): Add 0x prefix to address display. Correct indentation. ld * testsuite/ld-elf/ver_def.vd: Update expected output.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-elf/ver_def.vd2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/ver_def.vd b/ld/testsuite/ld-elf/ver_def.vd
index f75e15e..b2658ee 100644
--- a/ld/testsuite/ld-elf/ver_def.vd
+++ b/ld/testsuite/ld-elf/ver_def.vd
@@ -6,7 +6,7 @@
# line at the end in particular (hence #pass must not be used here).
Version symbols section '\.gnu\.version' contains 4 entries:
- Addr: [0-9a-f]+ +Offset: 0x[0-9a-f]+ +Link: 2 \(\.dynsym\)
+ +Addr: 0x[0-9a-f]+ +Offset: 0x[0-9a-f]+ +Link: 2 \(\.dynsym\)
+000: +0 \(\*local\*\) +2 \(ver_foo\) +1 \(\*global\*\) +2 \(ver_foo\) +
Version definition section '\.gnu\.version_d' contains 2 entries: