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]
Other format: [Raw text]

Correct .section / .pushsection docs


The documentation for .pushsection claims it is a synonym of .section, and
the documentation for .section claims it pushes the previous section onto
the stack.  Neither appears to be true, so this patch clarifies that only
.pushsection pushes.

OK?

-- 
Daniel Jacobowitz

2004-07-19  Daniel Jacobowitz  <dan@debian.org>

	* doc/as.texinfo (Section, PushSection): Correct documentation
	for ELF.

Index: as.texinfo
===================================================================
RCS file: /big/fsf/rsync/src-cvs/src/gas/doc/as.texinfo,v
retrieving revision 1.100
diff -u -p -r1.100 as.texinfo
--- as.texinfo	11 May 2004 15:53:47 -0000	1.100
+++ as.texinfo	19 Jul 2004 19:56:56 -0000
@@ -5056,9 +5056,9 @@ This is one of the ELF section stack man
 @code{.popsection} (@pxref{PopSection}), and @code{.previous} 
 (@pxref{Previous}).
 
-This directive is a synonym for @code{.section}.  It pushes the current section
-(and subsection) onto the top of the section stack, and then replaces the
-current section and subsection with @code{name} and @code{subsection}.
+This directive pushes the current section (and subsection) onto the
+top of the section stack, and then replaces the current section and
+subsection with @code{name} and @code{subsection}.
 @end ifset
 
 @node Quad
@@ -5309,10 +5309,10 @@ section is executable
 section is used for thread local storage
 @end table
 
-This directive replaces the current section and subsection.  The replaced
-section and subsection are pushed onto the section stack.  See the contents of
-the gas testsuite directory @code{gas/testsuite/gas/elf} for some examples of
-how this directive and the other section stack directives work.
+This directive replaces the current section and subsection.  See the
+contents of the gas testsuite directory @code{gas/testsuite/gas/elf} for
+some examples of how this directive and the other section stack directives
+work.
 @end ifset
 @end ifset
 


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