Does that mean this doesn't work in a freestanding environment? Yet another reason to assiduously avoid global variables. I suppose that's why I never ran into this issue.
> Basically hacks on hacks on hacks
And then there's this insanity right here:
https://blogs.oracle.com/solaris/post/init-and-fini-processi...
I like to imagine that I won't have to actually implement this when I write my ELF loader. Someone please tell me no modern software uses this.