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>
Mon, 14 Feb 2022 18:48:55 +0000 (10:48 -0800)
commitf520bbc89cd3aa7a6f42d268eb9e40d7bdd3c7bf
treec0c53cf30140118f892b81f4a25cdb6720ba1422
parent577bf39ea6571f4e56825cea277cf844ad41b67f
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