* 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 2733543eb8420a7cdcc179f0d2ca1a698362a3e4..aa8d4f477f02cd671d4a4803bc8b56fdd278c989 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 2d356a696261de8e4a6bd5185695f6cdbaac6b3c..c4bdc1dfd8ddcad82966b2ecd7bf28ec2054576e 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 eca0c795036d5045da732fb3fcec897c118f3d64..a9e1d84148540f64edbdaa902489d6a9cfdffaa9 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 7f130a40cfc8d51ddbfdd3d4807caa9cc86d028e..ca0d69eb6bee8b7e586ba3cc6a423083b516d3ac 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 509e598461bd9aefcf65abebb9c07201564d6177..9bf438766373c5dfae16ba01f9e8eb65dbfe819a 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