This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Possible Bug with "n" Flag of .section Directive
- To: binutils at sources dot redhat dot com
- Subject: Re: Possible Bug with "n" Flag of .section Directive
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Wed, 21 Feb 2001 16:58:27 -0500
Hi Nick,
> I theory this translation should occur in sec_to_styp_flags() in
> coffcode.h. (I have not tested any of this), and indeed when I look
> in that file I see a comment that says:
>
> /* skip LOAD */
>
> Maybe this is the bug. Maybe this ought to be changed to:
>
> if ((sec_flags & SEC_LOAD) == 0)
> styp_flags |= STYP_NOLOAD;
I think you right idea, but I think you're looking at the COFF_WITH_PE
version. The non-COFF_WITH_PE version is right above it.
Mark