HomeFreeBSD

zfs/powerpc64: Fix big-endian powerpc64 asm

Description

zfs/powerpc64: Fix big-endian powerpc64 asm

The powerpc asm from openzfs assumes that big-endian is always ELFv1 and
ELFv2 is always little-endian, while FreeBSD uses ELFv2 everywhere. Add
the necessary bits to the checksum asm to work on big-endian ELFv2.

This was also submitted upstream as PR#14779.

Tested by: dbaio

Details

Provenance
jhibbitsAuthored on Apr 13 2023, 3:26 PM
Parents
rG33906122e1ff: nfsuserd.c: Replace slave with server
Branches
Unknown
Tags
Unknown