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)
May 19 2024, 2:57 AM
Unknown Object (File)
May 11 2024, 7:58 PM
Unknown Object (File)
Mar 11 2024, 2:23 PM
Unknown Object (File)
Mar 11 2024, 2:21 PM
Unknown Object (File)
Mar 11 2024, 2:21 PM
Unknown Object (File)
Mar 8 2024, 1:57 AM
Unknown Object (File)
Dec 31 2023, 9:35 PM
Unknown Object (File)
Dec 31 2023, 9:35 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