mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
populate: Include dependencies of PIE executables
Modern versions of the 'file' utility give different output for position dependent and position independent executables. The populate tool should consider both types. Signed-off-by: Johan Levin <johan13@gmail.com>
This commit is contained in:
parent
b6887d346f
commit
8fa98eeeff
@ -282,7 +282,7 @@ trap "rm -rf ${CT_TMP_DIR}" EXIT
|
|||||||
|
|
||||||
# List all ELF (executables|shared objects)...
|
# List all ELF (executables|shared objects)...
|
||||||
find . -type f -exec file {} \; \
|
find . -type f -exec file {} \; \
|
||||||
|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),' \
|
|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|pie executable|shared object),' \
|
||||||
|cut -d ":" -f 1 \
|
|cut -d ":" -f 1 \
|
||||||
>"${CT_TMP_DIR}/files.list"
|
>"${CT_TMP_DIR}/files.list"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user