feat: handle output section header start addresses in linker scripts#1850
Conversation
d826db6 to
10c79a2
Compare
lapla-cogito
left a comment
There was a problem hiding this comment.
Thanks, looks good. Could you also update this line in LINKER_SCRIPT_SUPPORT.md? The current implementation only supports numeric literals (which isn't problematic for merging), so "partial" status would be appropriate.
|
It's good to note that only numeric literals are supported in the notes section. (i.e. When the status is "partial," it's not immediately obvious what makes it partial in general.) |
|
Additionally, this change involves modifying numerous lines in |
yeah, my bad, my ide had auto formatting on and i didnt realize. fixed it now. |
e411848 to
167de9f
Compare
167de9f to
2111a2c
Compare
This PR adds support for output section headers that specify a numeric start address between the section name and
:in linker scripts, such as__ksymtab 0 : ALIGN(8) { ... }.It parses and stores that header value, lowers numeric expressions into the existing section location path during linker-script processing, and adds parser and integration test coverage for the new syntax.
Closes #1660.