Section garbage collection problem
H.J. Lu
hjl@lucon.org
Wed Sep 19 13:41:00 GMT 2007
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.
More information about the Binutils
mailing list