PATCH: Handle S_ZEROFILL sections in Mach-O files correctly.

Nick Clifton nickc@redhat.com
Fri Aug 31 15:20:00 GMT 2007


Hi Jesse,

> The code in bfd_mach_o_make_bfd_section() treats BFD_MACH_O_S_ZEROFILL 
> as if it were a bit flag when in reality, the section type is an 8-bit
> subfield contained within the section->flags value.

Good catch.  I have checked your patch in along with this ChangeLog entry.

Cheers
   Nick

bfd/ChangeLog
2007-08-31  Jesse Michael  <jmichael@suse.de>

	* mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non
	zerofill sections.



More information about the Binutils mailing list