Data section definitions on 5282

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Data section definitions on 5282

1,717 次查看
SVC1
Contributor I
Hi,
 
There is very little information in the manuals regarding the data sections.
 
So what is?
 
.bss
.rodata
.sbss
.sbss2
.sdata
.sdata0
 
My guess is:
.bss for Global variables
.rodata for constants
.sbss for static variables
sbss2 ???
sdata ???
sdata0 ???
 
Thanks,
Simon
 
 
标签 (1)
0 项奖励
回复
2 回复数

762 次查看
admin
Specialist II
0 项奖励
回复

762 次查看
CompilerGuru
NXP Employee
NXP Employee
Try searching this forum.

For example:
http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=1844&query.id=14202#M...

there are other good posts for this topic too.

(BTW, and you are wrongly guessing for the .sbss section)

Daniel
0 项奖励
回复