You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Handle static PIE in `startup_tls_info`.
In static PIE mode, we don't get a `PT_PHDR` segment, but we do get a
`PT_DYNAMIC` segment, and we can compare that against the `_DYNAMIC`
symbol that the linker creates and dynamic linker relocates to learn
our virtual address offset.
* Use wrapping arithmetic when computing the TLS base.
This makes the code independent of whether the offset is positive or
negative.
0 commit comments