This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Specific location for kernel_mutex.o : linker file issue. Need help !
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Guillaume Aymard <gaymard at scmmicro dot fr>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 17 May 2006 10:37:20 +0200
- Subject: Re: [ECOS] Specific location for kernel_mutex.o : linker file issue. Need help !
- References: <OF032D922D.BF1B23CB-ONC1257171.002D027A-C1257171.002D3EAB@scmmicro.fr>
On Wed, May 17, 2006 at 10:14:09AM +0200, Guillaume Aymard wrote:
> Hi,
>
> My problem is simple. I want to locate the.text section of the
> kernel_mutex.o object (archived in libtarget.a)ina special ram location
> which I call "iram".
> This is a 16kbytes fast ram region, which I want to use as much as
> possible.
> I'vealready located my interrupt stack there, and I want to put in the
> mostused code too. I will start with kernel_mutex, and fill it later
> withother objects. The rest of the code and data will be located in
> aregular (slower) sdram.
> I though I could do this in a blink of an eye by patching targed.ld this
> way (see the ".iram" line)
This is the same question as asked today in the thread:
http://ecos.sourceware.org/ml/ecos-discuss/2006-05/msg00126.html
And the same answer applies.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss