This is the mail archive of the binutils-cvs@sourceware.org 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]

[binutils-gdb] Correct local label doc


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9791c250490d7c3c961860419e4436c758a91a21

commit 9791c250490d7c3c961860419e4436c758a91a21
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Aug 13 15:51:51 2015 +0930

    Correct local label doc
    
    	* doc/as.texinfo (Local Labels): Allowed range of N in local
    	labels is non-negative integers, not positive integers.

Diff:
---
 gas/ChangeLog      |  5 +++++
 gas/doc/as.texinfo | 10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 220047c..d5b29f2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-13  Alan Modra  <amodra@gmail.com>
+
+	* doc/as.texinfo (Local Labels): Allowed range of N in local
+	labels is non-negative integers, not positive integers.
+
 2015-08-12  David Weatherford  <weath@cadence.com>
 
 	* config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index dae7424..c2f2f86 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -3707,11 +3707,11 @@ Local labels are different from local symbols.  Local labels help compilers and
 programmers use names temporarily.  They create symbols which are guaranteed to
 be unique over the entire scope of the input source code and which can be
 referred to by a simple notation.  To define a local label, write a label of
-the form @samp{@b{N}:} (where @b{N} represents any positive integer).  To refer
-to the most recent previous definition of that label write @samp{@b{N}b}, using
-the same number as when you defined the label.  To refer to the next definition
-of a local label, write @samp{@b{N}f}---the @samp{b} stands for ``backwards''
-and the @samp{f} stands for ``forwards''.
+the form @samp{@b{N}:} (where @b{N} represents any non-negative integer).
+To refer to the most recent previous definition of that label write
+@samp{@b{N}b}, using the same number as when you defined the label.  To refer
+to the next definition of a local label, write @samp{@b{N}f}.  The @samp{b}
+stands for ``backwards'' and the @samp{f} stands for ``forwards''.
 
 There is no restriction on how you can use these labels, and you can reuse them
 too.  So that it is possible to repeatedly define the same local label (using


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