HomeFreeBSD

linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2

Description

linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2

This should be a no-op; the purpose of this is to reduce
a spurious difference between Linuxulator and Linux, to make
debugging core dumps slightly easier.

Note that AT_HWCAP2 we pass to Linux binaries is always 0,
instead of being equal to 'cpu_feature2'. This matches what
I've observed under Ubuntu Focal VM.

Reviewed By: chuck, dchagin
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D29609

(cherry picked from commit ca6e1fa3ce87f56847633530cb94a6fb63405680)

Details

Provenance
traszAuthored on Apr 13 2021, 11:38 AM
Reviewer
chuck
Differential Revision
D29609: linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2
Parents
rG6b3071c70e64: mmc_da: create disk(9) for pre-2.0 SD cards
Branches
Unknown
Tags
Unknown