From owner-freebsd-current Fri Nov 8 17:22:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6B1D37B401 for ; Fri, 8 Nov 2002 17:22:15 -0800 (PST) Received: from encontacto.net (adsl-64-173-182-158.dsl.mtry01.pacbell.net [64.173.182.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 527F443E3B for ; Fri, 8 Nov 2002 17:22:14 -0800 (PST) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by encontacto.net with local; Fri, 08 Nov 2002 17:22:14 -0800 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) by Mail.EnContacto.Net (IMP) with HTTP for ; Fri, 8 Nov 2002 17:22:13 -0800 Message-ID: <1036804933.3dcc6345d4372@Mail.EnContacto.Net> X-Priority: 3 (Normal) Date: Fri, 8 Nov 2002 17:22:13 -0800 From: eculp@encontacto.net To: Brooks Davis Cc: "M. Warner Losh" , "eischen@pcnet1.pcnet.com" , "ataraxia@cox.net" , "current@FreeBSD.ORG" Subject: Re: [PATCH] note the __sF change in src/UPDATING References: <20021108.142609.112624839.imp@bsdimp.com> <20021108.161606.79869853.imp@bsdimp.com> <20021108170523.B10496@Odin.AC.HMC.Edu> In-Reply-To: <20021108170523.B10496@Odin.AC.HMC.Edu> MIME-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 64.173.182.155 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Brooks Davis : | On Fri, Nov 08, 2002 at 04:16:06PM -0700, M. Warner Losh wrote: | > I'd love for there to be a way to know which binaries use __sF. | | The following script run on your bin, sbin, lib, and libexec directories | does a pretty decent job of finding files that contain refrences to __sF | and listing the ports that use them (depend on portupgrade). | | -- Brooks | | | #!/bin/sh | | sym=__sF | | for file in $*; do | if [ -n "`nm ${file} 2>&1 | egrep " ${sym}$"`" ]; then | echo ${file} `pkg_which $file` | fi | done | FWIW, while playing with the script I found libc_p.a from today's build. ed BTW, I did remove the $ from $*. I thought it was running too fast :-) -- ------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message