search for: __arm_arch_3__

Displaying 1 result from an estimated 1 matches for "__arm_arch_3__".

Did you mean: __arm_arch_2__
2011 May 17
2
[PATCH] arm: use bx on thumb2 v3
...36e9ab5 100644 --- a/usr/include/arch/arm/klibc/archconfig.h +++ b/usr/include/arch/arm/klibc/archconfig.h @@ -9,6 +9,10 @@ #ifndef _KLIBC_ARCHCONFIG_H #define _KLIBC_ARCHCONFIG_H -/* All defaults */ +/* newer arm arch support bx instruction */ +#if (!defined(__ARM_ARCH_2__) && !defined(__ARM_ARCH_3__) \ + && !defined(__ARM_ARCH_3M__) && !defined(__ARM_ARCH_4__)) +# define _KLIBC_ARM_USE_BX 1 +#endif #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/arm/klibc/asmmacros.h b/usr/include/arch/arm/klibc/asmmacros.h index 8a21c94..45bea0e 100644 --- a/usr/include/ar...