]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340228-r340229, r340231
authorMitchell Horne <mhorne@FreeBSD.org>
Sat, 2 Nov 2019 19:46:39 +0000 (19:46 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Sat, 2 Nov 2019 19:46:39 +0000 (19:46 +0000)
commit2c2f262c8910271ab8aa76a43c5f47f02c463712
tree2b77011b883badc10ae175266e3c100cc561c3f6
parented8df6e70fab2a24d60d0a45d639b85f3c3abfa1
MFC r340228-r340229, r340231

r340228 by jhb:
Enable use of a global shared page for RISC-V.

machine/vmparam.h already defines the SHAREDPAGE constant.  This
change just enables it for ELF executables.  The only use of the
shared page currently is to hold the signal trampoline.

Reviewed by: markj, kib
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D17875

r340229 by jhb:
Drop the legacy ELF brandinfo for the old rtld from arm64 and riscv.

These architectures never shipped binaries with an rtld path of
/usr/libexec/ld-elf.so.1.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D17876

r340231 by jhb:
Enable non-executable stacks by default on RISC-V.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D17878
sys/arm64/arm64/elf_machdep.c
sys/kern/imgact_elf.c
sys/riscv/riscv/elf_machdep.c