This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] RISC-V: Add special_function for ADD and SUB relocations
- From: Nick Clifton <nickc at redhat dot com>
- To: Palmer Dabbelt <palmer at dabbelt dot com>, binutils at sourceware dot org
- Cc: patches at groups dot riscv dot org, Kuan-Lin Chen <rufus at andestech dot com>
- Date: Mon, 31 Jul 2017 15:41:43 +0100
- Subject: Re: [PATCH] RISC-V: Add special_function for ADD and SUB relocations
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=nickc at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C29EAC058EA9
- References: <20170727030241.22196-1-palmer@dabbelt.com>
Hi Palmer,
> 2017-07-06 Kuan-Lin Chen <rufus@andestech.com>
>
> * elfxx-riscv.c (riscv_elf_add_sub_reloc): New function.
> * (howto_table) [R_RISCV_ADD8]: Use riscv_elf_add_sub_reloc.
> [R_RISCV_ADD16]: Likewise.
> [R_RISCV_ADD32]: Likewise.
> [R_RISCV_ADD64]: Likewise.
> [R_RISCV_SUB6]: Likewise.
> [R_RISCV_SUB8]: Likewise.
> [R_RISCV_SUB16]: Likewise.
> [R_RISCV_SUB32]: Likewise.
> [R_RISCV_SUB64]: Likewise.
Approved and applied.
Cheers
Nick