zephyr/kernel
Torsten Rasmussen 25e1b12ec0 kernel: extract __weak main() into independent file
To support arm-ds / armlink it is required that the weak main is located
in an object externally to the object using the weak symbol.

If the weak symbol is inside the object referring to it, then the weak
symbol will be used and this will result in
```
Error: L6200E: Symbol __ARM_use_no_argv multiply defined
    (by init.o and main.o).
```
as both the weak and strong symbols are used.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-08-28 08:48:03 -04:00
..
include kernel: mmu: pin/unpin boot sections during boot process 2021-08-26 21:16:22 -04:00
paging
CMakeLists.txt kernel: extract __weak main() into independent file 2021-08-28 08:48:03 -04:00
Kconfig kernel: drop unused priority related definitions 2021-08-17 17:52:17 -04:00
atomic_c.c
banner.c
cache_handlers.c
compiler_stack_protect.c
condvar.c
device.c pm: fully initialize pm_device on Z_DEVICE_STATE_DEFINE 2021-08-27 09:06:51 -04:00
errno.c
fatal.c
futex.c futex: Avoid unnecessary lock 2021-07-30 20:21:04 -04:00
idle.c
init.c kernel: extract __weak main() into independent file 2021-08-28 08:48:03 -04:00
kheap.c kernel: kheap: make init work with demand paging 2021-08-26 21:16:22 -04:00
mailbox.c
main_weak.c kernel: extract __weak main() into independent file 2021-08-28 08:48:03 -04:00
mem_domain.c
mem_slab.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
mempool.c
mmu.c kernel: demand_paging: allow reserving page frames 2021-08-26 21:16:22 -04:00
msg_q.c
mutex.c
pipes.c
poll.c
queue.c
sched.c kernel: make k_current_get() work without syscall 2021-07-30 20:16:47 -04:00
sem.c
smp.c
stack.c
system_work_q.c
thread.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
timeout.c
timer.c
userspace.c kernel: app_smem: allowing pinning memory partitions 2021-08-26 21:16:22 -04:00
userspace_handler.c
version.c
work.c kernel: work_q: Add an init function 2021-08-25 22:07:04 -04:00
xip.c linker: align __itcm_load_start / __dtcm_data_load_start linker symbols 2021-08-28 08:48:03 -04:00