Abort instruction for SPARC.
authordrepper <drepper>
Fri, 6 Apr 2001 22:40:08 +0000 (22:40 +0000)
committerdrepper <drepper>
Fri, 6 Apr 2001 22:40:08 +0000 (22:40 +0000)
sysdeps/sparc/abort-instr.h [new file with mode: 0644]

diff --git a/sysdeps/sparc/abort-instr.h b/sysdeps/sparc/abort-instr.h
new file mode 100644 (file)
index 0000000..ea92dfe
--- /dev/null
@@ -0,0 +1,2 @@
+/* An instruction which should crash any program is an unimp.  */
+#define ABORT_INSTRUCTION asm ("unimp 0xf00")