On Wed, Jul 25, 2012 at 5:48 PM, Renato Golin <[email protected]> wrote: > On 25 July 2012 14:59, salvatore benedetto > <[email protected]> wrote: >> Hmmm, I hope I'm not doing anything wrong on my side, but I've just >> applied your patch, >> recompile and test it on my host system (linux) and it still produces >> armv5te. > > armv57e you mean Thumb or ARM code?
$ arm-none-linux-gnueabi-readelf -A testReference.o Attribute Section: aeabi File Attributes Tag_CPU_name: "5TE" Tag_CPU_arch: v5TE Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_DIV_use: Not allowed which is the result I had before applying your patch. http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/52030 And unfortunately applying the -mthumb -march=cortex-m3 as I used to, now gives me an error. clang++ -ccc-host-triple thumbv7-none-eabi -ccc-gcc-name arm-none-linux-gnueabi-g++ testReference.cpp -c -mthumb -mcpu=cortex-m3 fatal error: error in backend: CPU: 'cortex-m3' does not support ARM mode execution! S. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
