Just a followup about the whole
_GLOBAL_OFFSET_TABLE_ thing. Apparently this symbol is provided by the linker, so it makes sense that it doesn't work since the AROS linker is actually a custom
ld script known as
collect-aros which doesn't handle position independant code at all.
If we were to ever have real ELF-style shared libraries, this is one thing we'd need to implement. The other thing we'd need is a whole load of stuff in
LoadSeg(), which is our "runtime linker".
Nothing to see here, just some notes for posterity.