CVSROOT: /cvs Module name: src Changes by: gkoeh...@cvs.openbsd.org 2020/10/26 16:07:06
Modified files: lib/libc/arch/powerpc: SYS.h lib/libc/arch/powerpc/string: ffs.S memmove.S lib/libc/arch/powerpc/sys: brk.S sbrk.S sigpending.S sigprocmask.S sigsuspend.S tfork_thread.S libexec/ld.so/powerpc: SYS.h sys/arch/powerpc/include: asm.h Log message: Retguard asm macros for powerpc libc, ld.so Add retguard to some, but not all, asm functions in libc. Edit SYS.h in libc to remove the PREFIX macros and add SYSENTRY (more like aarch64 and powerpc64), so we can insert RETGUARD_SETUP after SYSENTRY. Some .S files in this commit don't get retguard, but do stop using the old prefix macros. Tested by deraadt@, who put this diff in a macppc snap.