The CrossWorks C compiler recognises the following #pragma
directives:
-
#pragma codeseg(
segment
) Set
the section name used for code.
-
#pragma dataseg(
segment
) Set
the section name used for initialized data.
-
#pragma constseg(
segment
) Set
the section name used for read-only data.
-
#pragma zeroedseg(
segment
) Set
the section name used for uninitialised, zeroed data.
-
#pragma vectorseg(
segment
) Set
the section name used for interrupt vector tables.
-
#pragma linklib(
library
) Automatically
link a library.