aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorq66 <daniel@octaforge.org>2019-12-18 23:19:54 +0100
committerLeah Neukirchen <leah@vuxu.org>2019-12-19 11:30:16 +0100
commitf2a8f228da6b1a73f40abc5a5e83433d67c38943 (patch)
tree8ebdf39d471be1c69294fea68a59c4e8b9a0b708
parent6c51e8538b305e3d6229958145d2936f804e533b (diff)
downloadfail-f2a8f228da6b1a73f40abc5a5e83433d67c38943.tar.gz
fail-f2a8f228da6b1a73f40abc5a5e83433d67c38943.tar.xz
fail-f2a8f228da6b1a73f40abc5a5e83433d67c38943.zip
illegalins: ppc support
Closes: #1 [via git-merge-pr]
-rw-r--r--fail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fail.c b/fail.c
index 5d1b80b..855189c 100644
--- a/fail.c
+++ b/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