about summary refs log tree commit diff
path: root/sysdeps/powerpc/abort-instr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/abort-instr.h')
-rw-r--r--sysdeps/powerpc/abort-instr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/abort-instr.h b/sysdeps/powerpc/abort-instr.h
new file mode 100644
index 0000000000..43746e65ba
--- /dev/null
+++ b/sysdeps/powerpc/abort-instr.h
@@ -0,0 +1,2 @@
+/* An op-code of 0 is guaranteed to be illegal.  */
+#define ABORT_INSTRUCTION asm (".long 0")