With MW compiler I can specify attributes for a section with following pragma.
#pragma section R ".hello"
__declspec(section ".hello") int const world = 42;
With GCC compiler I know equivalent for specifying section.
__attribute__ ((section (".hello"))) int const world = 42;
What would be the equivalent for specifying that R attribute with GCC compiler?
GCC is 4.8.2 (gcc-4.8.2-Ee500v2-eabispe) and MW compiler is 4.3 build 278. Both supplied with CW 10.4.