[0/3] tools/nolibc: add LoongArch support

Message ID 20230304142955.6682-1-w@1wt.eu
Headers
Series tools/nolibc: add LoongArch support |

Message

Willy Tarreau March 4, 2023, 2:29 p.m. UTC
  Hello Paul,

this is the third and last series of updates to nolibc for today.

It contains Feiyang Chen's work that brings in support for the LoongArch
architecture. I have tested that it builds fine and does not break any
existing arch. However I have not rebuilt my qemu to add support for this
new arch yet, but Feiyang has already run these tests so that's fine by
me for now. I'll ensure to have an updated qemu before 6.4 to continue
extensive testing of all supported archs anyway.

This series is to be applied on top of the second series titled
"tools/nolibc: cleanups, statx(), getuid()" since it depends on it.

Again, it would be great if it could be queued for 6.4.

Thank you!
Willy

Feiyang Chen (3):
  tools/nolibc: Add support for LoongArch
  selftests/nolibc: Add support for LoongArch
  selftests/nolibc: Adjust indentation for Makefile

 tools/include/nolibc/arch-loongarch.h   | 200 ++++++++++++++++++++++++
 tools/include/nolibc/arch.h             |   2 +
 tools/testing/selftests/nolibc/Makefile |  78 ++++-----
 3 files changed, 243 insertions(+), 37 deletions(-)
 create mode 100644 tools/include/nolibc/arch-loongarch.h