Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 ARM 拇指模式有疑问。GCC arm linux 编译器会自己生成拇指模式代码吗? 或者我们必须使用一些编译器指令来告诉编译器生成拇指模式代码?
默认情况下在两种模式之间切换,但 -mthumb 会覆盖它。可以在此处找到 ARM 选项列表:
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html