linker: remove references to _k_task_list/_k_event_list

Commit 45a7e5d076 removed scripts/sysgen
and _k_task_list/_k_event_list sections are no longer being used.
So remove them.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-03-09 00:35:40 -08:00 committed by Anas Nashif
commit c8066c55fc
3 changed files with 2 additions and 22 deletions

View file

@ -89,7 +89,7 @@ config GP_GLOBAL
help help
Use global pointer relative offsets for small globals declared Use global pointer relative offsets for small globals declared
anywhere in the executable. Note that if any small globals that are put anywhere in the executable. Note that if any small globals that are put
in alternate sections (such as _k_task_list_ptr) they must be declared in alternate sections they must be declared
in headers with proper __attribute__((section)) or the linker will in headers with proper __attribute__((section)) or the linker will
error out. error out.

View file

@ -117,25 +117,6 @@
_k_pipe_list_end = .; _k_pipe_list_end = .;
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
SECTION_DATA_PROLOGUE(_k_task_list, (OPTIONAL), SUBALIGN(4))
{
_k_task_list_start = .;
*(._k_task_list.public.*)
*(._k_task_list.private.*)
_k_task_list_idle_start = .;
*(._k_task_list.idle.*)
KEEP(*(SORT_BY_NAME("._k_task_list*")))
_k_task_list_end = .;
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
SECTION_DATA_PROLOGUE(_k_event_list, (OPTIONAL), SUBALIGN(4))
{
_k_event_list_start = .;
*(._k_event_list.event.*)
KEEP(*(SORT_BY_NAME("._k_event_list*")))
_k_event_list_end = .;
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
SECTION_DATA_PROLOGUE(_net_buf_pool_area, (OPTIONAL), SUBALIGN(4)) SECTION_DATA_PROLOGUE(_net_buf_pool_area, (OPTIONAL), SUBALIGN(4))
{ {
_net_buf_pool_list = .; _net_buf_pool_list = .;

View file

@ -855,8 +855,7 @@ class SizeCalculator:
alloc_sections = ["bss", "noinit", "app_bss", "app_noinit", "ccm_bss", alloc_sections = ["bss", "noinit", "app_bss", "app_noinit", "ccm_bss",
"ccm_noinit"] "ccm_noinit"]
rw_sections = ["datas", "initlevel", "_k_task_list", "_k_event_list", rw_sections = ["datas", "initlevel", "exceptions", "initshell",
"exceptions", "initshell",
"_static_thread_area", "_k_timer_area", "_static_thread_area", "_k_timer_area",
"_k_mem_slab_area", "_k_mem_pool_area", "sw_isr_table", "_k_mem_slab_area", "_k_mem_pool_area", "sw_isr_table",
"_k_sem_area", "_k_mutex_area", "app_shmem_regions", "_k_sem_area", "_k_mutex_area", "app_shmem_regions",