[PATCH 0/2] Fix clobber list and startup code bug

From: Ammar Faizi
Date: Fri Oct 15 2021 - 04:27:58 EST


This is a patchset, there are 2 patches in this series.

[PATCH 1/2] is a resend of the last patch I sent. Appended Acked-by tag
from Andy.

[PATCH 2/2] is based on [PATCH 1/2], it's a new patch to fix startup
code bug.

Detailed story in the commit message. Thanks to Peter who reported the
bug, fixed in [PATCH 2/2] by me.

Please review!

Ref: https://lore.kernel.org/lkml/20211011040344.437264-1-ammar.faizi@xxxxxxxxxxxxxxxxxxxxx/
----------------------------------------------------------------
Ammar Faizi (2):
tools/nolibc: x86: Remove `r8`, `r9` and `r10` from the clobber list
tools/nolibc: x86-64: Fix startup code bug

tools/include/nolibc/nolibc.h | 94 +++++++++++++++++++++++----------
1 file changed, 66 insertions(+), 28 deletions(-)

--
Ammar Faizi