* dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
authorRichard Henderson <rth@redhat.com>
Thu, 2 Sep 2010 22:35:18 +0000 (22:35 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 2 Sep 2010 22:35:18 +0000 (22:35 +0000)
commitb129eb0e566d53a2500d505cbb80e8ad4ad6f981
tree1d33547e73ecddee2f3bb9cd32f41f158a5c9478
parent09fc85f6cf38328f30243107776dde8e3fece450
* dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
(init_dwarf_regnames): Use them.
* dwarf.h: Declare them.
* objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
the regnames, rather than using elf_machine_code.
binutils/ChangeLog
binutils/dwarf.c
binutils/dwarf.h
binutils/objdump.c