aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hppa
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-23 03:30:34 +0000
committerRoland McGrath <roland@gnu.org>2002-09-23 03:30:34 +0000
commite6697827c9dd2441185ff0aab44aa1b9292dc85c (patch)
tree720c645f3cbcf9a0d0e878d72be99b8fdb6a1b38 /sysdeps/hppa
parent0220ef788b32d53d68f01b4d952293f30d939ff4 (diff)
downloadglibc-e6697827c9dd2441185ff0aab44aa1b9292dc85c.tar
glibc-e6697827c9dd2441185ff0aab44aa1b9292dc85c.tar.gz
glibc-e6697827c9dd2441185ff0aab44aa1b9292dc85c.tar.bz2
glibc-e6697827c9dd2441185ff0aab44aa1b9292dc85c.zip
2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/hppa/abort-instr.h: New file.
Diffstat (limited to 'sysdeps/hppa')
-rw-r--r--sysdeps/hppa/abort-instr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/hppa/abort-instr.h b/sysdeps/hppa/abort-instr.h
new file mode 100644
index 0000000000..f1afea46de
--- /dev/null
+++ b/sysdeps/hppa/abort-instr.h
@@ -0,0 +1,6 @@
+/* An instruction privileged instruction to crash a userspace program.
+
+ We go with iitlbp because it has a history of being used to crash
+ programs. */
+
+#define ABORT_INSTRUCTION asm ("iitlbp %r0,(%r0)")