* readelf.c (process_section_headers): Do not cut the section names and
authorNick Clifton <nickc@redhat.com>
Tue, 7 Oct 2008 12:03:18 +0000 (12:03 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 7 Oct 2008 12:03:18 +0000 (12:03 +0000)
        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.

binutils/ChangeLog
binutils/readelf.c
ld/testsuite/ChangeLog
ld/testsuite/ld-ia64/tlsbin.rd
ld/testsuite/ld-ia64/tlspic.rd

index 2733543..aa8d4f4 100644 (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.
index 2d356a6..c4bdc1d 100644 (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));
index eca0c79..a9e1d84 100644 (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,
index 7f130a4..ca0d69e 100644 (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
index 509e598..9bf4387 100644 (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