The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=88741a40c8fb515489b3ef61eba221fd7c8bef1b
commit 88741a40c8fb515489b3ef61eba221fd7c8bef1b Author: Baptiste Daroussin <b...@freebsd.org> AuthorDate: 2021-09-23 02:48:50 +0000 Commit: Baptiste Daroussin <b...@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 _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"