[oe] [PATCH] sane-toolchain.inc: THUMB_INTERWORK should not be defined for armv4 and add armv4 to ARM EABI supporting architectures.
Khem Raj
raj.khem at gmail.com
Mon Jul 19 16:29:41 UTC 2010
On Mon, Jul 19, 2010 at 7:26 AM, Phil Blundell <philb at gnu.org> wrote:
> On Mon, 2010-07-19 at 01:24 -0700, Khem Raj wrote:
>> -THUMB_INTERWORK = "yes"
>> +# armv4 does not have thumb instruction set therefore no interworking instructions
>> +# so if machine is based on armv4 we dont have choice.
>> +
>> +THUMB_INTERWORK_armv4 = "no"
>> +THUMB_INTERWORK ?= "yes"
>
> I don't think this is necessary or desirable. If you are building for
> v4 then the BX instructions ought to be fixed up during final link.
Yes with --fix-v4bx/--fix-v4bx-interworking its possible.
Is
> there a particular problem that you're trying to solve?
>
Not any particular case but some versions of compiler do not pass
flags to --fix-v4bx-interworking ld.
I was thinking its more apt to describe the machine with not
supporting THUMB_INTERWORK
hmmm but I now I see that we will need it for v4/EABI support. So
better fix the compiler.
> p.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list