HomePhabricator

[ELF][RISCV] Support GD/LD/IE/LE TLS models

Description

[ELF][RISCV] Support GD/LD/IE/LE TLS models

RISC-V psABI doesn't specify TLS relaxation. It can be handled the same
way as we handle ARM TLS. RISC-V TLS is even simpler because GD/LD use
the same relocation type.

Reviewed By: jrtc27, ruiu

Differential Revision: https://reviews.llvm.org/D63220

Details

Committed
MaskRayJul 1 2019, 10:12 AM
Reviewer
jrtc27
Differential Revision
D63220: [ELF][RISCV] Support GD/LD/IE/LE TLS models
Parents
rL364812: [ELF][RISCV] Support PLT, GOT, copy and relative relocations
Branches
Unknown
Tags
Unknown