HomeFreeBSD

Move PLTs to the beginning of amd64 kernel modules.

Description

Move PLTs to the beginning of amd64 kernel modules.

As with .text, the aim is to ensure that executable sections are
segregated from the rest, to avoid creation of writeable and executable
mappings. Recent versions of LLVM emit a PLT in firmware modules.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26444

Details

Committed
markjWed, Sep 16, 1:51 PM
Reviewer
kib
Differential Revision
D26444: Move PLTs to the beginning of amd64 kmods.
Parents
rS365795: MFC r365265:
Branches
Unknown
Tags
Unknown