aboutsummaryrefslogtreecommitdiff
path: root/cpu/mep.opc
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2024-02-21 02:55:51 +0900
committerNelson Chu <nelson@rivosinc.com>2024-02-29 15:02:53 +0800
commite0f747d5e912f3a7115a578662a7a5a537cd0eae (patch)
treed24b5687c3656092474cecb9ceec3105f21d443b /cpu/mep.opc
parent04d352509cd6d4719bf9d80312228cc6015c410f (diff)
downloadgdb-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