Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2021 03:45:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254774] [rtld] dl_iterate_phdr: dlpi_tls_data should be the iterated module's TLS image instead of TLS initialization image
Message-ID:  <bug-254774-227-tbGmPorBIK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254774-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254774-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254774

--- Comment #5 from Konstantin Belousov <kib@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254774-227-tbGmPorBIK>