Re: is ARMv4T deprecated?

Bernhard Reutner-Fischer <[email protected]>
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <CAC1BbcQ=8aH7ZhefJWnK8m2xjvfXBw7RSBZXTEjKzq5tOYbQUw@mail.gmail.com>
>>--- a/libc/sysdeps/linux/arm/bits/arm_asm.h
>>+++ b/libc/sysdeps/linux/arm/bits/arm_asm.h
>>@@ -13,12 +13,8 @@
>>    unified assembly syntax.  */
>> #define IT(t, cond)
>> /* Code to return from a thumb function stub.  */
>>-#ifdef __ARM_ARCH_4T__
>>-#define POP_RET pop   {r2, pc}
>>-#else
>> #define POP_RET pop   {r2, r3}; bx    r3
>> #endif
>>-#endif
>>
>> #if defined(__ARM_ARCH_6M__)
>> /* Force arm mode to flush out errors on M profile cores.  */
>>
>>
>>What do you think of such fix?
>
> Should probably take USE_BX into account..
> Other than that and a signed-off-by sure, whatever works for you!

So i read some documents yesterday night and this lead me to think
that the condition is just inverted?
Shouldn't it read more like:

 /* Code to return from a thumb function stub.  */
#if defined __ARM_ARCH_4T__ /* && defined __THUMB_INTERWORK__ */
# define POP_RET pop   {r2, r3}; bx    r3
#else
# define POP_RET pop   {r2, pc}
#endif

thanks,
>
> Many TIA,
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.