2013-02-04 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Mon, 4 Feb 2013 14:48:20 +0000 (14:48 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 4 Feb 2013 14:48:20 +0000 (14:48 +0000)
* mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no
start address.

bfd/ChangeLog
bfd/mach-o.c

index 992b0e69b74a335c5f60e1a0e05eaefa1288cb35..ab409023c769487a861111ea4f9266ea983bd1f8 100644 (file)
@@ -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.
index e3bfa58182eeaa6be463041efd9e95e19bbc91ca..c92b530db4bf28fa97ef767603ec55e45401ebd3 100644 (file)
@@ -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++)
This page took 0.036995 seconds and 4 git commands to generate.