* 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.
This commit is contained in:
Nick Clifton
2008-10-07 12:03:18 +00:00
parent 1c08f2c880
commit b9eb56c1fd
5 changed files with 17 additions and 5 deletions

View File

@@ -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));