CVS commit: [netbsd-11] src/libexec/ld.elf_so

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Thu Apr  2 17:48:32 UTC 2026

Modified Files:
	src/libexec/ld.elf_so [netbsd-11]: tls.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #216):

	libexec/ld.elf_so/tls.c: revision 1.29

PR/60011: TLS alignment wrong on powerpc

Fix previous where I only got the alignment right for the architectures
where the thread pointer points to the struct tcb. Handle the
architectures that have a thread pointer that is relative to end of the
struct tcb, e.g. powerpc.

Hopefully the commit in the tls.c explains what's going on.

Thanks to riastrah@ and andvar@ for comments/things to fix.


To generate a diff of this commit:
cvs rdiff -u -r1.23.2.1 -r1.23.2.2 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.