25e1b12ec0
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> |
||
---|---|---|
.. | ||
include | ||
paging | ||
CMakeLists.txt | ||
Kconfig | ||
atomic_c.c | ||
banner.c | ||
cache_handlers.c | ||
compiler_stack_protect.c | ||
condvar.c | ||
device.c | ||
errno.c | ||
fatal.c | ||
futex.c | ||
idle.c | ||
init.c | ||
kheap.c | ||
mailbox.c | ||
main_weak.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
mmu.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
system_work_q.c | ||
thread.c | ||
timeout.c | ||
timer.c | ||
userspace.c | ||
userspace_handler.c | ||
version.c | ||
work.c | ||
xip.c |