SunriseOS
SunriseOS copied to clipboard
Add partial aarch64 support to libuser
This is able to make libuser compile with the included target JSON. It does not yet include a crt0 or syscall stub, though preparations for that have been made (I'm not experienced enough with aarch64 assembly).
I've implemented a syscall stub, it was easier than I thought.
figure out aarch64 TLS
https://github.com/sunriseos/SunriseOS/blob/708cb35618e9d00081c5bbd58e99820d3176d4fb/libuser/src/threads.rs#L394-L404