EmbDev.net

Forum: ARM programming with GCC/GNU tools scatter load


Author: Kumar Kk (keir)
Posted on:

Rate this post
0 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

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.