From: Tristan Gingold Date: Mon, 4 Feb 2013 14:48:20 +0000 (+0000) Subject: 2013-02-04 Tristan Gingold X-Git-Tag: sid-snapshot-20130301~273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ee43bc47a6a0c04a878210c869f523a843878dd;p=thirdparty%2Fbinutils-gdb.git 2013-02-04 Tristan Gingold * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no start address. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 992b0e69b74..ab409023c76 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-02-04 Tristan Gingold + + * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no + start address. + 2013-02-04 Alan Modra * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. diff --git a/bfd/mach-o.c b/bfd/mach-o.c index e3bfa58182e..c92b530db4b 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++)