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

Thomas Weißschuh posted 2 patches 1 month, 2 weeks ago
tools/include/nolibc/Makefile                  |   2 +-
tools/include/nolibc/arch-parisc.h             | 185 +++++++++++++++++++++++++
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, 210 insertions(+), 6 deletions(-)
[PATCH v5 0/2] tools/nolibc: add support for 32-bit parisc
Posted by Thomas Weißschuh 1 month, 2 weeks ago
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@weissschuh.net>
---
Changes in v5:
- Allow non-constant systemcall numbers
- Mark unused argument registers as clobbered
- Link to v4: https://patch.msgid.link/20260409-nolibc-hppa-v4-0-24e5f31a0233@weissschuh.net

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@weissschuh.net

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

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

---
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             | 185 +++++++++++++++++++++++++
 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, 210 insertions(+), 6 deletions(-)
---
base-commit: facb4776f65f7fab827733f6e0e3cfc2aaaf434c
change-id: 20250804-nolibc-hppa-8c137b00ecf2

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>