Page MenuHomeFreeBSD

linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2
ClosedPublic

Authored by trasz on Apr 6 2021, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 1:44 PM
Unknown Object (File)
Sun, Oct 5, 6:55 AM
Unknown Object (File)
Fri, Sep 26, 3:58 AM
Unknown Object (File)
Mon, Sep 15, 7:41 AM
Unknown Object (File)
Sep 8 2025, 4:07 PM
Unknown Object (File)
Sep 6 2025, 1:55 PM
Unknown Object (File)
Aug 26 2025, 11:43 AM
Unknown Object (File)
Aug 24 2025, 6:52 PM
Subscribers

Details

Summary

This should be a no-op; the purpose of this is to reduce
a spurious difference between Linuxulator and Linux, to make
debugging 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable