* sysdeps/hppa/abort-instr.h: New file.
authorRoland McGrath <roland@gnu.org>
Mon, 23 Sep 2002 03:30:48 +0000 (03:30 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 23 Sep 2002 03:30:48 +0000 (03:30 +0000)
ChangeLog
sysdeps/hppa/abort-instr.h [new file with mode: 0644]

index 9041833..e47cf4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-21  Carlos O'Donell  <carlos@baldric.uwo.ca>
+
+       * sysdeps/hppa/abort-instr.h: New file.
+
 2002-09-22  Roland McGrath  <roland@frob.com>
 
        * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry.
diff --git a/sysdeps/hppa/abort-instr.h b/sysdeps/hppa/abort-instr.h
new file mode 100644 (file)
index 0000000..f1afea4
--- /dev/null
@@ -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)")