make: optionally create .ld memory sections on the fly#19692
Closed
kaspar030 wants to merge 18 commits intoRIOT-OS:masterfrom
Closed
make: optionally create .ld memory sections on the fly#19692kaspar030 wants to merge 18 commits intoRIOT-OS:masterfrom
kaspar030 wants to merge 18 commits intoRIOT-OS:masterfrom
Conversation
... when using ld-memory.
This was referenced May 31, 2023
bors bot
added a commit
to RIOT-OS/riotdocker
that referenced
this pull request
May 31, 2023
229: add ld-memory r=kaspar030 a=kaspar030 This adds [ld-memory](https://github.com/kaspar030/ld-memory), a utility I wrote that creates GNU ld MEMORY sections from command line parameters. Needed for RIOT-OS/RIOT#19692. (adds ~800kB to the image) Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
bors bot
added a commit
to RIOT-OS/riotdocker
that referenced
this pull request
May 31, 2023
229: add ld-memory r=kaspar030 a=kaspar030 This adds [ld-memory](https://github.com/kaspar030/ld-memory), a utility I wrote that creates GNU ld MEMORY sections from command line parameters. Needed for RIOT-OS/RIOT#19692. (adds ~800kB to the image) Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Contributor
Author
|
I'm not going to work on this anymore. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR (optionally) allows to create our ldscript's MEMORY sections via CLI tool.
The goal here is to remove the arithmetics from .ld's, so LLVM's lld accepts them.
This is WIP, so I'm marking it as draft.
Testing procedure
Issues/PRs references
Needs RIOT-OS/riotdocker#229.