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
F157399614: D30500.id89996.diff
Thu, May 21, 12:07 AM
F157389299: D30500.id89997.diff
Wed, May 20, 9:58 PM
F157389035: D30500.id89997.diff
Wed, May 20, 9:55 PM
F157371352: D30500.id90100.diff
Wed, May 20, 5:38 PM
Unknown Object (File)
Sun, May 17, 8:30 AM
Unknown Object (File)
Wed, May 13, 10:22 AM
Unknown Object (File)
Wed, May 13, 4:57 AM
Unknown Object (File)
Mon, May 11, 11:00 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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