默认情况下,会根据需要在两种模式之间切换,但-mthumb可以覆盖此设置。ARM选项列表可以在此处找到:http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html。