kumar kk wrote:
> Hi all,
> I have a c code to be ported to arm,Iam using winarm tool chain.can any
> tell me is there any compiler option to specify the program as segments.
> Regards
> kk
I'm not realy sure if I understand your qeustion correctly.
Functions and variables can be assigned to sections by attribute. The
location of a section is controlled in the linker/linker-script. See the
gcc-Documentation about data- and function-attributes and the gnu-ld
manual for information about placement of sections.
Martin Thomas