Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC generating jump-to-ARM-mode BLX instruction on Cortex M3. #53

Open
master-q opened this issue Feb 28, 2013 · 0 comments
Open

GCC generating jump-to-ARM-mode BLX instruction on Cortex M3. #53

master-q opened this issue Feb 28, 2013 · 0 comments

Comments

@master-q
Copy link

http://communities.mentor.com/community/cs/archives/arm-gnu/msg01904.html

Could you support setting "stay in Thumb mode" bit automatically with compiling with -mthumb option?

I am using summon-arm-toolchain with below options.
But the compiling does not support the bit.
Now I set the bit manually from C language.

$ arm-none-eabi-gcc -g -O -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffreestanding -nostdlib -I. -std=gnu99 xxx.c

Best regards,
Kiwamu Okabe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant