aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2018-04-06 16:15:32 +0200
committerGravatar Jorge Aparicio <jorge@japaric.io> 2018-04-09 00:51:25 +0200
commitaa9c16d736f42b470beb2624cb4cbf931aaec294 (patch)
tree68646826730a7260c3665b70d5b28620623c5d16 /cortex-m-rt/src
parent718da40446e51ace1f3d6433203ecda6dfa4ec20 (diff)
downloadcortex-m-aa9c16d736f42b470beb2624cb4cbf931aaec294.tar.gz
cortex-m-aa9c16d736f42b470beb2624cb4cbf931aaec294.tar.zst
cortex-m-aa9c16d736f42b470beb2624cb4cbf931aaec294.zip
add LLD support
this commit adds LLD support by removing all INFO sections. LLD kind of supports INFO in the form of NOLOAD but when the linker script contains NOLOAD sections LLD emits a binary with false `size` information: for example, it reported a fake increase of 20KB in .text and a fake increase of 1KB in .bss when compiling a program that only allocates a single Box. As the INFO sections are gone we can no longer support the stack overflow protection added in #43 so all the other related changes, like making _stack_start overridable, have been removed as well. If you want to continue using stack overflow protection you can stick to v0.3.x. As the .debug_gdb_scripts output section has been removed from the linker script these changes will only reliably support both LD and LLD if/when rust-lang/rust#49728 lands. closes #53
Diffstat (limited to 'cortex-m-rt/src')
0 files changed, 0 insertions, 0 deletions