Skip to content

Commit

Permalink
Use the R_RISCV_TLSDESC constant in the linker.
Browse files Browse the repository at this point in the history
Bug: riscv-non-isa/riscv-elf-psabi-doc#94
Test: treehugger
Change-Id: I1580686c8381be7dfdb5d7684934a176e0d11d77
  • Loading branch information
enh-google committed Oct 18, 2023
1 parent 363e743 commit c6c3e86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linker/linker_relocs.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
#define R_GENERIC_TLS_DTPMOD R_RISCV_TLS_DTPMOD64
#define R_GENERIC_TLS_DTPREL R_RISCV_TLS_DTPREL64
#define R_GENERIC_TLS_TPREL R_RISCV_TLS_TPREL64
// TODO: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/94
// #define R_GENERIC_TLSDESC R_RISCV_TLS_DESC
#define R_GENERIC_TLSDESC R_RISCV_TLSDESC

#elif defined (__x86_64__)

Expand Down

0 comments on commit c6c3e86

Please sign in to comment.