This is the mail archive of the
mailing list for the binutils project.
Re: PATCH: PR ld/13177: garbage collector retains zombie references to external libraries
On Mon, Oct 17, 2011 at 3:59 PM, Alan Modra <firstname.lastname@example.org> 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.