HomeFreeBSD

Don't mark module data as static on RISC-V.

Description

Don't mark module data as static on RISC-V.

Similar to arm64, riscv compiler uses PC-relative loads/stores,
and with static data compiler does not emit relocations.
In result, kernel module linker has nothing to fix and data accessed
from the wrong location.

Approved by: re (gjb)
Sponsored by: DARPA, AFRL

Details

Provenance
brAuthored on
Parents
rS338607: Fix regression in Lazy FPU remediation. [EN-18:08.lazyfpu]
Branches
Unknown
Tags
Unknown