Date: Fri, 12 May 2017 16:16:58 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Ian Lepore <ian@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: nm(1) -- what is 'r'? Message-ID: <20170512231658.GA82997@troutmask.apl.washington.edu> In-Reply-To: <20170512213756.GB82390@troutmask.apl.washington.edu> References: <20170512212518.GA82236@troutmask.apl.washington.edu> <1494624672.59865.74.camel@freebsd.org> <20170512213756.GB82390@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 12, 2017 at 02:37:56PM -0700, Steve Kargl wrote: > On Fri, May 12, 2017 at 03:31:12PM -0600, Ian Lepore wrote: > > 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). > > > > Thanks. It is indeed very easy to miss. It seems elftoolchain's > nm.1 lacks a description of 'r' and the lowercase/uppercase convention. > This is now in bugzilla. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219245 It should probably go upstream to Elftoolchain. I, however, did not find a reporting mechanism. -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170512231658.GA82997>