[PATCH] [AArch64] Define ABORT_INSTRUCTION.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] [AArch64] Define ABORT_INSTRUCTION.

Marcus Shawcroft-2
Hi,

This patch provides a definition of ABORT_INSTRUCTION for AArch64.

/Marcus

---
 ports/ChangeLog.aarch64             | 4 ++++
 ports/sysdeps/aarch64/abort-instr.h | 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 ports/sysdeps/aarch64/abort-instr.h

diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 279a227..bad3b91 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,3 +1,7 @@
+2014-01-01  Marcus Shawcroft  <[hidden email]>
+
+ * sysdeps/aarch64/abort-instr.h: New file.
+
 2013-12-18  Marcus Shawcroft  <[hidden email]>
 
  [BZ #15128]
diff --git a/ports/sysdeps/aarch64/abort-instr.h b/ports/sysdeps/aarch64/abort-instr.h
new file mode 100644
index 0000000..8b1c40b
--- /dev/null
+++ b/ports/sysdeps/aarch64/abort-instr.h
@@ -0,0 +1 @@
+#define ABORT_INSTRUCTION asm ("brk\t#1000")
--
1.8.3.2