HomeFreeBSD

For variant II static TLS, properly align tls segments. Pre-calculate

Description

For variant II static TLS, properly align tls segments. Pre-calculate
the max required alignment for the static tls segments, and honor it
when carving the pieces for next module, from the static space. Use
aligned allocator to get properly-aligned dynamic blocks.

Reported by: dt71@gmx.com
Reviewed by: kan
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Dec 6 2013, 9:39 PM
Parents
rGdfe296c43a26: Build an allocator for the aligned memory on top of the rtld-private
Branches
Unknown
Tags
Unknown

Event Timeline