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
F132052574: D36577.diff
Mon, Oct 13, 6:20 AM
Unknown Object (File)
Sun, Oct 12, 12:39 PM
Unknown Object (File)
Sun, Oct 12, 12:39 PM
Unknown Object (File)
Sun, Oct 12, 12:39 PM
Unknown Object (File)
Sun, Oct 12, 1:43 AM
Unknown Object (File)
Thu, Oct 9, 1:11 AM
Unknown Object (File)
Sat, Sep 27, 10:12 AM
Unknown Object (File)
Aug 20 2025, 8:31 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 Not Applicable
Unit
Tests Not Applicable