* 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

@ -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.

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

View File

@ -1,3 +1,9 @@
2008-10-07 Nick Clifton <nickc@redhat.com>
* ld-ia64/tlsbin.rd: Update expected output now that --wide does
not truncate section names.
* ld-ia64/tlspic.rd: Likewise.
2008-10-06 Tom Tromey <tromey@redhat.com>
* ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,

View File

@ -15,10 +15,10 @@ Section Headers:
+\[[ 0-9]+\] .dynsym +.*
+\[[ 0-9]+\] .dynstr +.*
+\[[ 0-9]+\] .rela.dyn +.*
+\[[ 0-9]+\] .rela.IA_64.pltof +.*
+\[[ 0-9]+\] .rela.IA_64.pltoff +.*
+\[[ 0-9]+\] .plt +.*
+\[[ 0-9]+\] .text +PROGBITS +40+1000 0+1000 0+140 00 +AX +0 +0 4096
+\[[ 0-9]+\] .IA_64.unwind_inf +.*
+\[[ 0-9]+\] .IA_64.unwind_info +.*
+\[[ 0-9]+\] .IA_64.unwind +.*
+\[[ 0-9]+\] .tdata +PROGBITS +60+1[0-9a-f]+ 0+1[0-9a-f]+ 0+60 00 WAT +0 +0 +4
+\[[ 0-9]+\] .tbss +NOBITS +60+1[0-9a-f]+ 0+1[0-9a-f]+ 0+40 00 WAT +0 +0 +1

View File

@ -14,10 +14,10 @@ Section Headers:
+\[[ 0-9]+\] .dynsym +.*
+\[[ 0-9]+\] .dynstr +.*
+\[[ 0-9]+\] .rela.dyn +.*
+\[[ 0-9]+\] .rela.IA_64.pltof +.*
+\[[ 0-9]+\] .rela.IA_64.pltoff +.*
+\[[ 0-9]+\] .plt +.*
+\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+110 00 +AX +0 +0 4096
+\[[ 0-9]+\] .IA_64.unwind_inf +.*
+\[[ 0-9]+\] .IA_64.unwind_info +.*
+\[[ 0-9]+\] .IA_64.unwind +.*
+\[[ 0-9]+\] .tdata +PROGBITS +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+60 00 WAT +0 +0 +4
+\[[ 0-9]+\] .tbss +NOBITS +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+20 00 WAT +0 +0 +1