tools/nolibc: MIPS: drop manual stack pointer alignment
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 23 Jun 2025 21:25:37 +0000 (23:25 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Sat, 28 Jun 2025 20:23:20 +0000 (22:23 +0200)
commit36aab1693ade824640318746c2cbf085b687bad4
tree95388a2aae836f09ff84323bc0155fe4780c060d
parentf1e303348d137c710cf3fbf2eadf9d273a204987
tools/nolibc: MIPS: drop manual stack pointer alignment

The stack pointer is already aligned by the kernel to a multiple of 16.
All modifications of the register have been removed from the entrypoint,
so the manual realignment is unnecessary.

Drop the manual alignment.

Suggested-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/lkml/alpine.DEB.2.21.2502161523290.65342@angie.orcam.me.uk/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Tested-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Link: https://lore.kernel.org/r/20250623-nolibc-mips-n32-v3-2-6ae2d89f4259@weissschuh.net
tools/include/nolibc/arch-mips.h