Note that some flags to the COFF version of .section remove attributes rather

than setting them.
This commit is contained in:
Nick Clifton 2001-02-21 19:43:36 +00:00
parent 5ece1a18c0
commit 7e84d676af
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-02-21 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo (Section): Note that some flags to the COFF
version of .section remove attributes rather than setting them.
2001-02-20 Kazu Hirata <kazu@hxi.com>
* tc-pdp11.c: Fix formatting.

View File

@ -4640,7 +4640,9 @@ shared section (meaningful for PE targets)
If no flags are specified, the default flags depend upon the section name. If
the section name is not recognized, the default will be for the section to be
loaded and writable.
loaded and writable. Note the @code{n} and @code{w} flags remove attributes
from the section, rather than adding them, so if they are used on their own it
will be as if no flags had been specified at all.
If the optional argument to the @code{.section} directive is not quoted, it is
taken as a subsegment number (@pxref{Sub-Sections}).