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@