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
F153771911: D36577.diff
Thu, Apr 23, 2:39 PM
Unknown Object (File)
Tue, Apr 21, 4:12 PM
Unknown Object (File)
Mon, Apr 20, 7:30 PM
Unknown Object (File)
Sun, Apr 19, 2:50 PM
Unknown Object (File)
Sat, Apr 11, 5:23 PM
Unknown Object (File)
Sat, Apr 11, 5:20 PM
Unknown Object (File)
Fri, Apr 10, 4:29 PM
Unknown Object (File)
Mon, Apr 6, 1:16 AM
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