diff options
author | 2018-09-17 04:05:07 +0200 | |
---|---|---|
committer | 2018-09-17 04:05:07 +0200 | |
commit | 036fcc8f033c111bd6877dd3bba2016ac20ebb3e (patch) | |
tree | 9a3a40e0f15a5708d159331fc9961dc0384e7b2f /cortex-m-rt | |
parent | 27501f88b8c6ae9746efea01416f5276e43171eb (diff) | |
download | cortex-m-036fcc8f033c111bd6877dd3bba2016ac20ebb3e.tar.gz cortex-m-036fcc8f033c111bd6877dd3bba2016ac20ebb3e.tar.zst cortex-m-036fcc8f033c111bd6877dd3bba2016ac20ebb3e.zip |
keep .stack_sizes
Diffstat (limited to 'cortex-m-rt')
-rw-r--r-- | cortex-m-rt/link.x.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cortex-m-rt/link.x.in b/cortex-m-rt/link.x.in index 3d71811..fde4e70 100644 --- a/cortex-m-rt/link.x.in +++ b/cortex-m-rt/link.x.in @@ -129,6 +129,12 @@ SECTIONS /* Place the heap right after `.bss` */ __sheap = ADDR(.bss) + SIZEOF(.bss); + /* Stack usage metadata emitted by LLVM */ + .stack_sizes (INFO) : + { + KEEP(*(.stack_sizes)); + } + /* ## .got */ /* Dynamic relocations are unsupported. This section is only used to detect relocatable code in the input files and raise an error if relocatable code is found */ |