summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-08 00:32:56 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-08 00:33:08 -0400
commitdd109669be4b2f5ac69cf38ee1b67d6be74b620d (patch)
tree57fa37816f86ac4ea2eb3490fad75ceebe916d86
parent9b9ee161b5b61af16e081b5f00dbe0934d9a5305 (diff)
bfin: set an invalid insn for abort
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h b/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
index 4bab5476d..ce63c80b2 100644
--- a/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/bfin/bits/uClibc_arch_features.h
@@ -6,8 +6,7 @@
#define _BITS_UCLIBC_ARCH_FEATURES_H
/* instruction used when calling abort() to kill yourself */
-/*#define __UCLIBC_ABORT_INSTRUCTION__ "asm instruction"*/
-#undef __UCLIBC_ABORT_INSTRUCTION__
+#define __UCLIBC_ABORT_INSTRUCTION__ ".short 2" /* invalid 116bit insn */
/* can your target use syscall6() for mmap ? */
#define __UCLIBC_MMAP_HAS_6_ARGS__