This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Handle S_ZEROFILL sections in Mach-O files correctly.
- From: Nick Clifton <nickc at redhat dot com>
- To: jesse michael <jmichael at suse dot de>
- Cc: binutils at sourceware dot org
- Date: Fri, 31 Aug 2007 15:56:32 +0100
- Subject: Re: PATCH: Handle S_ZEROFILL sections in Mach-O files correctly.
- References: <20070823154546.GA26870@suse.de>
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.