comp.lang.c
[Top] [All Lists]

Re: How to group objects from static library in a section?

Subject: Re: How to group objects from static library in a section?
From: jacob navia
Date: Thu, 27 Mar 2008 21:18:30 +0100
Newsgroups: comp.lang.c


wyse03br@xxxxxxxxxxxx wrote:
   What I am looking for is a way to extend the section attribute
attached to a routine to all its dependencies. There are some
compilers/linkers that allow that (CodeWarrior, but not using
attributes) and GNU linker seems to be equiped for that - there is a
call graph analysis done during --gc-section optimization.

Well, here you need an expert in your specific environment
and the guys that wrote the port of gnu "ld" to your environment.

I am not an expert in "ld" and I can't help you further. In
any case, compiling the libc library with all functions
including this attribute should work but that would be
a significant amount of work. Maybe better options exists.

Just ask to the gnu ld support people.

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy