tools/nolibc: riscv: shrink _start with _start_c
authorZhangjin Wu <falcon@tinylab.org>
Sat, 15 Jul 2023 18:31:12 +0000 (02:31 +0800)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 02:40:22 +0000 (04:40 +0200)
commiteea70cdac61087fdb7a1c1e6f306c0bf38ec39d4
treeb852f4f7cb48d511342dae7384eb5b2a3c844b39
parent61bd4621c056a04221b0c0353aa645a799d5c029
tools/nolibc: riscv: shrink _start with _start_c

move most of the _start operations to _start_c(), include the
stackprotector initialization.

Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/arch-riscv.h