From owner-freebsd-hackers@freebsd.org Fri May 12 23:16:59 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 78B27D6A309 for ; Fri, 12 May 2017 23:16:59 +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 52BA51EED; Fri, 12 May 2017 23:16:59 +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 v4CNGwYU083007 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 12 May 2017 16:16:58 -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 v4CNGwvY083006; Fri, 12 May 2017 16:16:58 -0700 (PDT) (envelope-from sgk) Date: Fri, 12 May 2017 16:16:58 -0700 From: Steve Kargl To: Ian Lepore Cc: freebsd-hackers@freebsd.org Subject: Re: nm(1) -- what is 'r'? Message-ID: <20170512231658.GA82997@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20170512212518.GA82236@troutmask.apl.washington.edu> <1494624672.59865.74.camel@freebsd.org> <20170512213756.GB82390@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170512213756.GB82390@troutmask.apl.washington.edu> 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 23:16:59 -0000 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