aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-09-24 14:23:39 +0100
committerNick Clifton <nickc@redhat.com>2020-09-24 14:23:39 +0100
commita2ab58313a248e4848c69c8d11ff547539a3c46f (patch)
tree994332179fca09db2690eae04eddea498ca44461
parentf3034e25fa98d44b775970f40c9ec85eeae096e6 (diff)
downloadgdb-a2ab58313a248e4848c69c8d11ff547539a3c46f.zip
gdb-a2ab58313a248e4848c69c8d11ff547539a3c46f.tar.gz
gdb-a2ab58313a248e4848c69c8d11ff547539a3c46f.tar.bz2
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.
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/doc/binutils.texi3
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5e8eb98..c871e17 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 837b759..2e0d1fb 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