summary refs log tree commit diff
path: root/sysdeps/sh
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-06-23 11:47:39 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-06-23 11:47:39 +0200
commit967705fee12b4c02456fedbeb4c0dc6e79469ca7 (patch)
treec4fa9875cec66046b7f721c4ebcfdfb7db694181 /sysdeps/sh
parenta9def8c49d22815801408e62bedca26810cfceb7 (diff)
downloadglibc-967705fee12b4c02456fedbeb4c0dc6e79469ca7.tar.gz
glibc-967705fee12b4c02456fedbeb4c0dc6e79469ca7.tar.xz
glibc-967705fee12b4c02456fedbeb4c0dc6e79469ca7.zip
SH: ABORT_INSTRUCTION.
Diffstat (limited to 'sysdeps/sh')
-rw-r--r--sysdeps/sh/abort-instr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/sh/abort-instr.h b/sysdeps/sh/abort-instr.h
new file mode 100644
index 0000000000..69381aec8e
--- /dev/null
+++ b/sysdeps/sh/abort-instr.h
@@ -0,0 +1,3 @@
+/* An instruction which should crash any program is `sleep'.  */
+#define ABORT_INSTRUCTION_ASM sleep
+#define ABORT_INSTRUCTION asm ("sleep")