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.
This commit is contained in:
Justin Hibbits 2019-11-16 18:24:28 +00:00
parent 9cbefe25d4
commit 6a51741fc7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354778

View File

@ -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
}