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, 24 Feb 2022 17:56:46 +0000 (09:56 -0800)
commitd18f9280fdb16599adaef91bc15e030bff9f46ff
treecc4f34138d847bc7847b54ed5eb7fc0bf6f763e6
parent919dc8eb88fadc96118e4968cfdb61aad430bca1
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