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:		Wed Mar  4 19:29:37 UTC 2026

Modified Files:
	src/libexec/ld.elf_so [netbsd-11]: headers.c rtld.c rtld.h

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

	libexec/ld.elf_so/headers.c: revision 1.77
	libexec/ld.elf_so/headers.c: revision 1.79
	libexec/ld.elf_so/rtld.c: revision 1.223
	libexec/ld.elf_so/rtld.c: revision 1.224
	libexec/ld.elf_so/rtld.h: revision 1.155

Support DT_PREINIT_ARRAY which holds a pointer to an array of pointers
to functions that should be executed before the main program starts.

Fix typo in debug output

Don't adjust preinit_array while running the functions.
Requested by christos.


To generate a diff of this commit:
cvs rdiff -u -r1.75.2.2 -r1.75.2.3 src/libexec/ld.elf_so/headers.c
cvs rdiff -u -r1.221.2.1 -r1.221.2.2 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.150 -r1.150.2.1 src/libexec/ld.elf_so/rtld.h

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.