##### Synopsis

#pragma zeroedseg(" name " | default)

##### Description

The zeroedseg pragma sets the name of the section that the compiler emits uninitialized data into. If the argument to the zeroedseg pragma is a string, a section of that name is created and the compiler emits uninitialized data for all following uninitialized statics or externals into that section. If the argument to zeroedseg is the reserved word default, the compiler selects the default uninitialised data section name.

The default zeroed data section name, if no other directives have been given, is UDATA0. You can change the default zeroed data section name for the whole compilation unit by using the -Rz command line option or by setting the Zeroed Section Name property of the file or project in the CrossStudio development environment.