HomeFreeBSD

stand/elf: Only support swapping headers on powerpc.

Description

stand/elf: Only support swapping headers on powerpc.

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
Differential Revision: https://reviews.freebsd.org/D36577

Details

Provenance
impAuthored on Sep 16 2022, 3:10 PM
Differential Revision
D36577: stand/elf: Only support swapping headers on powerpc.
Parents
rG9758dd3de1cd: stand: Allocate bootinfo rather than have it be static
Branches
Unknown
Tags
Unknown