From: Nick Clifton Date: Tue, 30 Jan 2018 17:22:41 +0000 (+0000) Subject: Update description of nm's symbol bss type letters. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcabedd5cb9079268d34b47489a8e4ee669f6868;p=binutils-gdb.git 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 --git a/binutils/ChangeLog b/binutils/ChangeLog index 213e7833e99..a492487c257 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2018-01-30 Nick Clifton + + 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 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index b862a79f96c..35f672f3ff6 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