This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][Binutils][AArch64] Fix LD crash on weak and undefined TLS symbols. (PR/24602).


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.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]