No thumb only support in uclibc?

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Jan 11 21:45:00 UTC 2014


On 11 January 2014 21:42:00 Andrei Gherzan <andrei at gherzan.ro> wrote:

> Hello all,
>
> I am trying to compile uclibc in thumb mode - which used to work in the
> past. Here is a log:
> http://pastebin.com/Y1hLKTvL

Thumb only is supposed to work, yes.
>
> One of the errors seem to be related to
> commit 0eaaf662b70806181b7fe2a1b165769f4e48d0f0
> Author: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
> Date:   Fri Jun 15 13:44:35 2012 +0200
>     ldso: use .arm mode for resolver unconditionally
>     as per comment in the file.
>     Fixes runtime with __THUMB_INTERWORK__ enabled.
>     Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
>
> Isn't this breaking thumb? I'm talking about processors which support only
> thumb - no ARM instructions support.

Abovementioned commit was made under the assumption as per commit comment, 
but I am pretty sure that I used a thumb1 with interworking enabled so this 
could be wrong indeed. What CPU are you compiling for, which tune and insn 
encoding?

> And there are a couple of other examples that can be easily spotted in log.
>
> Is this now a limitation of uclibc?

No, not intentionally, please send patches.

Sent with AquaMail for Android
http://www.aqua-mail.com




More information about the uClibc mailing list