aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-01-30 17:22:41 +0000
committerNick Clifton <nickc@redhat.com>2018-01-30 17:22:41 +0000
commitfcabedd5cb9079268d34b47489a8e4ee669f6868 (patch)
tree108af0f40124489afb2baa650fe68ab275260310 /binutils
parentc81e88797907fc0698abec09767e49cee33b2bd5 (diff)
downloadgdb-fcabedd5cb9079268d34b47489a8e4ee669f6868.zip
gdb-fcabedd5cb9079268d34b47489a8e4ee669f6868.tar.gz
gdb-fcabedd5cb9079268d34b47489a8e4ee669f6868.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/doc/binutils.texi7
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