mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-26 08:55:30 +08:00
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.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2019-05-30 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 24627
|
||||
* readelf.c (process_version_sections): Add 0x prefix to address
|
||||
display. Correct indentation.
|
||||
|
||||
2019-05-30 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
|
||||
|
@ -10550,7 +10550,7 @@ process_version_sections (Filedata * filedata)
|
||||
printable_section_name (filedata, section),
|
||||
section->sh_info);
|
||||
|
||||
printf (_(" Addr: 0x"));
|
||||
printf (_(" Addr: 0x"));
|
||||
printf_vma (section->sh_addr);
|
||||
printf (_(" Offset: %#08lx Link: %u (%s)\n"),
|
||||
(unsigned long) section->sh_offset, section->sh_link,
|
||||
@ -10842,7 +10842,7 @@ process_version_sections (Filedata * filedata)
|
||||
total),
|
||||
printable_section_name (filedata, section), (unsigned long) total);
|
||||
|
||||
printf (_(" Addr: "));
|
||||
printf (_(" Addr: 0x"));
|
||||
printf_vma (section->sh_addr);
|
||||
printf (_(" Offset: %#08lx Link: %u (%s)\n"),
|
||||
(unsigned long) section->sh_offset, section->sh_link,
|
||||
|
Reference in New Issue
Block a user