Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/libexec/ld.elf_so
Module Name: src
Committed By: skrll
Date: Sat Jan 17 10:47:45 UTC 2026
Modified Files:
src/libexec/ld.elf_so: tls.c
Log Message:
PR toolchain/59652 DNS utilities core dump in -current
Fix the alignment of TLS initialised data for __HAVE_TLS_VARIANT_I
platforms by registering the largest alignment required and allocating
memory accordingly. Additionally calculate correct offsets for each
object's data relative to the end of the struct tls_tcb placed at the
beginning of the TCB.
This makes the tests/libexec/ld.elf_so:t_tls_alignment pass.
I also tested it against a program that attempts to dlopen a DSO that
(erroneously) attempts to use tls_model("initial-exec") and it correctly
failed with
Use of initialized Thread Local Storage with model initial-exec and dlopen is not supported
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/libexec/ld.elf_so/tls.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index