[PATCH 0/3] nolibc updates and cleanups

From: Willy Tarreau
Date: Sun Oct 24 2021 - 13:44:27 EST


Hi Paul,

this small series includes the following updates for nolibc:

- small cleanups and code reductions for x86_64 based on the removal
of a few unneeded registers from the clobber list, and one shorter
instruction to set the NR_exit value in %eax, both by Ammar Faizi.

- Implementation of the gettid() syscall, by Mark Brown.

Please note, due to two adjacent instructions being touched by this
series and the previous one ("nolibc fixes marked for stable"), this
series will only apply after the stable one (I ordered the patches to
ease the backport to stable).

Thank you!
Willy

Ammar Faizi (2):
tools/nolibc: x86: Remove `r8`, `r9` and `r10` from the clobber list
tools/nolibc: x86-64: Use `mov $60,%eax` instead of `mov $60,%rax`

Mark Brown (1):
tools/nolibc: Implement gettid()

tools/include/nolibc/nolibc.h | 53 +++++++++++++++++++++++++----------
1 file changed, 38 insertions(+), 15 deletions(-)

--
2.17.5