diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2018-09-05 23:23:16 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2018-09-05 23:23:16 +0000 |
| commit | 17fb2856c30944a10af2e78f70c1ea766256c01b (patch) | |
| tree | 1bdb2c8c9459a239aaa772b123a7ac894943fb29 /libexec/rtld-elf/arm | |
| parent | 9f45c6c12466016abc83457a80ef7d3ffe02d678 (diff) | |
Notes
Diffstat (limited to 'libexec/rtld-elf/arm')
| -rw-r--r-- | libexec/rtld-elf/arm/rtld_machdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/arm/rtld_machdep.h b/libexec/rtld-elf/arm/rtld_machdep.h index 926971c41524..030c83cdc7f4 100644 --- a/libexec/rtld-elf/arm/rtld_machdep.h +++ b/libexec/rtld-elf/arm/rtld_machdep.h @@ -69,6 +69,8 @@ typedef struct { #define calculate_tls_offset(prev_offset, prev_size, size, align) \ round(prev_offset + prev_size, align) #define calculate_tls_end(off, size) ((off) + (size)) +#define calculate_tls_post_size(align) \ + round(TLS_TCB_SIZE, align) - TLS_TCB_SIZE extern void *__tls_get_addr(tls_index *ti); |
