4.3.10.10 Section Attribute

The section(section) attribute allocates the object to a user-nominated section rather than allowing the compiler to place it in a default section. If the CCI is enabled (see 3.6.3.4 Ext Option) a more portable macro, __section(section), is available. See 4.14.2 Changing and Linking the Allocated Section for full information on the use of this qualifier.

For example, the following CCI-compliant code places foobar in a unique section called myData:

int __section("myData") foobar;