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, 21 Apr 2022 00:05:45 +0000 (17:05 -0700)
commitf0f04f28d5ae483b3b354cb3b63a3bab0b00cee4
tree00c64c7796ae656d585305f41039aca1d73dcfbb
parentc4486e97283d0b3d72a8eeda91e53e2ea9b62fbe
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