The purpose of .work section

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Oct 8 07:03:22 UTC 2012


On 10/02/2012 05:56 PM, SAeeD wrote:
> According to c/src/lib/libbsp/arm/shared/startup/linkcmds.base, it takes the
> whole space of RAM:
>      RamBase = ORIGIN (REGION_WORK);
>      RamSize = LENGTH (REGION_WORK);
>
> Why the whole space?

It uses the remaining space of the REGION_WORK.  Please have a look at the GNU 
linker manual for the details (see also REGION_ALIAS).

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
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 devel mailing list