From 7e84d676af23cc44c9b78155032bdabaf78b9a62 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Feb 2001 19:43:36 +0000 Subject: [PATCH] Note that some flags to the COFF version of .section remove attributes rather than setting them. --- gas/ChangeLog | 5 +++++ gas/doc/as.texinfo | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e6a461621b4..d7259a5cd64 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-02-21 Nick Clifton + + * 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 * tc-pdp11.c: Fix formatting. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index dc377b1363b..3bc96812d16 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -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}). -- 2.30.2