summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sem_close.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-09-06 06:44:44 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2022-09-07 08:32:48 +0200
commit1ac7bf149be1e35343b7f5d830d930bd8bd41fcf (patch)
tree7f371ae4bedc9e1a21ff1631158f6fa3419b2de1 /libpthread/nptl/sem_close.c
parent365da5ab379a3e38e196cad370695c4b300cfe51 (diff)
nptl: use mmap to allocate initial TLS data for static PIE on noMMU
Static PIE ELFs may be loaded on noMMU linux platforms with FDPIC support, but they don't have adjustable brk, and thus cannot allocate memory for the TLS. Use mmap instead of sbrk to allocate initial TLS memory when building with static PIE support for noMMU. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libpthread/nptl/sem_close.c')
0 files changed, 0 insertions, 0 deletions