public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] [AArch64] Define ABORT_INSTRUCTION.
@ 2014-01-01 17:35 Marcus Shawcroft
  0 siblings, 0 replies; only message in thread
From: Marcus Shawcroft @ 2014-01-01 17:35 UTC (permalink / raw)
  To: libc-ports; +Cc: Marcus Shawcroft

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-01 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-01 17:35 [PATCH] [AArch64] Define ABORT_INSTRUCTION Marcus Shawcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).