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
F135198443: D44060.diff
Fri, Nov 7, 10:18 AM
Unknown Object (File)
Mon, Nov 3, 11:01 AM
Unknown Object (File)
Mon, Nov 3, 5:17 AM
Unknown Object (File)
Fri, Oct 31, 4:03 AM
Unknown Object (File)
Sun, Oct 26, 4:00 PM
Unknown Object (File)
Wed, Oct 22, 1:01 PM
Unknown Object (File)
Sat, Oct 11, 1:29 AM
Unknown Object (File)
Oct 9 2025, 12:47 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