script to match the one for the EFI loader and rewrite __start() in assembly to have gp defined without getting in the way of the compiler.
This loader is quite functional and can load and run kernels. The kernels don't quite work right after loading but that should be easily fixable.