1Title: Test multilib 2 3Description: 4 5Some architectures support different ISA variants, each backed a different 6multilib in a same compiler. Selecting wrong multilib may have adverse 7effects on performance, or sometime produce broken executables altogether 8(for example, ARM Cortex-M requires thumb2 multilib and will be broken with 9default ("arm") multilib or "thumb" multlib). This app is a smoke-test 10for selecting non-wrong multilib - it uses operation(s) which guaranteedly 11will call support routine(s) in libgcc and checks for expected result. 12 13Sample failure output ("thumb" used on Cortex-M instead of "thumb2"): 14 15***** USAGE FAULT ***** 16 Executing thread ID (thread): 0x200002a0 17 Faulting instruction address: 0x00000000 18 Illegal use of the EPSR 19Fatal fault in essential task ! Spinning... 20