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)
Dec 13 2024, 12:14 AM
Unknown Object (File)
Nov 30 2024, 12:48 AM
Unknown Object (File)
Nov 29 2024, 9:41 PM
Unknown Object (File)
Nov 29 2024, 6:36 PM
Unknown Object (File)
Nov 28 2024, 9:11 AM
Unknown Object (File)
Nov 19 2024, 9:19 PM
Unknown Object (File)
Nov 19 2024, 9:19 PM
Unknown Object (File)
Nov 19 2024, 9: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