[Bug 254774] [rtld] dl_iterate_phdr: dlpi_tls_data should be the iterated module's TLS image instead of TLS initialization image

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 5 03:45:53 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254774

--- Comment #5 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to maskray from comment #4)
No, I do not mean initial exec vs dynamic tls.  I mean, dl_iterate_phdr()
dlpi_tls_data value in static _binary_ vs dynamic binary.

The patch I posted is for dynamic binaries case.  For static linking of
final executable, where ld -static is used, I did some WIP but more efforts
are required to finish fixing dlpi_tls_data.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list