Bug 219245

Summary: nm(1) does not document 'r' or lowercase/uppercase convention
Product: Base System Reporter: sgk
Component: miscAssignee: Ed Maste <emaste>
Status: Closed FIXED    
Severity: Affects Many People CC: emaste
Priority: --- Flags: emaste: mfc-stable11+
emaste: mfc-stable10-
emaste: mfc-stable9-
Version: CURRENT   
Hardware: Any   
OS: Any   

Description sgk 2017-05-12 22:18:21 UTC

    
Comment 1 sgk 2017-05-12 22:22:06 UTC
Compiled libm.  Did 'nm catrig.o'.  Found the following:

00000008 r pio2_lo
00000000 r tiny

What does 'r' mean?  nm(1) lacks a description.

A response of freebsd-hacker pointed to the GNU tools nm.1,
but FreeBSD-current uses Elftoolchain's nm.1.

In a second response on freebsd-hackers, I was informed that
a convention exists between uppercase and lowercase.  nm.1
from Elftoolchain does not contain a description of this
convention.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-05-22 01:10:26 UTC
A commit references this bug:

Author: emaste
Date: Mon May 22 01:10:12 UTC 2017
New revision: 318603
URL: https://svnweb.freebsd.org/changeset/base/318603

Log:
  nm: document 'r' symbol type

  PR:		219245
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/contrib/elftoolchain/nm/nm.1
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-05-25 00:34:09 UTC
A commit references this bug:

Author: emaste
Date: Thu May 25 00:34:01 UTC 2017
New revision: 318841
URL: https://svnweb.freebsd.org/changeset/base/318841

Log:
  MFC r318603: nm: document 'r' symbol type

  PR:		219245
  Sponsored by:	The FreeBSD Foundation

Changes:
_U  stable/11/
  stable/11/contrib/elftoolchain/nm/nm.1