diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-01-28 15:15:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-01-28 15:15:32 +0000 |
commit | 2dc4cec1f343cc27605be560098badd0e90137a4 (patch) | |
tree | ffc5eaef8784b25c9077b3b1c79b602c8198943e /ld/testsuite/ld-elf/eh5.d | |
parent | 6e73d59506332fd0325445070952950f24b366a9 (diff) | |
download | fsf-binutils-gdb-2dc4cec1f343cc27605be560098badd0e90137a4.zip fsf-binutils-gdb-2dc4cec1f343cc27605be560098badd0e90137a4.tar.gz fsf-binutils-gdb-2dc4cec1f343cc27605be560098badd0e90137a4.tar.bz2 |
binutils/
2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c: Include "elf/common.h".
(eh_addr_size): Changed to int.
(dwarf_regnames_i386): New.
(dwarf_regnames_x86_64): Likewise.
(dwarf_regnames): Likewise.
(dwarf_regnames_count): Likewise.
(init_dwarf_regnames): Likewise.
(regname): Likewise.
(frame_display_row): Properly support different address size.
Call regname to get register name.
(display_debug_frames): Call regname to get register name.
Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
instead of DW_CFA_def_cfa_reg.
* dwarf.h (init_dwarf_regnames): New.
* objdump.c: Include "elf-bfd.h".
(dump_dwarf): Call init_dwarf_regnames on ELF input.
* readelf.c (guess_is_rela): Change argument to int.
(parse_args): Remove the undocumented upper case options for
-wX.
(process_file_header): Call init_dwarf_regnames if
do_dwarf_register is true.
gas/testsuite/
2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
* gas/cfi/cfi-alpha-1.d: Replace DW_CFA_def_cfa_reg with
DW_CFA_def_cfa_register.
* gas/cfi/cfi-alpha-3.d: Likewise.
* gas/cfi/cfi-hppa-1.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-m68k.d: Likewise.
* gas/cfi/cfi-mips-1.d: Likewise.
* gas/cfi/cfi-sh-1.d: Likewise.
* gas/cfi/cfi-sparc-1.d: Likewise.
* gas/cfi/cfi-sparc64-1.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.
* gas/cfi/cfi-common-1.d: Updated for i386/x86-64 register
names.
* gas/cfi/cfi-common-2.d: Likewise.
* gas/cfi/cfi-common-5.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.
ld/testsuite/
2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with
DW_CFA_def_cfa_register. Updated for i386/x86-64 register
names.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh3.d: Likewise.
* ld-elf/eh4.d: Likewise.
* ld-elf/eh5.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/eh5.d')
-rw-r--r-- | ld/testsuite/ld-elf/eh5.d | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ld/testsuite/ld-elf/eh5.d b/ld/testsuite/ld-elf/eh5.d index c12562a..13bff08 100644 --- a/ld/testsuite/ld-elf/eh5.d +++ b/ld/testsuite/ld-elf/eh5.d @@ -21,7 +21,7 @@ The section .eh_frame contains: #... 0000001[48] 00000014 0000001[8c] FDE cie=00000000 pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -38,14 +38,14 @@ The section .eh_frame contains: 0000004[48] 00000014 0000001c FDE cie=000000(2c|30) pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop 000000(5c|60) 00000014 0000006[04] FDE cie=00000000 pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -66,7 +66,7 @@ The section .eh_frame contains: Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef) DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -79,7 +79,7 @@ The section .eh_frame contains: Return address column: .* Augmentation data: 1b - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 #... 000000(c4|d0) 0000001[04] 0000001[8c] FDE cie=000000b[08] pc=.* DW_CFA_nop @@ -98,7 +98,7 @@ The section .eh_frame contains: 00000(0f|10)0 00000014 0000001c FDE cie=000000[de]8 pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -124,28 +124,28 @@ The section .eh_frame contains: Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef) DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop 000001(58|70) 00000014 000001(5c|74) FDE cie=00000000 pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop 000001(70|88) 00000014 000001(48|5c) FDE cie=000000(2c|30) pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop 000001(88|a0) 00000014 000001(8c|a4) FDE cie=00000000 pc=.* DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop @@ -154,7 +154,7 @@ The section .eh_frame contains: Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef) DW_CFA_advance_loc: 4 to .* - DW_CFA_def_cfa: r0 ofs 16 + DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16 DW_CFA_nop DW_CFA_nop DW_CFA_nop |