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 | All |
.xdata | data ,
xmemory | All |
.nbss | bss ,
near | All |
.ndata | data ,
near | All |
.ndconst | data ,
near | All |
.pbss | bss ,
persist | All |
.dconst | data | All |
.ybss | bss ,
ymemory | All |
.ydata | data ,
ymemory | All |
.const | psv | All |
.eedata | eedata | 30 |
* All = all devices; 30 = dsPIC30; 33X = dsPIC33X |
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.