Page MenuHomeFreeBSD

arm64: 32-bit compat is little endian, read the correct word
AbandonedPublic

Authored by jmg on Aug 29 2025, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 27, 6:41 PM
Unknown Object (File)
Tue, Feb 24, 1:31 AM
Unknown Object (File)
Jan 29 2026, 8:46 AM
Unknown Object (File)
Jan 12 2026, 10:17 AM
Unknown Object (File)
Dec 31 2025, 1:09 PM
Unknown Object (File)
Dec 13 2025, 6:11 PM
Unknown Object (File)
Dec 5 2025, 6:49 PM
Unknown Object (File)
Nov 20 2025, 9:52 PM
Subscribers

Details

Reviewers
andrew
manu
Summary

Obtained from: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66643
Build 63526: arc lint + arc unit

Event Timeline

jmg requested review of this revision.Aug 29 2025, 5:24 PM

The attached program can be used to test/verify the problem/fix. Compile w/ -m32.

I did try to see if I could run a big endian 32-bit binary, but I couldn't figure out how to compile one, plus, we don't ship big endian libraries anyway, so definitely the old code is wrong.

review didn't get approved before someone else's review got approved and fixed it.