Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  8 Nov 2002 17:22:13 -0800
From:      eculp@encontacto.net
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, "eischen@pcnet1.pcnet.com" <eischen@pcnet1.pcnet.com>, "ataraxia@cox.net" <ataraxia@cox.net>, "current@FreeBSD.ORG" <current@FreeBSD.ORG>
Subject:   Re: [PATCH] note the __sF change in src/UPDATING
Message-ID:  <1036804933.3dcc6345d4372@Mail.EnContacto.Net>
In-Reply-To: <20021108170523.B10496@Odin.AC.HMC.Edu>
References:  <20021108.142609.112624839.imp@bsdimp.com> <Pine.GSO.4.10.10211081806220.10745-100000@pcnet1.pcnet.com> <20021108.161606.79869853.imp@bsdimp.com> <20021108170523.B10496@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Brooks Davis <brooks@one-eyed-alien.net>:

 | 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036804933.3dcc6345d4372>