This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI C/C++编译器
您好,
是否可以仅查看ELF可执行文件来发现它是使用RAM还是ROM自动初始化模式生成的?
例如,在RAM自动初始化的情况下,我是否可以假定".cinit"部分不存在或为空?
(编译器:C6000 7.4。16)
Alberto Chessa 说:在RAM自动初始化的情况下,我是否可以假定".cinit"部分不存在或为空?[/QUOT]
在RAM自动初始化模型中,.cinit部分存在,但为空。 下面是一种查看方法,即在Windows中使用命令提示符...
C:\work\dir>ofd6x --obj_display=none,sections ram_model.out |查找".cinit" 24个。cinit 0x0万 0x0万 0x0 1牛顿
请将其与使用ROM自动初始化模型时的外观进行比较...
C:\work\dir>ofd6x --obj_display=none,sections rom_model.out |查找".cinit" 9个。cinit 0x0.0008万b50 0x0.0008万b50 0x38 8年
谢谢,此致,
-George