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
F103812380: D36577.id.diff
Fri, Nov 29, 6:36 PM
Unknown Object (File)
Thu, Nov 28, 9:11 AM
Unknown Object (File)
Tue, Nov 19, 9:19 PM
Unknown Object (File)
Tue, Nov 19, 9:19 PM
Unknown Object (File)
Tue, Nov 19, 9:19 PM
Unknown Object (File)
Tue, Nov 19, 5:40 AM
Unknown Object (File)
Tue, Nov 19, 3:56 AM
Unknown Object (File)
Fri, Nov 15, 9:45 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