Date: Thu, 23 Sep 2021 02:49:59 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 88741a40c8fb - main - check-links.sh: treat PIE executable as elf files Message-ID: <202109230249.18N2nxtA006712@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=88741a40c8fb515489b3ef61eba221fd7c8bef1b commit 88741a40c8fb515489b3ef61eba221fd7c8bef1b Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-09-23 02:48:50 +0000 Commit: Baptiste Daroussin <bapt@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109230249.18N2nxtA006712>