diff options
| author | Fangrui Song <i@maskray.me> | 2021-08-14 17:02:09 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-08-16 10:55:35 +0000 |
| commit | 8f63fa78e84afd23fa68c82eabfe64763c92d4f5 (patch) | |
| tree | 521851f7bfe9bef0d312da397a9a6ea60a94f4a1 /libexec/rtld-elf/riscv | |
| parent | e6c76962031625d51fe4225ecfa15c85155eb13a (diff) | |
Diffstat (limited to 'libexec/rtld-elf/riscv')
| -rw-r--r-- | libexec/rtld-elf/riscv/rtld_machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/riscv/rtld_machdep.h b/libexec/rtld-elf/riscv/rtld_machdep.h index 43349b4ab403..7a087ca2ab7c 100644 --- a/libexec/rtld-elf/riscv/rtld_machdep.h +++ b/libexec/rtld-elf/riscv/rtld_machdep.h @@ -82,6 +82,7 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target, /* * TLS */ +#define TLS_VARIANT_I 1 #define TLS_TP_OFFSET 0x0 #define TLS_DTV_OFFSET 0x800 #define TLS_TCB_SIZE 16 @@ -92,7 +93,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target, TLS_TCB_SIZE #define calculate_tls_offset(prev_offset, prev_size, size, align, offset) \ round(prev_offset + prev_size, align) -#define calculate_tls_end(off, size) ((off) + (size)) #define calculate_tls_post_size(align) 0 typedef struct { |
