This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64] Also puts value in place for R_AARCH64_RELATIVE
- From: Nick Clifton <nickc at redhat dot com>
- To: Jiong Wang <jiong dot wang at foss dot arm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 3 May 2016 11:51:41 +0100
- Subject: Re: [AArch64] Also puts value in place for R_AARCH64_RELATIVE
- Authentication-results: sourceware.org; auth=none
- References: <571DE824 dot 7030501 at foss dot arm dot com> <a14e13bc-99a2-dc14-3ad9-bcf8823f906a at redhat dot com> <57236F50 dot 2040003 at foss dot arm dot com>
Hi Jiong,
> bfd/
> * bfd-in.h (bfd_elf64_aarch64_set_options): Update prototype.
> * bfd-in2.h (bfd_elf64_aarch64_set_options): Likewise.
> * elfnn-aarch64.c (bfd_elfNN_aarch64_set_options): Initialize
> no_apply_dynamic_relocs.
> (elfNN_aarch64_final_link_relocate): Apply absolute relocations even though
> dynamic relocations generated.
>
> ld/
> * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
> * NEWS: Mention --no-apply-dynamic-relocs.
> * ld.texinfo (ld and the ARM family): Document --no-apply-dynamic-relocs.
> * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
> * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
> * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
> * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
> option.
Approved - please apply.
Cheers
Nick