HomeFreeBSD

Formalize the use of linker scripts for kernel modules.

Description

Formalize the use of linker scripts for kernel modules.

Automatically apply ldscript.kmod.${MACHINE_ARCH} if it exists.
We already have an i386-specific linker script; rename it accordingly.

Note that the linker script is applied when the object files are
partially linked. (For amd64 this is also the final link.)

Reviewed by: imp, kib
Discussed with: jhb
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21887

Details

Provenance
markjAuthored on Oct 16 2019, 10:19 PM
Parents
rG6e6d41f20d07: Introduce pmap_change_prot() for amd64.
Branches
Unknown
Tags
Unknown

Event Timeline