Page MenuHomeFreeBSD

loader/efi: Linker sets not needed.
ClosedPublic

Authored by imp on Feb 24 2024, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 5:17 PM
Unknown Object (File)
Nov 18 2024, 9:50 AM
Unknown Object (File)
Nov 18 2024, 7:42 AM
Unknown Object (File)
Nov 12 2024, 6:27 AM
Unknown Object (File)
Sep 28 2024, 7:36 PM
Unknown Object (File)
Sep 17 2024, 10:32 AM
Unknown Object (File)
Sep 15 2024, 11:24 PM
Unknown Object (File)
Sep 15 2024, 4:57 PM
Subscribers

Details

Summary

We don't need linker sets listed as sections. They are explicitly
included in the objcopy we use to create the .efi file. This practice
was added in 2002 by peter@ in a6d81d83a280 to make ia64 builds
self-hosted. However, it was added back to the objcopy in 2010 by rpaulo
in 8df7a05edd36 for i386 EFI support, though the ldscript file then
retained them needlessly. The gcc/binutils bug having been fixed in the
interim. We've not needed them since then, but the redundancy didn't
matater.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56214
Build 53102: arc lint + arc unit