diff options
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)); |