Bug 219245 - nm(1) does not document 'r' or lowercase/uppercase convention
Summary: nm(1) does not document 'r' or lowercase/uppercase convention
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Ed Maste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-12 22:18 UTC by sgk
Modified: 2017-05-25 00:35 UTC (History)
1 user (show)

See Also:
emaste: mfc-stable11+
emaste: mfc-stable10-
emaste: mfc-stable9-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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