This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Section garbage collection problem


On Wed, Sep 19, 2007 at 02:07:27PM +0200, Andi Kleen wrote:
> 
> The bigger problem is telling ld that it can drop smp_locks
> snippets which only points to otherwise unused functions. Don't know
> of a solution for that. But if it's not done then any function
> with any such section refering to it couldn't be discarded.
> 

Have you trie put smp_locks and unused function in the same
comdat group?


H.J.


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