This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] [AArch64] Define ABORT_INSTRUCTION.
- From: Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- To: libc-ports at sourceware dot org
- Cc: Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- Date: Wed, 1 Jan 2014 17:35:09 +0000
- Subject: [PATCH] [AArch64] Define ABORT_INSTRUCTION.
- Authentication-results: sourceware.org; auth=none
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 <marcus.shawcroft@linaro.org>
+
+ * sysdeps/aarch64/abort-instr.h: New file.
+
2013-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
[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