Fixing start address of .data section in a Leon3 program

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 29 13:32:02 UTC 2013


On 2013-11-29 14:36, Rafael Morales wrote:
> The problem is that I want that the " .text" in the top of RAM:||0x40000000.
> And also to fix the ".data" start address to not be just after ".text"
>
> The main idea is to  create a hole between ".text" and ".data"
>
> How it can be done?

You may have a look at the ARM linker command files:

http://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/lpc32xx/startup/linkcmds.lpc32xx_mzx

http://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/shared/startup/linkcmds.base

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list