Lines Matching refs:READELF
98 # Find readelf. Any old readelf should do.
99 find_prog readelf
101 if which readelf > /dev/null 2> /dev/null; then
102 prog=readelf
108 READELF="$prog"
111 if test `${READELF} -h ${INFILE} | sed -n -e '/Class:.*ELF32/p' -e '/Type:.*EXEC/p' -e '/Machine:.*SPU/p' -e '/Machine:.*17/p' | sed -n '$='` != 3
117 toe=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *\([0-9]*\)\] *\.toe *[PROGN]*BITS *\([0-9a-f]*\).*,\1 \2,p'`
120 has_ea=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *\([0-9]*\)\] *\._ea *PROGBITS.*,\1,p'`
122 sections=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *\([0-9]*\)\] *[^ ]* *PROGBITS *\([0-9a-f]*\) *\([0-9a-f]*\).*,\1 \2 \3,p'`
126 relas=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *[0-9]*\] *[^ ]* *RELA *[0-9a-f]* *0*\([0-9a-f][0-9a-f]*\).* \([0-9a-f][0-9a-f]*\) *[0-9a-f][0-9a-f]*$,\1 \2,p'`
138 # Find all _EAR_ symbols in .toe using readelf, sort by address, and
151 `${READELF} -s -W ${INFILE} | grep ' _EAR_' | sort -k 2 | awk \
184 `test -z "${relas}" || ${READELF} -r -W ${INFILE} | awk \
246 `${READELF} -s -W ${INFILE} | grep ' _SPUEAR_' | sort -k 2 | awk \