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)
Thu, Jul 2, 6:13 PM
Unknown Object (File)
Wed, Jul 1, 2:14 AM
Unknown Object (File)
Mon, Jun 29, 11:00 AM
Unknown Object (File)
Sun, Jun 28, 7:42 AM
Unknown Object (File)
Sat, Jun 27, 3:37 PM
Unknown Object (File)
Wed, Jun 24, 2:21 AM
Unknown Object (File)
Mon, Jun 22, 11:15 PM
Unknown Object (File)
May 7 2026, 12:17 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