Date: Sat, 16 Nov 2019 18:24:28 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354778 - head/usr.bin/gcore Message-ID: <201911161824.xAGIOSeA041824@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911161824.xAGIOSeA041824>