fail: implement for ppc

This commit is contained in:
q66 2019-12-18 02:00:22 +01:00
parent 1c376f2d50
commit f493e8b60b
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- fail.c
+++ fail.c
@@ -115,6 +115,8 @@ void illegalins()
: : : "memory");
#elif defined(__aarch64__)
__asm__ __volatile__ (".word 0x00800011" : : : "memory");
+#elif defined(__powerpc__)
+ __asm__ __volatile__ (".long 0" : : : "memory");
#else
#error implement illegalins for this architecture
#endif