summaryrefslogtreecommitdiff
path: root/usr.bin/elfctl
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-08-23 19:47:27 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-08-23 19:47:27 +0000
commitbc6f027a39c4c7c2758de8f9d185653cad757784 (patch)
tree27e25ccaab3ad76eae2337e2524af3faa1b9d6f9 /usr.bin/elfctl
parent2b313da3bdefa33ac33b612a1169af70ca10a32d (diff)
downloadsrc-test-bc6f027a39c4c7c2758de8f9d185653cad757784.tar.gz
src-test-bc6f027a39c4c7c2758de8f9d185653cad757784.zip
Reserve FreeBSD ELF feature control bit LA48 to control VA layout on amd64.
Tested by: pho Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D25273
Notes
Notes: svn path=/head/; revision=364517
Diffstat (limited to 'usr.bin/elfctl')
-rw-r--r--usr.bin/elfctl/elfctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/elfctl/elfctl.c b/usr.bin/elfctl/elfctl.c
index f371d9cd6f522..591258fad7290 100644
--- a/usr.bin/elfctl/elfctl.c
+++ b/usr.bin/elfctl/elfctl.c
@@ -67,6 +67,7 @@ static struct ControlFeatures featurelist[] = {
"Disable implicit PROT_MAX" },
{ "stackgap", NT_FREEBSD_FCTL_STKGAP_DISABLE, "Disable stack gap" },
{ "wxneeded", NT_FREEBSD_FCTL_WXNEEDED, "Requires W+X mappings" },
+ { "la48", NT_FREEBSD_FCTL_LA48, "amd64: Limit user VA to 48bit" },
};
static struct option long_opts[] = {