Author: jhibbits Date: Sat Nov 16 18:24:28 2019 New Revision: 354778 URL: https://svnweb.freebsd.org/changeset/base/354778
Log: gcore: Don't add VSX notes on powerpcspe powerpcspe does not support VSX at all, but gets the 'VMX' notes for free, providing the SPE registers. Modified: head/usr.bin/gcore/elfcore.c Modified: head/usr.bin/gcore/elfcore.c ============================================================================== --- head/usr.bin/gcore/elfcore.c Sat Nov 16 16:39:08 2019 (r354777) +++ head/usr.bin/gcore/elfcore.c Sat Nov 16 18:24:28 2019 (r354778) @@ -382,7 +382,9 @@ elf_putnotes(pid_t pid, struct sbuf *sb, size_t *sizep #endif #if defined(__powerpc__) elf_putnote(NT_PPC_VMX, elf_note_powerpc_vmx, tids + i, sb); +#ifndef __SPE__ elf_putnote(NT_PPC_VSX, elf_note_powerpc_vsx, tids + i, sb); +#endif #endif } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"