I'm using the aarch64-none-eabi toolchain. The start code seems to be resetting the stack pointer to 0, even though the stack pointer is already configured when I call the code. If I jump and start execution 3 or 4 instructions in, past the stack pointer initialization, it works fine.
↧