diff options
author | Lifang Xia <lifang_xia@c-sky.com> | 2021-04-14 17:18:13 +0800 |
---|---|---|
committer | Lifang Xia <lifang_xia@c-sky.com> | 2021-04-15 10:07:35 +0800 |
commit | f6a1f9574955cd2678c66e658d770adda9331995 (patch) | |
tree | bc3e697800b300e221a0d198413b96da03a358d7 /bfd/elfnn-riscv.c | |
parent | d4015fc5aa122b0de3f23c3b586e967dd2f2e225 (diff) | |
download | binutils-f6a1f9574955cd2678c66e658d770adda9331995.zip binutils-f6a1f9574955cd2678c66e658d770adda9331995.tar.gz binutils-f6a1f9574955cd2678c66e658d770adda9331995.tar.bz2 |
CSKY: Fix special_function in howto table
The special_function for reloc should be 'bfd_elf_generic_reloc',
reloc list:
R_CKCORE_PCREL_IMM16BY2,
R_CKCORE_PCREL_IMM16BY4,
R_CKCORE_PCREL_IMM10BY4,
R_CKCORE_PCREL_IMM18BY2,
R_CKCORE_PCREL_FLRW_IMM8BY4
bfd/
* elf32-csky.c (csky_elf_howto_table)
<R_CKCORE_PCREL_IMM16BY2>: Set special_function to
bfd_elf_generic_reloc.
<R_CKCORE_PCREL_IMM16BY4>: Likewise.
<R_CKCORE_PCREL_IMM10BY4>: Likewise.
<R_CKCORE_PCREL_IMM18BY2>: Likewise.
<R_CKCORE_PCREL_FLRW_IMM8BY4>: Likewise.
Diffstat (limited to 'bfd/elfnn-riscv.c')
0 files changed, 0 insertions, 0 deletions