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:45

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

Log message:
ld.so/sparc64: preserve unaligned relocation byte order

The unaligned relocation path reconstructs the relocation target in
SPARC byte order, but writes the adjusted value back least significant
byte first; this reverses R_SPARC_UA64 results on a big endian target.
Write the value back in target byte order, so relocated function
pointers retain their canonical representation.

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.