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)
Fri, Nov 21, 8:06 PM
Unknown Object (File)
Fri, Nov 21, 8:06 PM
Unknown Object (File)
Fri, Nov 21, 8:00 PM
Unknown Object (File)
Nov 9 2025, 6:46 PM
Unknown Object (File)
Nov 9 2025, 1:02 PM
Unknown Object (File)
Nov 7 2025, 10:18 AM
Unknown Object (File)
Nov 3 2025, 11:01 AM
Unknown Object (File)
Nov 3 2025, 5:17 AM
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