[PATCH v4 0/2] tools/nolibc: add support for 32-bit parisc

From: Thomas Weißschuh

Date: Thu Apr 09 2026 - 07:57:05 EST


Extend nolibc to target the 32-bit parisc architecture.
64-bit is not yet supported.

Based on nolibc/for-next.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Changes in v4:
- Make use of the delay slot in _start
- Reword the delay slot description in the syscall overview
- Specify -M for QEMU
- Link to v3: https://patch.msgid.link/20260408-nolibc-hppa-v3-0-961f3754b506@xxxxxxxxxxxxxx

Changes in v3:
- Drop all changes to the parisc build system
- Link to v2: https://patch.msgid.link/20260408-nolibc-hppa-v2-0-7fe404cb61e3@xxxxxxxxxxxxxx

Changes in v2:
- Fix CROSS32CC fallback when not using CROSS_COMPILE
- Link to v1: https://patch.msgid.link/20260407-nolibc-hppa-v1-0-f70b4509c44a@xxxxxxxxxxxxxx

---
Thomas Weißschuh (2):
selftests/nolibc: avoid function pointer comparisons
tools/nolibc: add support for 32-bit parisc

tools/include/nolibc/Makefile | 2 +-
tools/include/nolibc/arch-parisc.h | 179 +++++++++++++++++++++++++
tools/include/nolibc/arch.h | 2 +
tools/testing/selftests/nolibc/Makefile.nolibc | 6 +
tools/testing/selftests/nolibc/nolibc-test.c | 13 +-
tools/testing/selftests/nolibc/run-tests.sh | 8 +-
6 files changed, 204 insertions(+), 6 deletions(-)
---
base-commit: 65191c9bf8fdd00f8fe90e2caab330418eefb786
change-id: 20250804-nolibc-hppa-8c137b00ecf2

Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>