Possible Bug with "n" Flag of .section Directive
Mark E.
snowball3@bigfoot.com
Wed Feb 21 13:58:00 GMT 2001
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
More information about the Binutils
mailing list