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 | b7f90a2b5b62a75fcf6d051f5e62c64659e4bd56 (patch) | |
tree | 1e56f137681e8d1991801d40d77d65d940e42eee /bfd/mach-o.c | |
parent | 786ea7e99a531ae1a6fabf44106853c0050137fb (diff) | |
download | gdb-b7f90a2b5b62a75fcf6d051f5e62c64659e4bd56.tar.gz |
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 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++) |