diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-06-23 23:25:36 +0200 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-06-28 22:23:02 +0200 |
commit | f1e303348d137c710cf3fbf2eadf9d273a204987 (patch) | |
tree | 0bcc6bcdae069a88f58f94bfd6b75b5acee8c012 /scripts/lib/kdoc/kdoc_output.py | |
parent | 01e8a6d0c39ca0da2b7c80466f55e2959faf1522 (diff) |
tools/nolibc: MIPS: drop $gp setup
The setup of the global pointer "$gp" register was necessary when the C
entrypoint was called through "jal <symbol>".
However since commit 0daf8c86a451 ("tools/nolibc: mips: load current function to $t9")
"jalr" is used instead which does not require "$gp".
Remove the unnecessary $gp setup, simplifying the code and opening the
road for some other cleanups.
Suggested-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/lkml/alpine.DEB.2.21.2502172208570.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-1-6ae2d89f4259@weissschuh.net
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions