Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2017 15:31:12 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        sgk@troutmask.apl.washington.edu, freebsd-hackers@freebsd.org
Subject:   Re: nm(1) -- what is 'r'?
Message-ID:  <1494624672.59865.74.camel@freebsd.org>
In-Reply-To: <20170512212518.GA82236@troutmask.apl.washington.edu>
References:  <20170512212518.GA82236@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2017-05-12 at 14:25 -0700, Steve Kargl wrote:
> Compiled libm.  Did 'nm catrig.o'.  Found the following:
> 
> 00000008 r pio2_lo
> 00000000 r tiny
> 
> What is 'r' mean?  nm(1) lacks a description.
> 

'R' is for symbols in a read-only data section, and when it's lowercase
that means it's a local symbol (all of which is in nm(1) but easy to
overlook on a quick skim).

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1494624672.59865.74.camel>