[PATCH v2] PR ld/20828: Move symbol version processing ahead of GC symbol sweep
Alan Modra
amodra@gmail.com
Tue Feb 21 22:52:00 GMT 2017
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
More information about the Binutils
mailing list