Date: Sat, 6 Aug 2022 22:25:21 +0000 From: Evgeniy Khramtsov <evgeniy@khramtsov.org> To: Rodrigo Osorio <ros@bebik.net>, FreeBSD-ports@FreeBSD.org Subject: Re: Examples of ports with text relocations Message-ID: <20220806222521.ysnv5fxzteus4jpd@vax.khramtsov.org> In-Reply-To: <20220806222238.exywypxffnqemg6a@vax.khramtsov.org> References: <20220806205334.swr6rrd7j3xdutj2@vax.khramtsov.org> <1cedcc5b-ac7e-f1e5-3fe9-678440496f51@bebik.net> <20220806222238.exywypxffnqemg6a@vax.khramtsov.org>
next in thread | previous in thread | raw e-mail | index | archive | help
(forgot to mail the list again...) > > Does anyone know any ports that have text relocations? > > > > I collect a list, but would prefer avoid downloading > > every package and checking locally. I need several > > examples. I couldn't find any locally. > > > > Thanks. > > > Hi Evgeniy, > > What do you mean by text relocation in a port? > > Cheers, > -- rodrigo Hi Rodrigo, Something like: textrel.sh: #!/bin/sh if [ -n "$(readelf -a "$1" 2>/dev/null | grep -F TEXTREL)" ]; then echo "$1" >> "$2" fi find /usr/local -exec ./textrel.sh {} output.txt \;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220806222521.ysnv5fxzteus4jpd>