Re: Linker question. How to change memory section for functions that comes from a ".a" library?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for answering.
I have now tried different variants of your suggestion, however I see
no change in the resulting elf file. The functions do not move.
//Olof


2010/12/3 Ian Lance Taylor <iant@xxxxxxxxxx>
>
> foolo <olof.andersson@xxxxxxxxx> writes:
>
> > So the question is:
> > How do i tell the linker to put the needed libgcc functions in a special
> > memory section.
>
> I believe you need to write something like
>    libgcc.a:*
> to match all the objects being pulled in from libgcc.a.  But since
> libgcc.a is coming from some path, you may need something like
>    */libgcc.a:*
>
> Ian



--
Olof Andersson
Mårdtorpsgatan 31
58432 Linköping
tel. +46737049186




--
Olof Andersson
Mårdtorpsgatan 31
58432 Linköping
tel. +46737049186



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux