This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Mark all weak aliases for copy relocations
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Sun, 26 Jan 2020 14:41:56 +1030
- Subject: Re: [PATCH] Mark all weak aliases for copy relocations
- References: <20200125160210.136389-1-hjl.tools@gmail.com>
On Sat, Jan 25, 2020 at 08:02:10AM -0800, H.J. Lu wrote:
> With copy relocations, mark all weak aliases when marking the non-weak
> definition for reference to one weak alias.
>
> bfd/
>
> PR ld/25458
> * elflink.c (_bfd_elf_gc_mark_rsec): Mark all weak aliases for
> copy relocations.
>
> ld/
>
> PR ld/25458
> * testsuite/ld-elf/pr25458.map: New file.
> * testsuite/ld-elf/pr25458.rd: Likewise.
> * testsuite/ld-elf/pr25458a.s: Likewise.
> * testsuite/ld-elf/pr25458b.s: Likewise.
> * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
OK.
--
Alan Modra
Australia Development Lab, IBM