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)
Oct 2 2024, 1:33 PM
Unknown Object (File)
Oct 1 2024, 11:48 PM
Unknown Object (File)
Sep 27 2024, 10:58 AM
Unknown Object (File)
Sep 26 2024, 1:04 AM
Unknown Object (File)
Sep 22 2024, 2:11 PM
Unknown Object (File)
Sep 19 2024, 7:38 PM
Unknown Object (File)
Sep 19 2024, 6:09 PM
Unknown Object (File)
Sep 18 2024, 10:19 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