From owner-freebsd-hackers@freebsd.org Fri May 12 21:37:57 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF0DAD694FD for ; Fri, 12 May 2017 21:37:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 945B9C8C; Fri, 12 May 2017 21:37:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id v4CLbu8h082471 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 12 May 2017 14:37:56 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id v4CLbucT082470; Fri, 12 May 2017 14:37:56 -0700 (PDT) (envelope-from sgk) Date: Fri, 12 May 2017 14:37:56 -0700 From: Steve Kargl To: Ian Lepore Cc: freebsd-hackers@freebsd.org Subject: Re: nm(1) -- what is 'r'? Message-ID: <20170512213756.GB82390@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20170512212518.GA82236@troutmask.apl.washington.edu> <1494624672.59865.74.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1494624672.59865.74.camel@freebsd.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2017 21:37:57 -0000 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. -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow