This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][Binutils][AArch64] Fix LD crash on weak and undefined TLS symbols. (PR/24602).
- From: Nick Clifton <nickc at redhat dot com>
- To: Tamar Christina <Tamar dot Christina at arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: nd <nd at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Thu, 22 Aug 2019 11:16:14 +0100
- Subject: Re: [PATCH][Binutils][AArch64] Fix LD crash on weak and undefined TLS symbols. (PR/24602).
- References: <20190819140921.GA5563@arm.com>
Hi Tamar,
> Ok for master? and for backport to binutils-2.32 after some stew?
Approved for both, please apply.
Cheers
Nick
> bfd/ChangeLog:
>
> 2019-08-19 Tamar Christina <tamar.christina@arm.com>
>
> PR ld/24601
> * elfnn-aarch64.c (aarch64_relocate): Handle weak TLS and undefined TLS.
> Also Pass input_bfd to _bfd_aarch64_elf_resolve_relocation.
> * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Use it.
> * elfxx-aarch64.h (_bfd_aarch64_elf_resolve_relocation): Emit warning
> for weak TLS.
>
> ld/ChangeLog:
>
> 2019-08-19 Tamar Christina <tamar.christina@arm.com>
>
> PR ld/24601
> * testsuite/ld-aarch64/aarch64-elf.exp (undef-tls, weak-tls): New.
> * testsuite/ld-aarch64/undef-tls.d: New test.
> * testsuite/ld-aarch64/undef-tls.s: New test.
> * testsuite/ld-aarch64/weak-tls.d: New test.
> * testsuite/ld-aarch64/weak-tls.s: New test.
>