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
rG34a3091cc3b6: Turn off acpi_timer_test on !i386 by default
Branches
Unknown
Tags
Unknown