diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2024-02-21 02:55:51 +0900 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2024-02-29 15:02:53 +0800 |
commit | e0f747d5e912f3a7115a578662a7a5a537cd0eae (patch) | |
tree | d24b5687c3656092474cecb9ceec3105f21d443b /cpu/mep.opc | |
parent | 04d352509cd6d4719bf9d80312228cc6015c410f (diff) | |
download | gdb-e0f747d5e912f3a7115a578662a7a5a537cd0eae.zip gdb-e0f747d5e912f3a7115a578662a7a5a537cd0eae.tar.gz gdb-e0f747d5e912f3a7115a578662a7a5a537cd0eae.tar.bz2 |
RISC-V: Define and use GOT entry size constants for TLS.
As the size calculation is split by global and local symbols, using a
shared constant definition for its size improves clarity.
bfd/
* elfnn-riscv.c: Add macros for sizes of a normal GOT entry, TLS GD and
TLS IE entry.
(allocate_dynrelocs): Replace GOT size expressions with the new
constants.
(riscv_elf_size_dynamic_sections): Likewise.
(riscv_elf_relocate_section): Likewise.
Diffstat (limited to 'cpu/mep.opc')
0 files changed, 0 insertions, 0 deletions