linker-defs: fix APP_INPUT_SECTION
This was not working properly but only noticeable if the sections involved were not preceded by a KERNEL_INPUT_SECTION definition for the same sections (i.e. the application data coming first in the memory map) Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
9ffaaae5ad
commit
5f5f7c5504
1 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,8 @@
|
||||||
|
|
||||||
#ifdef CONFIG_APPLICATION_MEMORY
|
#ifdef CONFIG_APPLICATION_MEMORY
|
||||||
#define KERNEL_INPUT_SECTION(sect) libzephyr.a (sect) kernel/lib.a (sect)
|
#define KERNEL_INPUT_SECTION(sect) libzephyr.a (sect) kernel/lib.a (sect)
|
||||||
#define APP_INPUT_SECTION(sect) EXCLUDE_FILE (*libzephyr.a *kernel/lib.a) *(sect)
|
#define APP_INPUT_SECTION(sect) \
|
||||||
|
*(EXCLUDE_FILE (*libzephyr.a *kernel/lib.a) sect)
|
||||||
#else
|
#else
|
||||||
#define KERNEL_INPUT_SECTION(sect) *(sect)
|
#define KERNEL_INPUT_SECTION(sect) *(sect)
|
||||||
#define APP_INPUT_SECTION(sect) *(sect)
|
#define APP_INPUT_SECTION(sect) *(sect)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue