Add ltorg to gcc arm cm3+4f+7 port by danyhm · Pull Request #28 · stm32duino/STM32FreeRTOS · GitHub
Skip to content

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

Merged
fpistm merged 4 commits into
stm32duino:masterfrom
danyhm:master
May 19, 2020
Merged

Add ltorg to gcc arm cm3+4f+7 port #28
fpistm merged 4 commits into
stm32duino:masterfrom
danyhm:master

Conversation

@danyhm

@danyhm danyhm commented May 9, 2020

Copy link
Copy Markdown
Contributor

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

@fpistm fpistm left a comment

Copy link
Copy Markdown
Member

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
See stm32duino#28

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm added a commit to fpistm/STM32FreeRTOS that referenced this pull request Feb 7, 2022
See stm32duino#28

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
ABOSTM pushed a commit to ABOSTM/STM32FreeRTOS that referenced this pull request Feb 14, 2022
See stm32duino#28

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
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