fix(load_objects_recursive): TLS overallocation

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2025-12-27 01:12:07 +11:00
parent a7918b108d
commit 4245e9148e
+1 -1
View File
@@ -819,7 +819,7 @@ impl Linker {
if let Some(master) = tcb_master {
if !dlopened {
self.tls_size += master.offset; // => aligned ph.p_memsz
self.tls_size = master.offset; // => aligned ph.p_memsz
}
tcb_masters.push(master);