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:
parent
9cbefe25d4
commit
6a51741fc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354778
@ -382,7 +382,9 @@ elf_putnotes(pid_t pid, struct sbuf *sb, size_t *sizep)
|
|||||||
#endif
|
#endif
|
||||||
#if defined(__powerpc__)
|
#if defined(__powerpc__)
|
||||||
elf_putnote(NT_PPC_VMX, elf_note_powerpc_vmx, tids + i, sb);
|
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);
|
elf_putnote(NT_PPC_VSX, elf_note_powerpc_vsx, tids + i, sb);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user