This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH] Add R_AARCH64_P32_MOVW_PREL_* ELF32 relocs
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>, Binutils <binutils at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Fri, 14 Jun 2019 10:35:08 +0000
- Subject: RE: [PATCH] Add R_AARCH64_P32_MOVW_PREL_* ELF32 relocs
- References: <69637a42-1944-906a-b0fe-00c1e2b3c396@arm.com>
Hi Szabolcs,
The patch looks OK to me but I'm not a maintainer so you still require approval to commit.
Cheers,
Tamar
> -----Original Message-----
> From: binutils-owner@sourceware.org <binutils-owner@sourceware.org>
> On Behalf Of Szabolcs Nagy
> Sent: Tuesday, June 11, 2019 10:54
> To: Binutils <binutils@sourceware.org>
> Cc: nd <nd@arm.com>
> Subject: [PATCH] Add R_AARCH64_P32_MOVW_PREL_* ELF32 relocs
>
> These ilp32 relocations were missing for some reason.
>
> bfd/ChangeLog:
>
> 2019-06-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> * elfnn-aarch64.c: Enable MOVW_PREL relocs for ELF32.
>
> include/ChangeLog:
>
> 2019-06-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> * elf/aarch64.h (R_AARCH64_P32_MOVW_PREL_G0): Define.
> (R_AARCH64_P32_MOVW_PREL_G0_NC): Define.
> (R_AARCH64_P32_MOVW_PREL_G1): Define.
>
> ld/ChangeLog:
>
> 2019-06-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
> * testsuite/ld-aarch64/emit-relocs-22.d: New test.
> * testsuite/ld-aarch64/emit-relocs-22.s: New test.
> * testsuite/ld-aarch64/emit-relocs-23.d: New test.
> * testsuite/ld-aarch64/emit-relocs-23.s: New test.