rust-embedded / rust-embedded/cortex-m
Add an INFO section in the linkerscript for instrumentation
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 202
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Description
To be able to place strings and similar in areas of the ELF file that will not be loaded, eg for the use in instrumentation tools, an INFO marked section is need.
I propose we define a section for this, along the lines of the following:
SECTIONS {
...
.info_section (INFO) :
{
*(.info_section .info_section.*);
}
...
}
Exact section name can be bikeshed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the linker script used by the cortex-m builds and inspect its existing SECTIONS layout. Compare the proposed .info_section (INFO) pattern with the current script and ELF placement requirements. Done means an agreed section name and an INFO-marked section that can hold instrumentation data without being loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100