Linker question. How to change memory section for functions that comes from a ".a" library?
Ian Lance Taylor
iant@google.com
Fri Dec 3 16:54:00 GMT 2010
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
More information about the Gcc-help
mailing list