Data section definitions on 5282

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data section definitions on 5282

1,397 Views
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
 
 
Labels (1)
0 Kudos
Reply
2 Replies

442 Views
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 Kudos
Reply