commit | c6c3e8614fad8cdb9807fd311516d70a754bb441 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 18 14:12:31 2023 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Oct 18 14:12:31 2023 -0700 |
tree | f29dd8f5cee6d4708707101d216aa6b9a068be28 | |
parent | 363e743200121ce228909b68247be2d690a46839 [diff] [blame] |
Use the R_RISCV_TLSDESC constant in the linker. Bug: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/94 Test: treehugger Change-Id: I1580686c8381be7dfdb5d7684934a176e0d11d77
diff --git a/linker/linker_relocs.h b/linker/linker_relocs.h index 37a7880..54aad18 100644 --- a/linker/linker_relocs.h +++ b/linker/linker_relocs.h
@@ -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__)