[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] including libgcc.a at fixed memory location
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] including libgcc.a at fixed memory location |
Date: |
Sat, 28 Aug 2004 21:36:39 -0600 |
On 28 Aug 2004 at 19:21, Simon Han wrote:
> Hi AVR,
> Does anyone know a way to include libgcc.a at fixed memory location?
> I know it is possible to use ldscript for the purpose of fixing memory
> location. Is there a way I can manually include all object files in
> libgcc.a?
> I don't know much about the internal of gcc, but it seems to me that
> not all functions in libgcc.a are included during linking. Is there a
> way to change this default behavior?
>
> Thank you for helping,
> Simon
>
Why would you need to do this? The linker includes functions from libraries
when those
functions are called. Why would you need to link in functions that aren't being
called?