aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/riscv
diff options
context:
space:
mode:
authorStephen J. Kiernan <stevek@FreeBSD.org>2023-10-29 21:13:10 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-04-20 13:52:16 +0000
commit0b56acfc498ed2cc325f6b8debfc7fdc3b03d676 (patch)
treec9b07860b0d19e7b82ab6a371c629f8a5933b0ef /libexec/rtld-elf/riscv
parent7c41358a2b0a2e70a2b61ec347354f3452e4d2f3 (diff)
Diffstat (limited to 'libexec/rtld-elf/riscv')
-rw-r--r--libexec/rtld-elf/riscv/reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/riscv/reloc.c b/libexec/rtld-elf/riscv/reloc.c
index 5ed516bc4337..d806e1ec3d63 100644
--- a/libexec/rtld-elf/riscv/reloc.c
+++ b/libexec/rtld-elf/riscv/reloc.c
@@ -392,7 +392,7 @@ allocate_initial_tls(Obj_Entry *objs)
* use.
*/
tls_static_space = tls_last_offset + tls_last_size +
- RTLD_STATIC_TLS_EXTRA;
+ ld_static_tls_extra;
_tcb_set(allocate_tls(objs, NULL, TLS_TCB_SIZE, TLS_TCB_ALIGN));
}