summaryrefslogtreecommitdiff
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2006-09-03 05:15:00 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2006-09-03 05:15:00 +0000
commitf6707592ac2a88f3f918f59efc7538ddb7066f0d (patch)
tree830f8242115fd4f822ba7bb2a2bcaaa4430656b2 /libexec/rtld-elf
parentd4a9129d8682199ab9441d99055917adc16fa04c (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/alpha/rtld_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rtld-elf/alpha/rtld_machdep.h b/libexec/rtld-elf/alpha/rtld_machdep.h
index 397139e35ba0..1dc021e02659 100644
--- a/libexec/rtld-elf/alpha/rtld_machdep.h
+++ b/libexec/rtld-elf/alpha/rtld_machdep.h
@@ -60,10 +60,12 @@ Elf_Addr reloc_jmpslot(Elf_Addr *, Elf_Addr,
/* Lazy binding entry point, called via PLT. */
void _rtld_bind_start_old(void);
+#define TLS_TCB_SIZE 16
+
#define round(size, align) \
(((size) + (align) - 1) & ~((align) - 1))
#define calculate_first_tls_offset(size, align) \
- round(16, align)
+ round(TLS_TCB_SIZE, align)
#define calculate_tls_offset(prev_offset, prev_size, size, align) \
round(prev_offset + prev_size, align)
#define calculate_tls_end(off, size) ((off) + (size))