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, nick Clifton <nickc at redhat dot com>
- Subject: Re: Possible Bug with "n" Flag of .section Directive
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Mon, 26 Feb 2001 17:13:16 -0500
- References: <3A953340.29357.10343DD@localhost>
Hi Nick,
> It seems OK to me, Approved.
If you want to commit this, go right ahead. To fix a lone "n" flag would
require adding more logic to styp_to_sec_flags to not add SEC_LOAD when
SEC_NEVER_LOAD has been used:
else
{
sec_flags |= SEC_ALLOC | SEC_LOAD;
}
#ifdef STYP_LIT /* A29k readonly text/data section type */
if ((styp_flags & STYP_LIT) == STYP_LIT)
I'll leave said fix to whoever needs this to work.
BTW if someone doesn't beat to me to it, someday I'd like to take a crack
reworking this function.
Mark