Searched hist:"9 bb9f377846e53a376e8c458411287c092c05411" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/scripts/ |
| H A D | symbolize.py | 9bb9f377846e53a376e8c458411287c092c05411 Tue Feb 18 17:12:31 UTC 2020 Jerome Forissier <jerome@forissier.org> symbolize.py: add -L option to the "file" command
The symbolize script uses the "file" command to identify the architecture of ELF binaries. If the file is a symbolic link (which can happen with shared libraries typically), the command may fail to return the expected output and print "symbolic link to <some path>" instead.
This behavior of the "file" command depends on the environment variable POSIXLY_CORRECT. In order to not depend on this, this commit adds the -L option (follow symlinks).
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|