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, Mar 14, 4:08 AM
Unknown Object (File)
Tue, Mar 11, 12:25 AM
Unknown Object (File)
Feb 27 2025, 7:17 PM
Unknown Object (File)
Feb 9 2025, 11:30 AM
Unknown Object (File)
Feb 3 2025, 12:01 AM
Unknown Object (File)
Jan 23 2025, 8:58 PM
Unknown Object (File)
Jan 22 2025, 5:55 AM
Unknown Object (File)
Jan 17 2025, 11:28 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