* dwarf.c (display_debug_frames): Change text for uniformity.
authorNick Clifton <nickc@redhat.com>
Mon, 6 Oct 2008 16:27:35 +0000 (16:27 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 6 Oct 2008 16:27:35 +0000 (16:27 +0000)
            (process_debug_info): Likewise.
            (display_debug_aranges): Likewise.  Indent address output.
            (display_debug_pubnames): Print offset in hex.

            * binutils-all/objdump.W: Update.

            * gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d,
            gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d,
            gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d,
            gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d,
            gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d,
            gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d,
            gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d,
            gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d,
            gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf
            change.

            * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,
            ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d,
            ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
            ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d,
            ld-mips-elf/eh-frame4.d: Update for readelf change.

39 files changed:
binutils/ChangeLog
binutils/dwarf.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objdump.W
gas/testsuite/ChangeLog
gas/testsuite/gas/cfi/cfi-alpha-1.d
gas/testsuite/gas/cfi/cfi-alpha-3.d
gas/testsuite/gas/cfi/cfi-arm-1.d
gas/testsuite/gas/cfi/cfi-common-1.d
gas/testsuite/gas/cfi/cfi-common-2.d
gas/testsuite/gas/cfi/cfi-common-3.d
gas/testsuite/gas/cfi/cfi-common-4.d
gas/testsuite/gas/cfi/cfi-common-5.d
gas/testsuite/gas/cfi/cfi-common-6.d
gas/testsuite/gas/cfi/cfi-hppa-1.d
gas/testsuite/gas/cfi/cfi-i386-2.d
gas/testsuite/gas/cfi/cfi-i386.d
gas/testsuite/gas/cfi/cfi-m68k.d
gas/testsuite/gas/cfi/cfi-mips-1.d
gas/testsuite/gas/cfi/cfi-ppc-1.d
gas/testsuite/gas/cfi/cfi-s390-1.d
gas/testsuite/gas/cfi/cfi-s390x-1.d
gas/testsuite/gas/cfi/cfi-sh-1.d
gas/testsuite/gas/cfi/cfi-sparc-1.d
gas/testsuite/gas/cfi/cfi-sparc64-1.d
gas/testsuite/gas/cfi/cfi-x86_64.d
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/eh1.d
ld/testsuite/ld-elf/eh2.d
ld/testsuite/ld-elf/eh3.d
ld/testsuite/ld-elf/eh4.d
ld/testsuite/ld-elf/eh5.d
ld/testsuite/ld-elf/eh6.d
ld/testsuite/ld-mips-elf/eh-frame1-n32.d
ld/testsuite/ld-mips-elf/eh-frame1-n64.d
ld/testsuite/ld-mips-elf/eh-frame2-n32.d
ld/testsuite/ld-mips-elf/eh-frame2-n64.d
ld/testsuite/ld-mips-elf/eh-frame3.d
ld/testsuite/ld-mips-elf/eh-frame4.d

index 6801b88538044b2e9b124da10ee702fc133c0aa2..2733543eb8420a7cdcc179f0d2ca1a698362a3e4 100644 (file)
@@ -1,3 +1,10 @@
+2008-10-06  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf.c (display_debug_frames): Change text for uniformity.
+       (process_debug_info): Likewise.
+       (display_debug_aranges): Likewise.  Indent address output.
+       (display_debug_pubnames): Print offset in hex.
+
 2008-10-02  Andrew Paprocki  <andrew@ishiboo.com>
 
        PR 6934
index 983a3c76a5f093c40795446f41ed19166fa180a5..f6a5a53dcf7add47801ab522996700dbfee90a53 100644 (file)
@@ -1839,7 +1839,7 @@ process_debug_info (struct dwarf_section *section,
 
   if (!do_loc)
     {
-      printf (_("The section %s contains:\n\n"), section->name);
+      printf (_("Contents of the %s section:\n\n"), section->name);
 
       load_debug_section (str, file);
     }
@@ -2904,7 +2904,7 @@ display_debug_pubnames (struct dwarf_section *section,
          if (offset != 0)
            {
              data += offset_size;
-             printf ("    %-6ld\t\t%s\n", offset, data);
+             printf ("    %-6lx\t%s\n", offset, data);
              data += strlen ((char *) data) + 1;
            }
        }
@@ -3322,7 +3322,7 @@ display_debug_aranges (struct dwarf_section *section,
   unsigned char *start = section->start;
   unsigned char *end = start + section->size;
 
-  printf (_("The section %s contains:\n\n"), section->name);
+  printf (_("Contents of the %s section:\n\n"), section->name);
 
   /* It does not matter if this load fails,
      we test for that later on.  */
@@ -3423,6 +3423,7 @@ display_debug_aranges (struct dwarf_section *section,
 
          ranges += address_size;
 
+         printf ("    ");
          print_dwarf_vma (address, address_size);
          print_dwarf_vma (length, address_size);
          putchar ('\n');
@@ -3814,7 +3815,7 @@ display_debug_frames (struct dwarf_section *section,
   unsigned int length_return;
   int max_regs = 0;
 
-  printf (_("The section %s contains:\n"), section->name);
+  printf (_("Contents of the %s section:\n"), section->name);
 
   while (start < end)
     {
index acb2bdca6a5d8fe810cfcbafb7a7369f8449f6ec..b8cee24bc5e223a41ff257dc902266a824734d0d 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-06  Tom Tromey  <tromey@redhat.com>
+
+       * binutils-all/objdump.W: Update.
+
 2008-10-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        * binutils-all/group.s: Updated.
index dfca5628d6c615fc7df9cef0b8ec7d2e572e3965..7617470a5b9e16348ff3385e38a19cb401786f9f 100644 (file)
@@ -1,7 +1,7 @@
 
 tmpdir/dw2-compressed.o:     file format .*
 
-The section .debug_info contains:
+Contents of the .debug_info section:
 
   Compilation Unit @ offset 0x0:
    Length:        0x4e \(32-bit\)
index ff9c7d03812ffac13673d76dd1a2bd4db729b42d..91baf05be06075dd2fae9b2f09c0c799d0c2eba6 100644 (file)
@@ -1,3 +1,16 @@
+2008-10-06  Tom Tromey  <tromey@redhat.com>
+
+       * gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d,
+       gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d,
+       gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d,
+       gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d,
+       gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d,
+       gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d,
+       gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d,
+       gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d,
+       gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf
+       change.
+
 2008-10-04  Hans-Peter Nilsson  <hp@axis.com>
 
        * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d, gas/cris/rd-tls-2.s,
index 5703c9cac37c7d531ddb7586edc2b79044cdd2a1..c132f8963822bbdbce5978d204afebd79a9bd466 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on alpha
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 61ab78bb02c46e7e0599bd1fc4fd82232583f098..3c84ce721d81deb5b4722d41e9c177c4b12641b6 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on alpha, 3
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 8474e20bbeee9a3bea8c37a3598decc2d6de9672..e3b534c310bc471c42cbda6615f61bfdce650c38 100644 (file)
@@ -1,7 +1,7 @@
 #readelf: -wf
 #name: CFI on ARM
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 32eaf4b2aa95dce02b17b158ffa0137ba34668d1..01303d3ebc1a152bf48b7af8b7b51954ad713d1d 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI common 1
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index e929f87be409bb2cf3d535cb8b958663760906c8..c702fb334b10d2205f0349fd7e696003825badb2 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI common 2
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 70055aa0b8cb9171ef95796835d4293df396edbf..fb7495bc265764855be3cb75142590c02ea251f0 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI common 3
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 9d6527023b4996d715cbff84db1a0189c20555e1..c69224ea1ba54e239b5efdacfc80dcdaa56dc9df 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI common 4
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index ba21e2f6c9eb930c22f6eb0226cd297f6a4f5f67..81fc21290314e99c3374be00f39e0ea0af90a696 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI common 5
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 3ae356e48d9c79ca45bd1ea108d28d20d40fb405..35f221e90a7d90e325b0d6450cddd497b3a493c5 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI common 6
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000018 00000000 CIE
   Version:               1
index be8bf39b4e1a9deb62ace5217ef5b4cbbe2d0876..cbb0767bcd6f2677026dfea68dbd092f8fa20bd7 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on hppa
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index a42e0889b4e093609d1e914571f644dd1199b43b..339b47b386860cf7eed2e4e1072d7e6ae3013448 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on i386, 2
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index ef477d32be5f68eab5128d94c03b418f1a900344..77918ba44cec355c856e920dbea5c23f0a53e8e9 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on i386
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index e6b4ec8e639e2c4e9f0fd6eb22f9e5bfcca82c61..4bced7aa58ea744007faad31a7ee1c4d0032f6d8 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on m68k
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 22d74f675eb4659e0296d7b8c247da95490331f4..bd377527f39635f1d6c4f626a16ae99a76469ad3 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on mips, 1
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index cb1f55e1c62fa13009a02067281edc0b5199610f..4fa413112c635061e689b2621839b9a12692f9be 100644 (file)
@@ -2,7 +2,7 @@
 #name: CFI on ppc
 #as: -a32
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 5cf36945f34f678dcb314aefc3eec340931dc855..4ba11d4f6140668302000ffa3f26a6edb94254b7 100644 (file)
@@ -2,7 +2,7 @@
 #name: CFI on s390
 #as: -m31 -march=g5
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index c515f38daa8e1d95c166aa94e96ab368257ac804..af076abd383fafebfc41dbb1289961ef3fa8f9ff 100644 (file)
@@ -2,7 +2,7 @@
 #name: CFI on s390x
 #as: -m64 -march=z900
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 8f22243a6282633cb853d6befc0bf6dc7004aa45..b2ee634d1cf18fd24561aaf34cb27e979e3a13a4 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on SH
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index fa24c82dfb6944731b79daa8c307ca709c692d68..b4cd68dd2218e76f42b4f7f029cda6706d48591b 100644 (file)
@@ -2,7 +2,7 @@
 #name: CFI on SPARC 32-bit
 #as: -32
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000010 00000000 CIE
   Version:               1
index d126f50f53a86294b32d0b0043ace87986145d56..26dbe16a1333f0eaab89c8912bc998a26991c6d7 100644 (file)
@@ -2,7 +2,7 @@
 #name: CFI on SPARC 64-bit
 #as: -64
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 3fc7d530f8471286934b8f3be1e8ef70ec7c2109..36b441ca38ac66d61abb9d763110cff10ce54ee0 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wf
 #name: CFI on x86-64
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 6503d078aa35cce5b442505e4faa71baf5f91f0f..eca0c795036d5045da732fb3fcec897c118f3d64 100644 (file)
@@ -1,3 +1,11 @@
+2008-10-06  Tom Tromey  <tromey@redhat.com>
+
+       * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,
+       ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d,
+       ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
+       ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d,
+       ld-mips-elf/eh-frame4.d: Update for readelf change.
+
 2008-10-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/6931
index a672f5bcb9f24ce970e872e680a0b392dc0fed80..f0874f73dc24e9e4924d4eb6907068ef2465c05f 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -wf
 #target: x86_64-*-*
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 788d23d9d81ecaa090c9dceaed4a4d8893d260de..1a05d7fc8fb310bc5734c999004119d034e21a2c 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -wf
 #target: x86_64-*-*
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 6816313206a8e8b4764b227b42c439ddbbc805c7..1f76b8c17569949ca209d860f2a402a79e668c0f 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -wf
 #target: x86_64-*-*
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 5efecab28daf59eacc49b7ab1b2a4d40bb8feb54..b8f9865ebfff289431cc62bb0d1eaaef4861d91e 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -wf
 #target: x86_64-*-*
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 051eaca624e73503dac7c576917be553e842b5a3..48ab7d72cbca7cfb4f0febf9793d2863a40cfd16 100644 (file)
@@ -6,7 +6,7 @@
 #target: cfi
 #notarget: alpha*
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 0000001[04] 00000000 CIE
   Version:               1
index 7f4e47a74f589de4b2a7c230011a45510874f3c9..67c6a0654895c1755f0939bb6da6afba5b419dcb 100644 (file)
@@ -3,7 +3,7 @@
 #readelf: -wf
 #target: x86_64-*-linux-gnu i?86-*-linux-gnu
 
-The section .eh_frame contains:
+Contents of the .eh_frame section:
 
 00000000 0000001[4c] 00000000 CIE
   Version:               1
index 3924016c9dcf28ebb1ab6ede6618fb749a256e74..6adb355253b495c24e4828fef6602f1b3f9216f3 100644 (file)
@@ -17,7 +17,7 @@ Relocation section '\.rel\.dyn' .*:
 0003008b  [0-9a-f]+ R_MIPS_REL32      00000000   foo
 000300d0  [0-9a-f]+ R_MIPS_REL32      00000000   foo
 0003010e  [0-9a-f]+ R_MIPS_REL32      00000000   foo
-The section \.eh_frame contains:
+Contents of the section \.eh_frame:
 
 00000000 00000010 00000000 CIE
   Version:               1
index f0925b925fd40e525bb8ce5326812c6f64a296ec..1512b4a9cbef005b051c9a0261a681e77758edca 100644 (file)
@@ -33,7 +33,7 @@ Relocation section '\.rel\.dyn' .*:
 000000030192  [0-9a-f]+ R_MIPS_REL32      0000000000000000 foo
  *Type2: R_MIPS_64 *
  *Type3: R_MIPS_NONE *
-The section \.eh_frame contains:
+Contents of the section \.eh_frame:
 
 00000000 00000014 00000000 CIE
   Version:               1
index ce2aa1d698429e3daa034f444daa6ef3c7bd5a90..d831d2628ff21ac74dc8b970faae56410277688e 100644 (file)
@@ -17,7 +17,7 @@ Relocation section '\.rel\.dyn' .*:
 0003008b  [0-9a-f]+ R_MIPS_REL32      00000000   foo
 000300cc  [0-9a-f]+ R_MIPS_REL32      00000000   foo
 0003010a  [0-9a-f]+ R_MIPS_REL32      00000000   foo
-The section \.eh_frame contains:
+Contents of the section \.eh_frame:
 
 00000000 00000010 00000000 CIE
   Version:               1
index 50394f568323560055317e44ad95624a14641793..8e741f3cf20df82e8600b932036126e9f661b8c0 100644 (file)
@@ -33,7 +33,7 @@ Relocation section '\.rel\.dyn' .*:
 00000003018a  [0-9a-f]+ R_MIPS_REL32      0000000000000000 foo
  *Type2: R_MIPS_64 *
  *Type3: R_MIPS_NONE *
-The section \.eh_frame contains:
+Contents of the section \.eh_frame:
 
 00000000 00000014 00000000 CIE
   Version:               1
index 4c91d2c6dc97d04213c687c6ba1e96385a118f5d..80f13d9813614d6686d268fe7e0dcc4e80b53ebd 100644 (file)
@@ -9,7 +9,7 @@
 # combination of 32-bit objects and 64-bit FDE addresses.
 #
 
-The section \.eh_frame contains:
+Contents of the section \.eh_frame:
 
 00000000 0000000c 00000000 CIE
   Version:               1
index e04d5fc8b8d4b05120c6b73eadae1403df6917b6..c4b7e5c8524a6caeddbca1efb9943f3147f66cbf 100644 (file)
@@ -8,7 +8,7 @@
 # This test is for the semi-official ILP32 variation of EABI64.
 #
 
-The section \.eh_frame contains:
+Contents of the section \.eh_frame:
 
 00000000 0000000c 00000000 CIE
   Version:               1