Skip to content

Conversation

@SebastianBoe
Copy link
Contributor

This rewrites the implementation of the APP_INPUT_SECTION and
KERNEL_INPUT_SECTION macros such that an unbounded amount of
kernelspace libraries can be used.

This resolves #7703

The new implementation has a caveat/limitation; the linker script
developer must invoke APP_INPUT_SECTION before KERNEL_INPUT_SECTION.

All in-tree linker scripts happened to already be doing this so no
in-tree porting was necessary.

Minor refactoring and commenting of the _SECTION infrastructure in
preparation for future improvements.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This rewrites the implementation of the APP_INPUT_SECTION and
KERNEL_INPUT_SECTION macros such that an unbounded amount of
kernelspace libraries can be used.

This resolves zephyrproject-rtos#7703

The new implementation has a caveat/limitation; the linker script
developer must invoke APP_INPUT_SECTION before KERNEL_INPUT_SECTION.

All in-tree linker scripts happened to already be doing this so no
in-tree porting was necessary.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
@codecov-io
Copy link

Codecov Report

Merging #9280 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9280   +/-   ##
=======================================
  Coverage   52.46%   52.46%           
=======================================
  Files         201      201           
  Lines       25290    25290           
  Branches     5286     5286           
=======================================
  Hits        13268    13268           
  Misses       9938     9938           
  Partials     2084     2084

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eab3f3f...0380fc1. Read the comment docs.

@pizi-nordic pizi-nordic requested review from pizi-nordic and removed request for pizi-nordic August 7, 2018 14:41
@nashif nashif merged commit cbe7b4f into zephyrproject-rtos:master Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NUM_KERNEL_OBJECT_FILES is too small

3 participants