Page MenuHomeFreeBSD

stand/elf: Only support swapping headers on powerpc.
ClosedPublic

Authored by imp on Sep 14 2022, 7:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 14, 11:55 AM
Unknown Object (File)
Fri, Dec 12, 11:25 PM
Unknown Object (File)
Nov 27 2025, 11:04 PM
Unknown Object (File)
Nov 23 2025, 6:00 AM
Unknown Object (File)
Nov 15 2025, 11:29 AM
Unknown Object (File)
Oct 29 2025, 2:52 PM
Unknown Object (File)
Oct 29 2025, 1:10 PM
Unknown Object (File)
Oct 29 2025, 1:10 PM
Subscribers

Details

Summary

Powerpc is currently the only architecture that we support more than one
endian. It's the only one that benefits from this swapping, so restrict
the code to there. This saves about 1k in the i386 BIOS loader.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 47393
Build 44280: arc lint + arc unit