aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/abort-instr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/abort-instr.h')
-rw-r--r--sysdeps/s390/abort-instr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/s390/abort-instr.h b/sysdeps/s390/abort-instr.h
new file mode 100644
index 0000000000..6544b2d618
--- /dev/null
+++ b/sysdeps/s390/abort-instr.h
@@ -0,0 +1,2 @@
+/* An op-code of 0 should crash any program. */
+#define ABORT_INSTRUCTION asm (".word 0")