bfd/
* mach-o.c (bfd_mach_o_header_p): Reject 64 bit target when not
configured for.
+2014-04-04 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.c (bfd_mach_o_header_p): Reject 64 bit target when not
+ configured for.
+
2014-04-04 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_convert_section_name_to_mach_o): Fix
if (header.cputype != cputype)
goto wrong;
}
+ else
+ {
+#ifndef BFD64
+ /* Do not recognize 64 architectures if not configured for 64bit targets.
+ This could happen only for generic targets. */
+ if (mach_o_wide_p (&header))
+ goto wrong;
+#endif
+ }
if (filetype)
{