diff options
author | Tristan Gingold <gingold@adacore.com> | 2013-02-04 14:48:20 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2013-02-04 14:48:20 +0000 |
commit | 5ee43bc47a6a0c04a878210c869f523a843878dd (patch) | |
tree | e10eb87e9c55b51ba221e680751c457f7f8bbdf0 /bfd/mach-o.c | |
parent | cf0dbd6fe7b21f961021ddc9ba9105cbacfbdc90 (diff) | |
download | gdb-5ee43bc47a6a0c04a878210c869f523a843878dd.zip gdb-5ee43bc47a6a0c04a878210c869f523a843878dd.tar.gz gdb-5ee43bc47a6a0c04a878210c869f523a843878dd.tar.bz2 |
2013-02-04 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no
start address.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 3 |
1 files changed, 2 insertions, 1 deletions
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++) |