git: 88741a40c8fb - main - check-links.sh: treat PIE executable as elf files
Baptiste Daroussin
bapt at FreeBSD.org
Thu Sep 23 02:50:00 UTC 2021
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=88741a40c8fb515489b3ef61eba221fd7c8bef1b
commit 88741a40c8fb515489b3ef61eba221fd7c8bef1b
Author: Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-09-23 02:48:50 +0000
Commit: Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-09-23 02:49:57 +0000
check-links.sh: treat PIE executable as elf files
---
tools/build/check-links.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/build/check-links.sh b/tools/build/check-links.sh
index 06aa8d31d28e..7dc96fa5f082 100755
--- a/tools/build/check-links.sh
+++ b/tools/build/check-links.sh
@@ -49,7 +49,7 @@ fi
mime=$(file -L --mime-type $1)
isbin=0
case $mime in
-*application/x-executable) isbin=1 ;;
+*application/x-executable|*application/x-pie-executable) isbin=1 ;;
*application/x-sharedlib);;
*) echo "Not an elf file" >&2 ; exit 1;;
esac
More information about the dev-commits-src-all
mailing list