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: PATCH: PR ld/13177: garbage collector retains zombie references to external libraries


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.


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