* objdump.c (dump_dwarf): Correct setting of is_relocatable.

This commit is contained in:
Alan Modra 2007-07-10 13:52:39 +00:00
parent 329b43c490
commit 5184c2ae47
2 changed files with 21 additions and 18 deletions

View File

@ -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> 2007-07-09 Roland McGrath <roland@redhat.com>
* readelf.c (get_gnu_elf_note_type): New function. * readelf.c (get_gnu_elf_note_type): New function.
@ -35,11 +39,11 @@
2007-07-05 Kai Tietz <kai.tietz@onevision.com> 2007-07-05 Kai Tietz <kai.tietz@onevision.com>
* resrc.c: (read_rc_file): Add include path of user passed rc * resrc.c: (read_rc_file): Add include path of user passed rc
input file. input file.
* windres.c: (windres_add_include_dir): New. * windres.c: (windres_add_include_dir): New.
(main): Use of windres_add_include_dir. (main): Use of windres_add_include_dir.
* windres.h: (windres_add_include_dir): Add prototype. * windres.h: (windres_add_include_dir): Add prototype.
2007-07-05 Alan Modra <amodra@bigpond.net.au> 2007-07-05 Alan Modra <amodra@bigpond.net.au>
@ -127,21 +131,21 @@
2007-06-19 Danny Smith <dannysmith@users.sourceforge.net> 2007-06-19 Danny Smith <dannysmith@users.sourceforge.net>
* objdump.c: Include sys/stat.h. * objdump.c: Include sys/stat.h.
2007-06-19 Kai Tietz <kai.tietz@onevision.com> 2007-06-19 Kai Tietz <kai.tietz@onevision.com>
* Makefile.am: Add windmc tool. * Makefile.am: Add windmc tool.
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
* configure.in: Add windmc tool. * configure.in: Add windmc tool.
* configure: Regenerate. * configure: Regenerate.
* mclex.c: New. * mclex.c: New.
* mcparse.y: New. * mcparse.y: New.
* windmc.c: New. * windmc.c: New.
* windmc.h: New. * windmc.h: New.
* doc/Makefile.am: Add windmc tool. * doc/Makefile.am: Add windmc tool.
* doc/Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
* doc/binutils.texi: Add windmc documentation. * doc/binutils.texi: Add windmc documentation.
* NEWS: Mention new tool. * NEWS: Mention new tool.
2007-06-18 Andi Kleen <ak@suse.de> 2007-06-18 Andi Kleen <ak@suse.de>

View File

@ -2166,8 +2166,7 @@ check_mach_o_dwarf (bfd *abfd)
static void static void
dump_dwarf (bfd *abfd) dump_dwarf (bfd *abfd)
{ {
is_relocatable = ((abfd->flags & (HAS_RELOC | EXEC_P | DYNAMIC)) is_relocatable = (abfd->flags & (EXEC_P | DYNAMIC)) == 0;
== HAS_RELOC);
/* FIXME: bfd_get_arch_size may return -1. We assume that 64bit /* FIXME: bfd_get_arch_size may return -1. We assume that 64bit
targets will return 64. */ targets will return 64. */