All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] tools/nolibc: add support for SuperH
@ 2025-06-23 21:15 Thomas Weißschuh
  2025-06-23 21:15 ` [PATCH v2 1/3] selftests/nolibc: fix EXTRACONFIG variables ordering Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Thomas Weißschuh @ 2025-06-23 21:15 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz,
	Willy Tarreau, Shuah Khan
  Cc: linux-sh, linux-kselftest, linux-kernel, Thomas Weißschuh

Add support for SuperH/"sh" to nolibc.
Only sh4 is tested for now.

This is only tested on QEMU so far.
Additional testing would be very welcome.
Test instructions:
$ cd tools/testings/selftests/nolibc/
$ make -f Makefile.nolibc ARCH=sh CROSS_COMPILE=sh4-linux- nolibc-test
$ file nolibc-test
nolibc-test: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), statically linked, not stripped
$ ./nolibc-test
Running test 'startup'
0 argc = 1                                                        [OK]
...
Total number of errors: 0
Exiting with status 0

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Rebase onto latest nolibc-next
- Pick up Ack from Willy
- Provide some test instructions
- Link to v1: https://lore.kernel.org/r/20250609-nolibc-sh-v1-0-9dcdb1b66bb5@weissschuh.net

---
Thomas Weißschuh (3):
      selftests/nolibc: fix EXTRACONFIG variables ordering
      selftests/nolibc: use file driver for QEMU serial
      tools/nolibc: add support for SuperH

 tools/include/nolibc/arch-sh.h                 | 162 +++++++++++++++++++++++++
 tools/include/nolibc/arch.h                    |   2 +
 tools/testing/selftests/nolibc/Makefile.nolibc |  15 ++-
 tools/testing/selftests/nolibc/run-tests.sh    |   3 +-
 4 files changed, 177 insertions(+), 5 deletions(-)
---
base-commit: eb135311083100b6590a7545618cd9760d896a86
change-id: 20250528-nolibc-sh-8b4e3bb8efcb

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-25  9:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 21:15 [PATCH v2 0/3] tools/nolibc: add support for SuperH Thomas Weißschuh
2025-06-23 21:15 ` [PATCH v2 1/3] selftests/nolibc: fix EXTRACONFIG variables ordering Thomas Weißschuh
2025-06-23 21:15 ` [PATCH v2 2/3] selftests/nolibc: use file driver for QEMU serial Thomas Weißschuh
2025-06-24  8:56   ` Sergey Shtylyov
2025-06-23 21:15 ` [PATCH v2 3/3] tools/nolibc: add support for SuperH Thomas Weißschuh
2025-06-24  6:03 ` [PATCH v2 0/3] " John Paul Adrian Glaubitz
2025-06-24  6:07   ` Willy Tarreau
2025-06-25  9:47 ` John Paul Adrian Glaubitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.