[git commit] bfin: set an invalid insn for abort

Mike Frysinger vapier at gentoo.org
Sun Apr 8 04:33:08 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=dd109669be4b2f5ac69cf38ee1b67d6be74b620d
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 .../sysdeps/linux/bfin/bits/uClibc_arch_features.h |    3 +--
 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 4bab547..ce63c80 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__


More information about the uClibc-cvs mailing list