Page MenuHomeFreeBSD

loader/kboot: simplify linker set inclusion a little
ClosedPublic

Authored by imp on Feb 24 2024, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 1:29 AM
Unknown Object (File)
Thu, Oct 9, 12:47 AM
Unknown Object (File)
Wed, Sep 24, 11:43 AM
Unknown Object (File)
Sun, Sep 21, 2:11 AM
Unknown Object (File)
Sep 5 2025, 4:01 AM
Unknown Object (File)
Aug 31 2025, 4:14 PM
Unknown Object (File)
Aug 31 2025, 8:25 AM
Unknown Object (File)
Aug 30 2025, 5:52 PM
Subscribers

Details

Summary

Linker set sections are included by default. No need to do so
explicitly. These were bogusly copied from the efi ldscripts. They were
there due to a workaround introduced in 2002 by peter@ for a gcc
upgrade, but whatever bugs necessitated it were filed by 2010 when
rpaulo@ imported the i386 support (though they were copied even though
the objcopy retained them correctly, the gcc bug having been
fixed). They've never been needed.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable