public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: Marcus Shawcroft <marcus.shawcroft@linaro.org>
To: libc-ports@sourceware.org
Cc: Marcus Shawcroft <marcus.shawcroft@linaro.org>
Subject: [PATCH] [AArch64] Define ABORT_INSTRUCTION.
Date: Wed, 01 Jan 2014 17:35:00 -0000	[thread overview]
Message-ID: <1388597709-30161-1-git-send-email-marcus.shawcroft@linaro.org> (raw)

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

                 reply	other threads:[~2014-01-01 17:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388597709-30161-1-git-send-email-marcus.shawcroft@linaro.org \
    --to=marcus.shawcroft@linaro.org \
    --cc=libc-ports@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).