You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "m-gorecki (via GitHub)" <gi...@apache.org> on 2024/02/19 17:09:52 UTC
[PR] wip: generate linker sections [mynewt-newt]
m-gorecki opened a new pull request, #542:
URL: https://github.com/apache/mynewt-newt/pull/542
Adding pkg.sections field with sections names will result in generation of two header files ld_ram.h and ld_text.h. Files are used in generated linker scripts.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] newt: Generate link tables header [mynewt-newt]
Posted by "andrzej-kaczmarek (via GitHub)" <gi...@apache.org>.
andrzej-kaczmarek commented on PR #542:
URL: https://github.com/apache/mynewt-newt/pull/542#issuecomment-1960950680
so I don't really understand what's the purpose of that if everything is put in single and thus can only be included in single section of linker script...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] newt: Generate link tables header [mynewt-newt]
Posted by "kasjer (via GitHub)" <gi...@apache.org>.
kasjer commented on PR #542:
URL: https://github.com/apache/mynewt-newt/pull/542#issuecomment-1960970354
@andrzej-kaczmarek It's put in one section (for cortex it's in .text just before .rodata) but it adds `__<section>__start__` and `__<section>__end__` that can be referred in code making link time tables
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] newt: Generate link tables header [mynewt-newt]
Posted by "andrzej-kaczmarek (via GitHub)" <gi...@apache.org>.
andrzej-kaczmarek commented on PR #542:
URL: https://github.com/apache/mynewt-newt/pull/542#issuecomment-1960904239
how does this work if build contains more than 1 package using this feature?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] newt: Generate link tables header [mynewt-newt]
Posted by "m-gorecki (via GitHub)" <gi...@apache.org>.
m-gorecki commented on PR #542:
URL: https://github.com/apache/mynewt-newt/pull/542#issuecomment-1960930531
@andrzej-kaczmarek Entries from each pkg used in the build will be collected and placed in the generated header.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] newt: Generate link tables header [mynewt-newt]
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #542:
URL: https://github.com/apache/mynewt-newt/pull/542
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org