From owner-freebsd-current Fri Nov 8 17: 5:44 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 B0D7D37B401 for ; Fri, 8 Nov 2002 17:05:42 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3724543E75 for ; Fri, 8 Nov 2002 17:05:42 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id gA915Ns7024290; Fri, 8 Nov 2002 17:05:23 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id gA915Nv6024288; Fri, 8 Nov 2002 17:05:23 -0800 Date: Fri, 8 Nov 2002 17:05:23 -0800 From: Brooks Davis To: "M. Warner Losh" Cc: eischen@pcnet1.pcnet.com, ataraxia@cox.net, current@FreeBSD.ORG Subject: Re: [PATCH] note the __sF change in src/UPDATING Message-ID: <20021108170523.B10496@Odin.AC.HMC.Edu> References: <20021108.142609.112624839.imp@bsdimp.com> <20021108.161606.79869853.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021108.161606.79869853.imp@bsdimp.com>; from imp@bsdimp.com on Fri, Nov 08, 2002 at 04:16:06PM -0700 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu 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 --SkvwRMAIpAhPCcCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --SkvwRMAIpAhPCcCJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9zF9SXY6L6fI4GtQRAouWAKCwpqUIi1XbLeNCxrywYQZTcxdo5ACggEMG rfA9BFDqJDIu0t1NWcwo4FY= =Tl1m -----END PGP SIGNATURE----- --SkvwRMAIpAhPCcCJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message