diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2024-02-21 02:55:50 +0900 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2024-02-29 15:02:51 +0800 |
commit | 04d352509cd6d4719bf9d80312228cc6015c410f (patch) | |
tree | 13332ccdf9f626cfe4ab78325ccb906ff327bdb8 /bfd | |
parent | dc1470f1d8779e151fb231639014597582bb7f4e (diff) | |
download | gdb-04d352509cd6d4719bf9d80312228cc6015c410f.zip gdb-04d352509cd6d4719bf9d80312228cc6015c410f.tar.gz gdb-04d352509cd6d4719bf9d80312228cc6015c410f.tar.bz2 |
RISC-V: Add assembly support for TLSDESC.
gas/
* tc-riscv.c (percent_op_*): Add support for %tlsdesc_hi,
%tlsdesc_load_lo, %tlsdesc_add_lo and %tlsdesc_call. percent_op_rtype
renamed to percent_op_relax_only as this matcher is extended to handle
jalr as well which is not R-type.
(riscv_ip): Apply the percent_op_relax_only rename and update comment.
(md_apply_fix): Add TLSDESC_* to relaxable list. Add TLSDESC_HI20 to
TLS relocation check list.
* testsuite/gas/riscv/tlsdesc.*: New test cases for TLSDESC relocation
generation.
opcodes/
* riscv-opc.c (riscv_opcodes): Add a new syntax for jalr with
%tlsdesc_call annotations.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions