From a2ab58313a248e4848c69c8d11ff547539a3c46f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 24 Sep 2020 14:23:39 +0100 Subject: [PATCH] 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. --- 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 + + PR 26662 + * doc/binutils.texi (nm): Document that 'c' is used for small + common symbols. + 2020-09-21 Ludovic Courtès * 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 -- 2.30.2