Correct problem in riscv64 dtors execution load the function pointer
authordrahn <drahn@openbsd.org>
Sun, 16 May 2021 16:00:50 +0000 (16:00 +0000)
committerdrahn <drahn@openbsd.org>
Sun, 16 May 2021 16:00:50 +0000 (16:00 +0000)
commit94ffa4e95910efd870ef58e9e76331d77476447b
tree8cd7e18cb2c09979cbbe34323c4abdf934d59e0e
parent7b133c71d1f99377b8bcc62ed304be9e5ed79e80
Correct problem in riscv64 dtors execution load the function pointer
correctly and do not overwrite it in csu.
allows most ld.so regressions to pass
confirmed by jsg@, ok kettenis
lib/csu/riscv64/md_init.h
libexec/ld.so/riscv64/ldasm.S