Thanks Michael. Just wanted to make sure I understood. The "do no harm" goal and the Thumb2 libgcc seem to be somewhat contradictory however. I realize that choices need to be made and only odd ducks like me will likely run into issues. My particular case is wanting to build u-boot for old and new ARM chips with the same gcc. U-Boot has its own libgcc that I can use as a work around.
John
On Tue, Oct 5, 2010 at 3:57 PM, Michael Hope michael.hope@linaro.org wrote:
On Wed, Oct 6, 2010 at 10:44 AM, John Rigby john.rigby@linaro.org wrote:
I believe that the libgcc.a in our toolchain contains Thumb-2 code. I verified this by doing objdump on libgcc.a and I see combinations of 16 and 32 bit instructions. So does that mean that the toolchain is only usable for ARM versions that support Thumb-2?
Our focus is Thumb-2 on Cortex-A processors. We try to 'do no harm', so Linaro GCC should be as good as the FSF GCC on older ARM architectures or non-ARM architectures such as i686 and x86_64.
The included libgcc is compiled for processors with Thumb-2 and VFPv3-D16. I'm afraid I have no plans for other variants at the moment, but you might want to talk with Marcin and Wookey about this.
-- Michael