EmbDev.net

Forum: ARM programming with GCC/GNU tools scatter load


von Kumar K. (keir)


Rate this post
useful
not useful
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

von Martin Thomas (Guest)


Rate this post
useful
not useful
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.