nm(1) -- what is 'r'?
Ian Lepore
ian at freebsd.org
Fri May 12 21:31:21 UTC 2017
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
More information about the freebsd-hackers
mailing list