OSDN Git Service

move the sh64 code out of the sh header
authorMike Frysinger <vapier@gentoo.org>
Fri, 20 Jan 2006 00:39:20 +0000 (00:39 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 20 Jan 2006 00:39:20 +0000 (00:39 -0000)
libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
libc/sysdeps/linux/sh64/bits/uClibc_arch_features.h

index 1378835..2d4cade 100644 (file)
@@ -6,9 +6,7 @@
 #define _BITS_UCLIBC_ARCH_FEATURES_H
 
 /* instruction used when calling abort() to kill yourself */
-#if defined(__SH5__)
-# define __UCLIBC_ABORT_INSTRUCTION__ "movi 0x10, r9; shori 0xff, r9; trapa r9"
-#elif defined(__sh2__)
+#if defined(__sh2__)
 # define __UCLIBC_ABORT_INSTRUCTION__ "trapa #32"
 #else /* defined(__sh__) */
 # define __UCLIBC_ABORT_INSTRUCTION__ "trapa #0xff"
index 107acb6..a604c0c 100644 (file)
@@ -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__ "movi 0x10, r9; shori 0xff, r9; trapa r9"
 
 /* can your target use syscall6() for mmap ? */
 #undef __UCLIBC_MMAP_HAS_6_ARGS__