This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]