Use -mthumb when building for arm