tools/nolibc/arch: mark the _start symbol as weak
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:45 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 21 Apr 2022 00:05:45 +0000 (17:05 -0700)
commitdffeb81af5fe5eedccf5ea4a8a120d8c3accd26e
tree9e6758770f97f60a476a7c7fe7867c2bfc1afedd
parent07f47ea06fe9d38c5e8d9068fba2468ed8bb8b59
tools/nolibc/arch: mark the _start symbol as weak

By doing so we can link together multiple C files that have been compiled
with nolibc and which each have a _start symbol.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/arch-aarch64.h
tools/include/nolibc/arch-arm.h
tools/include/nolibc/arch-i386.h
tools/include/nolibc/arch-mips.h
tools/include/nolibc/arch-riscv.h
tools/include/nolibc/arch-x86_64.h