Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142562383
D50182.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
389 B
Referenced Files
None
Subscribers
None
D50182.diff
View Options
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c
--- a/lib/libc/gen/dlfcn.c
+++ b/lib/libc/gen/dlfcn.c
@@ -229,7 +229,7 @@
return (1);
_once(&dl_phdr_info_once, dl_init_phdr_info);
ti.ti_module = 1;
- ti.ti_offset = 0;
+ ti.ti_offset = -TLS_DTV_OFFSET;
phdr_info.dlpi_tls_data = __tls_get_addr(&ti);
ret = callback(&phdr_info, sizeof(phdr_info), data);
return (ret);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 1:06 AM (15 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27816991
Default Alt Text
D50182.diff (389 B)
Attached To
Mode
D50182: libc: Fix dl_iterate_phdr's dlpi_tls_data for PowerPC and RISC-V
Attached
Detach File
Event Timeline
Log In to Comment