Lines 211-217
Link Here
|
211 |
# files with spaces are kept intact. |
211 |
# files with spaces are kept intact. |
212 |
# Using readelf -h ... /ELF Header:/ will match on all ELF files. |
212 |
# Using readelf -h ... /ELF Header:/ will match on all ELF files. |
213 |
find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \ |
213 |
find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \ |
214 |
-exec readelf -S {} + 2>/dev/null | awk ' |
214 |
-exec /usr/bin/readelf -S -- /dev/null {} + 2>/dev/null | awk ' |
215 |
/File:/ {sub(/File: /, "", $0); file=$0} |
215 |
/File:/ {sub(/File: /, "", $0); file=$0} |
216 |
/[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' | |
216 |
/[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' | |
217 |
while read -r f; do |
217 |
while read -r f; do |