This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [BFD][AARCH64]Disallow R_AARCH64_ABS32(LP64) & R_AARCH64_ABS16 in const section of shared object
- From: Nick Clifton <nickc at redhat dot com>
- To: Renlin Li <renlin dot li at foss dot arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Wed, 6 Dec 2017 12:36:05 +0000
- Subject: Re: [BFD][AARCH64]Disallow R_AARCH64_ABS32(LP64) & R_AARCH64_ABS16 in const section of shared object
- Authentication-results: sourceware.org; auth=none
- References: <59E72FAB.6000804@foss.arm.com> <59EA0808.30009@foss.arm.com> <1b11ba5a-e794-a0ff-7a1c-2f856330d0fa@foss.arm.com>
Hi Renlin,
> Ping ~
Oopsie, sorry,
>>> ld/ChangeLog:
>>>
>>> 2017-10-18 Renlin Li <renlin.li@arm.com>
>>>
>>> * testsuite/ld-aarch64/aarch64-elf.exp: Run new test cases.
>>> * testsuite/ld-aarch64/emit-relocs-258-dyn-bad.d: New.
>>> * testsuite/ld-aarch64/emit-relocs-258.s: New.
>>> * testsuite/ld-aarch64/emit-relocs-259-dyn-bad.d: New.
>>> * testsuite/ld-aarch64/emit-relocs-259.s: New.
>>> * testsuite/ld-aarch64/gc-relocs-257.s: Put R_AARCH64_ABS32,
>>> R_AARCH64_ABS16 data into data section.
>>>
>>> bfd/ChangeLog:
>>>
>>> 2017-10-18 Renlin Li <renlin.li@arm.com>
>>>
>>> * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Disallow
>>> BFD_RELOC_AARCH64_16 in shared object const section. Disallow
>>> BFD_RELOC_AARCH64_32 in shared object const section under LP64.
Approved - please apply.
Cheers
Nick