Hello,

> > When configuring without --with-arch=armv7-a and using -mthumb flag
> > thumb-1 is been tested.
>
> I don't understand "using -mthumb" . Are you manually adding -mthumb
> to your boot C flags ?

Yes, I'm using:

make bootstrap BOOT_CFLAGS="-O2 -fmodulo-sched
-fmodulo-sched-allow-regmoves -fno-auto-inc-dec -funsafe-math-optimizations
-mthumb"

>
> If you are trying to bootstrap in Thumb state use the configuration
> knob --with-mode=thumb and the value you pass to --with-arch or
> -with-cpu will ensure that this gets the right level of the Thumb ISA.
> Thus the compiler will bootstrap using the Thumb2 ISA, if you use
> --with-arch=armv7-a . If you use anything less than or equal to
> --with-arch=armv6 or a cpu that implements v6 or lower of the
> architecture you'll end up bootstrapping with Thumb1.

OK, thanks for the explanation.
>
> Are you saying that Thumb1 bootstraps are broken with SMS / do-loop
> and debug info ?

Yes, I'll try to fix that.

Thanks,
Revital
>
>
> cheers
> Ramana


_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to