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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Apr 26 20:34:29 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=2baa17a61b84b89e05dd62aefe2ec3c09f8a4bac
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 .../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