tools/nolibc/stdlib: implement abort()
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:54 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:56:46 +0000 (09:56 -0800)
commit130684baaae635e58da6a0741f61171c37a2b2a0
tree1605f0fe7666aefcca1b1f966ccb66f0b1bac4ee
parent02b139e17bbd9a8e14baf5baf9d3884a7be8c2e6
tools/nolibc/stdlib: implement abort()

libgcc uses it for certain divide functions, so it must be exported. Like
for memset() we do that in its own section so that the linker can strip
it when not needed.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/stdlib.h