This series adds support for left alignment ('-') and zero padding ('0')
to nolibc's printf implementation.
v2 incorporates optimizations suggested by Willy Tarreau to further reduce
binary size, and updates the commit message to accurately reflect the
supported features.
Cheng Li (2):
tools/nolibc: support left alignment (-) and zero padding (0) in
printf
selftests/nolibc: add tests for printf left alignment and zero padding
tools/include/nolibc/stdio.h | 20 ++++++++++++++++----
tools/testing/selftests/nolibc/nolibc-test.c | 2 ++
2 files changed, 18 insertions(+), 4 deletions(-)
--
2.52.0