This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2] PR ld/20828: Move symbol version processing ahead of GC symbol sweep
- From: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at imgtec dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, James Cowgill <James dot Cowgill at imgtec dot com>, binutils at sourceware dot org
- Date: Wed, 22 Feb 2017 09:22:19 +1030
- Subject: Re: [PATCH v2] PR ld/20828: Move symbol version processing ahead of GC symbol sweep
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.00.1702210128160.26999@tp.orcam.me.uk>
On Tue, Feb 21, 2017 at 01:46:42AM +0000, Maciej W. Rozycki wrote:
> bfd/
> PR ld/20828
> * elflink.c (bfd_elf_size_dynamic_sections): Move symbol version
> processing ahead of the call to `elf_gc_sweep_symbol'.
>
> ld/
> PR ld/20828
> * testsuite/ld-elf/pr20828-d.sd: New test.
> * testsuite/ld-elf/pr20828-e.sd: New test.
> * testsuite/ld-elf/pr20828-v.od: New test.
> * testsuite/ld-elf/pr20828-v.ver: New test version script.
> * testsuite/ld-elf/pr20828-v.ld: New test linker script.
> * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
> `.gnu.version_d'.
> * testsuite/ld-elf/shared.exp: Run the new tests.
OK to commit. If we find corner cases where the rearranged code
regresses we'll handle that as we find them.
--
Alan Modra
Australia Development Lab, IBM