mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
* objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-08-23 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
|
||||||
|
|
||||||
2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elfedit.c (input_elf_osabi): New.
|
* elfedit.c (input_elf_osabi): New.
|
||||||
|
@ -2340,9 +2340,7 @@ dump_dwarf (bfd *abfd)
|
|||||||
{
|
{
|
||||||
is_relocatable = (abfd->flags & (EXEC_P | DYNAMIC)) == 0;
|
is_relocatable = (abfd->flags & (EXEC_P | DYNAMIC)) == 0;
|
||||||
|
|
||||||
/* FIXME: bfd_get_arch_size may return -1. We assume that 64bit
|
eh_addr_size = bfd_arch_bits_per_address (abfd) / 8;
|
||||||
targets will return 64. */
|
|
||||||
eh_addr_size = bfd_get_arch_size (abfd) == 64 ? 8 : 4;
|
|
||||||
|
|
||||||
if (bfd_big_endian (abfd))
|
if (bfd_big_endian (abfd))
|
||||||
byte_get = byte_get_big_endian;
|
byte_get = byte_get_big_endian;
|
||||||
|
Reference in New Issue
Block a user