Re: Examples of ports with text relocations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Aug 2022 22:25:21 UTC
(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 \;