User`s guide
Pragmas for the DSP56800 and DSP56800E
Pragma Reference
388
Targeting MC56F83xx/DSP5685x Controllers
This pragma does not correspond to any setting in the C/C++ Language panel. To
check the global optimizer, use __option (gcc_extensions), described in
Checking Settings
. By default, this pragma is disabled.
initializedzerodata
Controls the section where zero-initialized global variables are emitted.
Prototype
#pragma initializedzerodata on | off | reset
Remarks
If you enable this pragma, zero-initilaized global variables are emitted to the .data
section (which is normally stored in ROM) instead of the .BSS section. This results in
a larger ROM image. This pragma should be enabled if customized startup code is
used and it does not initialize the .BSS section. The .BSS section is initialized to zero
by the default CodeWarrior startup code.
This pragma does not correspond to any setting in the C/C++ Language
panel. To
check this setting, use __option(initializedzerodata), described in
Checking Settings
. By default, this pragma is disabled.
NOTE
The pragmas initializedzerodata and
explicit_zero_data are the same, however, the preferred
syntax is explicit_zero_data.
inline_bottom_up
Controls the bottom-up function inlining method.
Prototype
#pragma inline_bottom_up on | off | reset