diff options
author | Kuan-Lin Chen <rufus@andestech.com> | 2017-07-31 15:33:48 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-07-31 15:33:48 +0100 |
commit | 575934368531e7592a7576a39a4320d88007ce88 (patch) | |
tree | 8d2f2b91796d01f712ad950ed21d0a6132dd419c /gdb/ada-tasks.c | |
parent | c48a4d983400ade9cfba0531905245eb454afe08 (diff) | |
download | gdb-575934368531e7592a7576a39a4320d88007ce88.zip gdb-575934368531e7592a7576a39a4320d88007ce88.tar.gz gdb-575934368531e7592a7576a39a4320d88007ce88.tar.bz2 |
Improve handling of ADD and SUB relocations on the RISCV target.
* 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.
Diffstat (limited to 'gdb/ada-tasks.c')
0 files changed, 0 insertions, 0 deletions