* dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
commita57bec38676038972c9bbe4fb2d3f1010fdf3c54
authorRichard Henderson <rth@redhat.com>
Thu, 2 Sep 2010 22:35:18 +0000 (2 22:35 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 2 Sep 2010 22:35:18 +0000 (2 22:35 +0000)
tree9508bedc193e0b710e2f33d88e32eb097b0a4d6c
parent191079f6aa0f4e96639b39a58e782f715270a230
* 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