This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ELF/LD: Avoid producing hidden and internal dynamic symbols
- From: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at imgtec dot com>
- Cc: binutils at sourceware dot org, Hans-Peter Nilsson <hp at axis dot com>
- Date: Tue, 5 Apr 2016 10:23:47 +0930
- Subject: Re: [PATCH] ELF/LD: Avoid producing hidden and internal dynamic symbols
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 00 dot 1603311843560 dot 9427 at tp dot orcam dot me dot uk>
On Mon, Apr 04, 2016 at 05:49:00PM +0100, Maciej W. Rozycki wrote:
> bfd/
> PR ld/19908
> * elflink.c (elf_link_add_object_symbols): Always turn hidden
> and internal symbols which have a dynamic index into local
> ones.
>
> ld/testsuite/
> PR ld/19908
> * ld-cris/tls-e-20.d: Adjust for hidden symbol handling fix.
> * ld-cris/tls-e-20a.d: Likewise.
> * ld-cris/tls-e-21.d: Likewise.
> * ld-cris/tls-e-23.d: Likewise.
> * ld-cris/tls-e-80.d: Likewise.
> * ld-cris/tls-gd-3h.d: Likewise.
> * ld-cris/tls-leie-19.d: Likewise.
> * ld-mips-elf/export-class-ref-lib.sd: New test.
> * ld-mips-elf/export-hidden-ref.sd: New test.
> * ld-mips-elf/export-internal-ref.sd: New test.
> * ld-mips-elf/export-protected-ref.sd: New test.
> * ld-mips-elf/export-class-ref-f0.s: New test source.
> * ld-mips-elf/export-class-ref-f1.s: New test source.
> * ld-mips-elf/export-class-ref-f2.s: New test source.
> * ld-mips-elf/mips-elf.exp: Run the new tests.
OK.
--
Alan Modra
Australia Development Lab, IBM