diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/mach-o.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 992b0e6..ab40902 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-02-04 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no + start address. + 2013-02-04 Alan Modra <amodra@gmail.com> * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. diff --git a/bfd/mach-o.c b/bfd/mach-o.c index e3bfa58..c92b530 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -3992,8 +3992,9 @@ bfd_mach_o_scan_start_address (bfd *abfd) } } + /* An object file has no start address, so do not fail if not found. */ if (cmd == NULL) - return FALSE; + return TRUE; /* FIXME: create a subtarget hook ? */ for (i = 0; i < cmd->nflavours; i++) |