Skip to content

Add ltorg to gcc arm cm3+4f+7 port #28

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

Merged
merged 4 commits into from
May 19, 2020
Merged

Add ltorg to gcc arm cm3+4f+7 port #28

merged 4 commits into from
May 19, 2020

Conversation

danyhm
Copy link
Contributor

@danyhm danyhm commented May 9, 2020

Add LTORG to prvPortStartFirstTask and vPortEnableVFP to enable compile with GCC and LTO optimization.

https://bugs.launchpad.net/gcc-arm-embedded/+bug/1763050

fixes #27

Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable.
LGTM

@fpistm fpistm merged commit bb0efc7 into stm32duino:master May 19, 2020
@fpistm fpistm added the enhancement New feature or request label Oct 21, 2020
@fpistm fpistm added this to the 10.0.3 milestone Oct 21, 2020
fpistm added a commit to fpistm/STM32FreeRTOS that referenced this pull request Oct 22, 2020
fpistm added a commit to fpistm/STM32FreeRTOS that referenced this pull request Feb 7, 2022
ABOSTM pushed a commit to ABOSTM/STM32FreeRTOS that referenced this pull request Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enabling LTO for compiler optimization causes compiler to fail with Error: offset out of range
2 participants