[PATCH][Binutils][AArch64] Fix regression in Cortex A53 erratum when PIE. (PR ld/23904)
Nick Clifton
nickc@redhat.com
Tue Nov 27 12:08:00 GMT 2018
Hi Tamar,
> Ok for master? and for backport to binutils-2.31?
> bfd/ChangeLog:
> 2018-11-23 Tamar Christina <tamar.christina@arm.com>
>
> PR ld/23904
> * elfnn-aarch64.c (_bfd_aarch64_adrp_p): Use existing constants.
> (_bfd_aarch64_erratum_843419_branch_to_stub): Use _bfd_aarch64_adrp_p.
> (struct erratum_835769_branch_to_stub_clear_data): New.
> (_bfd_aarch64_erratum_843419_clear_stub): New.
> (clear_erratum_843419_entry): New.
> (elfNN_aarch64_tls_relax): Use it.
> (elfNN_aarch64_relocate_section): Pass input_section.
> (aarch64_map_one_stub): Handle branch type none as valid.
>
> ld/ChangeLog:
> 2018-11-23 Tamar Christina <tamar.christina@arm.com>
>
> PR ld/23904
> * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum843419_tls_ie.
> * testsuite/ld-aarch64/erratum843419_tls_ie.d: New test.
> * testsuite/ld-aarch64/erratum843419_tls_ie.s: New test.
Approved for the mainline and for backporting. Please apply.
Cheers
Nick
More information about the Binutils
mailing list