CVS: cvs.openbsd.org: src

Kirill A. Korinsky <[email protected]>
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/09 14:02:14

Modified files:
	libexec/ld.so/sparc64: rtld_machine.c 

Log message:
ld.so/sparc64: fix UA64 relocation mask selection

The relocation mask table is indexed by relocation number; the missing
separator after the R_SPARC_6 entry shifts subsequent initializers, so
R_SPARC_UA64 receives the R_SPARC_UA16 mask. Restore the table layout,
otherwise only the low 16 bits of relocated 64 bit pointers survive.

Tested by tb@, OK: kettenis@
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.