diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2025-03-12 21:50:39 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-03-13 20:14:25 -0400 |
| commit | 4ecbed698241e637a13048a199d29c142445c360 (patch) | |
| tree | 5bafdd61d301a8222f00b37a9ffa00f9bff76c6a /CHANGELOG.md | |
| parent | 49385f56eab2dcdbe89cd156ba4e8be95b14e99e (diff) | |
Place .xip sections into flash
We added the `.xip` section to ensure that the reset handler and
pre-init functions would be placed in flash. This commit lets users
place other content into that section.
`.xip` is intended for instructions. The runtime builder will place
these instructions into the same load region as `.text`. However,
there's no pre-`main` relocation.
Aligning the `.xip` and the `.text` section produces more predictable
behavior between GNU's ld and LLVM's lld.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6fb98..2920663 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## [Unreleased] +Place sections starting with `.xip` into the same load region of `.text`. +Unlike `.text`, the contents in `.xip` will not be relocated. + +Four byte align both the `.xip` and `.text` sections for more predictable +behaviors across linkers. + ## [0.1.6] 2025-03-01 Add new MCU targets: |
