Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22265

How do I tell GCC to either not initialize the stack during _start, or manually set it?

$
0
0

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.


Viewing all articles
Browse latest Browse all 22265


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>