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

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
R10:73c14cc76b5f: Remove history.immutable from .arcconfig
Branches
Unknown
Tags
Unknown