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)
Mon, Apr 21, 8:37 PM
Unknown Object (File)
Sat, Apr 19, 12:26 PM
Unknown Object (File)
Thu, Apr 17, 9:36 PM
Unknown Object (File)
Thu, Apr 10, 7:00 PM
Unknown Object (File)
Mar 14 2025, 4:08 AM
Unknown Object (File)
Mar 11 2025, 12:25 AM
Unknown Object (File)
Feb 27 2025, 7:17 PM
Unknown Object (File)
Feb 9 2025, 11:30 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