Open
Conversation
Take read-only data segments into account when determining where flash contents start. This is specifically important if the Tock CRT0 header is in a separate data section before the start of `.text`.
Contributor
|
I'm looking at blink compiled for riscv: There is this "unknown" segment which is only |
Contributor
Do you mean in a separate data segment? I think the crt0 header has always been in its own section before .text. |
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.
Take read-only data segments into account when determining where flash contents start. This is specifically important if the Tock CRT0 header is in a separate data section before the start of
.text.The change is trivial and fixes #92 for me, but would benefit from someone else thinking the logic through in case I missed some unintended consequences. I am not entirely clear on why elf2tab does some of the things it does...