HomeFreeBSD

i386 loaders: avoid lld 13 garbage collecting linker sets

Description

i386 loaders: avoid lld 13 garbage collecting linker sets

Because lld 13 and higher default to garbage collecting start/stop
symbols when using --gc-sections, the linker sets used in the i386 boot
loaders will disappear. This leads to the loaders not recognizing any
commands, and failure to boot.

Until we have a good set of linker scripts for the loaders, work around
it by disabling the start-stop-gc feature.

(cherry picked from commit c90cab0d668af5d947054e47184d4f8dcb874ec8)

Details

Provenance
dimAuthored on Sep 8 2021, 12:04 PM
Parents
R10:719cb45e82be: openssh: simplify login class restrictions
Branches
Unknown
Tags
Unknown