5.1.6.3 Reserved Section Names with Implied Attributes [DD]
The following section names are available for user applications and are recognized to have implied attributes:
Reserved Name | Implied Attribute(s) | Support |
---|---|---|
.text |
code |
All |
.data |
data |
All |
.bss |
bss |
All |
.xbss |
bss ,
xmemory |
30/33 |
.xdata |
data ,
xmemory |
30/33 |
.nbss |
bss ,
near |
All |
.ndata |
data ,
near |
All |
.ndconst |
data ,
near |
All |
.pbss |
bss ,
persist |
All |
.dconst |
data |
All |
.ybss |
bss ,
ymemory |
30/33 |
.ydata |
data ,
ymemory |
30/33 |
.const |
psv |
All |
.eedata |
eedata |
30 |
All = Supported on all
devices 30 = Supported on dsPIC30F DSCs 33x = Supported on dsPIC33x DSCs |
Reserved section names may be used with explicit attributes. If the explicit attribute(s) conflict with any implied attribute(s), an error will be reported.
Implied attributes for reserved section names other than
[.text
, .data
, .bss
] are
deprecated. A warning will be issued if these names are used without explicit
attributes.