PATCH: PR ld/13177: garbage collector retains zombie references to external libraries
H.J. Lu
hjl.tools@gmail.com
Tue Oct 18 19:08:00 GMT 2011
On Mon, Oct 17, 2011 at 3:59 PM, Alan Modra <amodra@gmail.com> wrote:
> On Mon, Oct 17, 2011 at 10:21:37AM -0700, H.J. Lu wrote:
>> Should we make elf_gc_sweep_symbol target dependent to take ABI
>> differences into account?
>
> No. I believe the only solution to this PR is marking symbols used by
> relocs in kept sections. I'm quite certain the existing code in
> elf_gc_sweep_symbol will break corner cases on powerpc64-linux,
> hppa-linux and probably other targets. Modifying what we have there,
> even with a target hook, won't work.
>
> You should revert your patch on the branch, and I'll continue with the
> symbol marking change for mainline. This will likely mean that 2.22
> goes out without this PR fixed.
>
Done.
--
H.J.
More information about the Binutils
mailing list