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

fix: add additional .ltorg directives to GCC CM3/CM4 mpu ports #473

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

niniemann
Copy link
Contributor

Description

When link-time-optimization is enabled, we ran into issues with offset-out-of-range errors. There has been a previous fix for this issue (#71), which seems to be insufficient for the MPU ports.

This PR adds the fix of the previous PR, i.e., the .ltorg directive, to the remaining places where LDR Rd, =label is used (a pseudo instruction which utilizes the literal pool) in the GCC/ARM_CM3_MPU and ARM_CM4_MPU ports.

Test Steps

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@niniemann niniemann requested a review from a team as a code owner March 10, 2022 14:18
@codecov
Copy link

codecov bot commented Mar 10, 2022

Codecov Report

Merging #473 (64e450a) into main (f18e432) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #473   +/-   ##
=======================================
  Coverage   92.44%   92.44%           
=======================================
  Files           4        4           
  Lines        1270     1270           
  Branches      343      343           
=======================================
  Hits         1174     1174           
  Misses         50       50           
  Partials       46       46           
Flag Coverage Δ
unittests 92.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f18e432...64e450a. Read the comment docs.

@aggarg aggarg merged commit bdec3b6 into FreeRTOS:main Mar 10, 2022
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

Successfully merging this pull request may close these issues.

3 participants