This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] Improved GAS doc for COFF .section pseudo op


Hi Guys,

  I am checking in the patch below to clear up a small confusion over
  the behavior of the .section directive for COFF based ports.

Cheers
        Nick

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.

Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src//src/gas/doc/as.texinfo,v
retrieving revision 1.33
diff -p -r1.33 as.texinfo
*** as.texinfo	2001/02/18 23:33:03	1.33
--- as.texinfo	2001/02/21 19:40:30
*************** shared section (meaningful for PE target
*** 4640,4646 ****
  
  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.
  
  If the optional argument to the @code{.section} directive is not quoted, it is
  taken as a subsegment number (@pxref{Sub-Sections}).
--- 4640,4648 ----
  
  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.  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}).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]