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
linker: add custom align size to reduce alignment memory wasting #17390
linker: add custom align size to reduce alignment memory wasting #17390
Conversation
All checks are passing now. Review history of this comment for details about previous failed status. |
4bb1d5e
to
04ceff7
Compare
@ioannisg @andrewboie could you please give some comments about this PR? Thanks |
I don't understand what you mean by this. |
@andrewboie sorry for the confuse, I have updated the comments, please take a look. Thanks |
rebase |
04ceff7
to
de7f4d3
Compare
when enable CONFIG_CUSTOM_SECTION_ALIGN, it need less alignment memory for image rom region. But that needs carefully configure MPU region and sub-regions(ARMv7-M) to cover this feature. Fixes: zephyrproject-rtos#17337. Signed-off-by: Wentong Wu <wentong.wu@intel.com>
add custom align size for code relocation to reduce alignment memory wasting. Fixes: zephyrproject-rtos#17337. Signed-off-by: Wentong Wu <wentong.wu@intel.com>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub.
git fetch
# Create new working tree.
git worktree add .worktrees/backport v1.14-branch
# Navigate to the new directory.
cd .worktrees/backport
# Cherry-pick all the commits of this pull request and resolve the likely conflicts.
git cherry-pick de7aa87e23e8ae92c720f97fc27e6a52b2e42d1a de7f4d30e886c1f3ac15f137c5cd01d59a2f0f4a
# Create a new branch with these backported commits.
git checkout -b backport-17390-to-v1.14-branch
# Push it to GitHub.
git push --set-upstream origin backport-17390-to-v1.14-branch
# Go back to the original working tree.
cd ../..
# Delete the working tree.
git worktree remove .worktrees/backport Then, create a pull request where the |
Fixes: #17337
Signed-off-by: Wentong Wu wentong.wu@intel.com