* objdump.c (dump_dwarf): Correct setting of is_relocatable.
This commit is contained in:
parent
329b43c490
commit
5184c2ae47
|
@ -1,3 +1,7 @@
|
|||
2007-07-10 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* objdump.c (dump_dwarf): Correct setting of is_relocatable.
|
||||
|
||||
2007-07-09 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* readelf.c (get_gnu_elf_note_type): New function.
|
||||
|
|
|
@ -2166,8 +2166,7 @@ check_mach_o_dwarf (bfd *abfd)
|
|||
static void
|
||||
dump_dwarf (bfd *abfd)
|
||||
{
|
||||
is_relocatable = ((abfd->flags & (HAS_RELOC | EXEC_P | DYNAMIC))
|
||||
== HAS_RELOC);
|
||||
is_relocatable = (abfd->flags & (EXEC_P | DYNAMIC)) == 0;
|
||||
|
||||
/* FIXME: bfd_get_arch_size may return -1. We assume that 64bit
|
||||
targets will return 64. */
|
||||
|
|
Loading…
Reference in New Issue