补充: 在NIOS II IDE中工程的System Library选项中的这几个选项代表的意思 .text .rodata .rwdata 与reset .exception这几个地址之间的关系是什么? text : 代码区 .rodata:只读数据区,一般存放静态全局变量 .rwdata:可读写变量数据区另外还有.bss:存放未被初始化的变量。 ■ .text — the actual executable code ■ .rodata — any read only data used in the execution of the code ■ .rwdata — where read/write variables and pointers are stored ■ heap — where dynamically allocated memory is located ■ stack — where function call parameters and other temporary data is stored
|