aboutsummaryrefslogtreecommitdiff
path: root/src/host.rs
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2025-03-12 21:50:39 -0400
committerIan McIntyre <me@mciantyre.dev>2025-03-13 20:14:25 -0400
commit4ecbed698241e637a13048a199d29c142445c360 (patch)
tree5bafdd61d301a8222f00b37a9ffa00f9bff76c6a /src/host.rs
parent49385f56eab2dcdbe89cd156ba4e8be95b14e99e (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 'src/host.rs')
0 files changed, 0 insertions, 0 deletions