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.

为什么OMAPL138平台定义10MByte数组,编译出来文件总是接近2MB

为什么OMAPL138平台定义10MByte数组,编译出来文件总是1.79MB

text段 data段 stack都在ddr 大小有24M

数组已经初始化值,不会存在bss段,且已经引用,不会被编译优化

链接出来的obj文件,也是10.xMB大小,但是out文件总是接近2MB,即使把数组大小弄成20MB,也是接近2MB

目的是:生成一个10MB的目标文件,然后用仿真器load到板子里面,来测试比对两个仿真器的速度