This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


foolo <olof.andersson@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]