HomeFreeBSD

linux: fix architecture returned for uname on aarch64

Description

linux: fix architecture returned for uname on aarch64

Previously it would return "arm64", which was breaking build
for Linux kernel. While here, reshuffle entries in the auxv
vector to match real Linux.

Reviewed By: emaste
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30500

(cherry picked from commit aa462cab60c8957a97f612d36ac0a4dfa501bbbe)

Details

Provenance
traszAuthored on May 28 2021, 11:01 PM
Reviewer
emaste
Differential Revision
D30500: linux: fix architecture returned for uname on aarch64
Parents
rG2ffd6857cca0: rc: make the 'linux' script explicitly load filesystem modules
Branches
Unknown
Tags
Unknown