fail: implement for ppc
This commit is contained in:
parent
1c376f2d50
commit
f493e8b60b
1 changed files with 11 additions and 0 deletions
11
srcpkgs/fail/patches/ppc.patch
Normal file
11
srcpkgs/fail/patches/ppc.patch
Normal 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
|
Loading…
Reference in a new issue