CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2020/10/04 14:22:22

Modified files:
        sys/arch/powerpc64/powerpc64: locore.S 

Log message:
Change kcopy(9) such that it does 64-bit and 32-bit copies whenever possible.
This makes sure a kcopy(9) that is a sequence of 64-bit or 32-bit values
that are properly aligned is done atomically.  This is needed for kbind(2)
as it needs to update PLT/GOT entries atomically when doing lazy binding.

This seems to fix some random SIGSEGV and SIGTRAP when linking stuff with
ld.lld.

ok deraadt@

Reply via email to