[PATCH] RISC-V: Add special_function for ADD and SUB relocations

Palmer Dabbelt palmer@dabbelt.com
Tue Aug 1 01:22:00 GMT 2017


On Mon, 31 Jul 2017 07:41:43 PDT (-0700), Nick Clifton wrote:
> 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.

Thanks!



More information about the Binutils mailing list