Re: How to group objects from static library in a section?
- From: jacob navia <jacob@xxxxxxxxxx>
- Date: Thu, 27 Mar 2008 21:18:30 +0100
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
.
- References:
- How to group objects from static library in a section?
- From: wyse03br
- Re: How to group objects from static library in a section?
- From: jacob navia
- Re: How to group objects from static library in a section?
- From: wyse03br
- How to group objects from static library in a section?
- Prev by Date: Re: The problems in comp.lang.c
- Next by Date: Re: void * vs. T *
- Previous by thread: Re: How to group objects from static library in a section?
- Next by thread: Re: How to group objects from static library in a section?
- Index(es):
Relevant Pages
|