shithub: riscv

Download patch

ref: a0c756078220916db7aef3538502e1d70d4d6a77
parent: fb1eadf6ed68ddf810551057709debbdbfd7938a
author: Jacob Moody <moody@posixcafe.org>
date: Sun Dec 31 18:58:47 EST 2023

libc: add _callmain to share more initialization code

Before each arch had to implement the _privates array
themselves in assembly, which meant it was quite easy
for them to get out of sync. This cleans this up to be
a single enum and shares this initialization code.