Page MenuHomeFreeBSD

linux: fix architecture returned for uname on aarch64
ClosedPublic

Authored by trasz on May 27 2021, 12:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 5, 9:23 AM
Unknown Object (File)
Thu, May 2, 12:07 AM
Unknown Object (File)
Thu, May 2, 12:03 AM
Unknown Object (File)
Wed, May 1, 11:55 PM
Unknown Object (File)
Wed, May 1, 11:55 PM
Unknown Object (File)
Wed, May 1, 10:42 PM
Unknown Object (File)
Wed, May 1, 10:10 PM
Unknown Object (File)
Tue, Apr 30, 8:46 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39517
Build 36406: arc lint + arc unit

Event Timeline

Seems to be extra changes still, relative to the commit message?

Hm, can you point me at the exact line?

I mean AT_PAGESZ and LINUX_AT_HWCAP2, lines 175 and 189.

Ah, sorry. I've removed AT_HWCAP2; the AT_PAGESZ was there before, just out of order.

This revision is now accepted and ready to land.May 28 2021, 1:35 PM