HomeFreeBSD

Apply kernel module linker scripts to firmware files.

Description

Apply kernel module linker scripts to firmware files.

Use a separate make variable to specify the linker script so that it is
only applied at link time and not during intermediate generation of .fwo
files.

This ensures that the .text padding inserted by the amd64 linker script
is applied to the stub module load handlers embedded in firmware
modules.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D22125

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D22125: Apply linker scripts to firmware files.
Parents
rS354095: amd64: move pcb out of kstack to struct thread.
Branches
Unknown
Tags
Unknown