Browse Source

move the sh64 code out of the sh header

Mike Frysinger 18 years ago
parent
commit
996391cf49

+ 1 - 3
libc/sysdeps/linux/sh/bits/uClibc_arch_features.h

@@ -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"

+ 1 - 2
libc/sysdeps/linux/sh64/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__ "movi 0x10, r9; shori 0xff, r9; trapa r9"
 
 /* can your target use syscall6() for mmap ? */
 #undef __UCLIBC_MMAP_HAS_6_ARGS__