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@