At my work we have been using ARM based gcc compilers for a long time. All of the ones we have used in the past included a crt0 which we branched to (_mainCRTStartup) to initialize the stack, heap, process the command line and then branch to main (the stack, heap, etc issued a swi which we handled and did the appropriate action). In the newer toolchains built for embedded (none-eabi) it doesn't seem like crt0 is around anymore. Do I just need to do the things that crt0 did in my own code, or is there a newer method for starting up the C runtime before getting to main?
Thanks for any information you can give me.
Slide
|