Hi,
I would like to ask a question about initialization.
The following is from page 227 of SPRU186S, TMS320C6000 Assembly Language Tools v 7.0 User's Guide.
My questions are:
- The initialization routine is within the C run-time library? I have never written it, so it must be.
- Regardless of ram_model or rom_model choice, the initialization routine (in boot.obj) is always linked into the .out file?
- So the difference between load-time initialization and auto- initialization, is only that for load-time initialization cinit -1 is told to the initialization routine, and emulator does its job instead.
So that’s all the difference?
And it is also clear from here that this C run-time initialization routine has nothing to do with bootloader, which is for moving sections into memory, rather than initializing its variables. Correct?
Zheng
