diff options
author | Nick Clifton <nickc@redhat.com> | 2008-10-07 12:03:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-10-07 12:03:18 +0000 |
commit | b9eb56c1fd7e43313494e4f50ed4f61351e49b16 (patch) | |
tree | 5be179632abda50b57494bb00b1316d429f1ec75 /binutils | |
parent | 1c08f2c880d39514a2917c24de11e5619bb81081 (diff) | |
download | gdb-b9eb56c1fd7e43313494e4f50ed4f61351e49b16.zip gdb-b9eb56c1fd7e43313494e4f50ed4f61351e49b16.tar.gz gdb-b9eb56c1fd7e43313494e4f50ed4f61351e49b16.tar.bz2 |
* readelf.c (process_section_headers): Do not cut the section names and
types if running with --wide.
* ld-ia64/tlsbin.rd: Update expected output now that --wide does
not truncate section names.
* ld-ia64/tlspic.rd: Likewise.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2733543..aa8d4f4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * readelf.c (process_section_headers): Do not cut the section names and + types if running with --wide. + 2008-10-06 Tom Tromey <tromey@redhat.com> * dwarf.c (display_debug_frames): Change text for uniformity. diff --git a/binutils/readelf.c b/binutils/readelf.c index 2d356a6..c4bdc1d 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4375,7 +4375,8 @@ process_section_headers (FILE *file) get_section_type_name (section->sh_type)); } else - printf (" [%2u] %-17.17s %-15.15s ", + printf ((do_wide ? " [%2u] %-17s %-15s " + : " [%2u] %-17.17s %-15.15s "), i, SECTION_NAME (section), get_section_type_name (section->sh_type)); |