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] Update description of nm's symbol bss type letters.


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

commit fcabedd5cb9079268d34b47489a8e4ee669f6868
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 30 17:22:41 2018 +0000

    Update description of nm's symbol bss type letters.
    
    	PR 22734
    	* doc/binutils.texi (nm): Update description to point out that
    	zero-initialized values can also be shown as type B, b, S or s
    	since they can be stored in the BSS section.

Diff:
---
 binutils/ChangeLog         | 7 +++++++
 binutils/doc/binutils.texi | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 213e783..a492487 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-30  Nick Clifton  <nickc@redhat.com>
+
+	PR 22734
+	* doc/binutils.texi (nm): Update description to point out that
+	zero-initialized values can also be shown as type B, b, S or s
+	since they can be stored in the BSS section.
+
 2018-01-30  Alan Modra  <amodra@gmail.com>
 
 	* objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index b862a79..35f672f 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -802,7 +802,9 @@ linking.
 
 @item B
 @itemx b
-The symbol is in the uninitialized data section (known as BSS).
+The symbol is in the BSS data section.  This section typically
+contains zero-initialized or uninitialized data, although the exact
+behavior is system dependent.
 
 @item C
 The symbol is common.  Common symbols are uninitialized data.  When
@@ -848,7 +850,8 @@ The symbol is in a read only data section.
 
 @item S
 @itemx s
-The symbol is in an uninitialized data section for small objects.
+The symbol is in an uninitialized or zero-initialized data section
+for small objects.
 
 @item T
 @itemx t


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