[binutils-gdb] Document that the lower case 'c' character in nm's output is used to signify a small common.
Nick Clifton
nickc@sourceware.org
Thu Sep 24 13:24:14 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a2ab58313a248e4848c69c8d11ff547539a3c46f
commit a2ab58313a248e4848c69c8d11ff547539a3c46f
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Sep 24 14:23:39 2020 +0100
Document that the lower case 'c' character in nm's output is used to signify a small common.
PR 26662
* doc/binutils.texi (nm): Document that 'c' is used for small
common symbols.
Diff:
---
binutils/ChangeLog | 6 ++++++
binutils/doc/binutils.texi | 3 +++
2 files changed, 9 insertions(+)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5e8eb987371..c871e17b3dc 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2020-09-24 Nick Clifton <nickc@redhat.com>
+
+ PR 26662
+ * doc/binutils.texi (nm): Document that 'c' is used for small
+ common symbols.
+
2020-09-21 Ludovic Courtès <ludo@gnu.org>
* doc/binutils.texi (objcopy, strip): Say that
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 837b7591b06..2e0d1fb8ead 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -834,6 +834,7 @@ contains zero-initialized or uninitialized data, although the exact
behavior is system dependent.
@item C
+@itemx c
The symbol is common. Common symbols are uninitialized data. When
linking, multiple common symbols may appear with the same name. If the
symbol is defined anywhere, the common symbols are treated as undefined
@@ -842,6 +843,8 @@ references.
For more details on common symbols, see the discussion of
--warn-common in @ref{Options,,Linker options,ld.info,The GNU linker}.
@end ifclear
+The lower case @var{c} character is used when the symbol is in a
+special section for small commons.
@item D
@itemx d
More information about the Binutils-cvs
mailing list