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

            * 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.
This commit is contained in:
Nick Clifton 2008-10-06 16:27:35 +00:00
parent 7592cfd75d
commit 80c35038cb
39 changed files with 71 additions and 38 deletions

View 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

View 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)
{

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

View 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\)

View 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,

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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