[PATCH 0/6] tools/nolibc: add stackprotector support for more architectures

Thomas Weißschuh linux at weissschuh.net
Mon Apr 17 09:01:30 PDT 2023


Add stackprotector support for all remaining architectures, except s390.

On s390 the stackprotectors are not supported in "global" mode; only
"sysreg" mode which is not suppored in nolibc.

The series also contains a small optimization to strace output during
execution of nolibc-test.

This series is based on the 20230415-nolibc-updates-4a branch of the
nolibc tree.

Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>
---
Thomas Weißschuh (6):
      selftests/nolibc: reduce syscalls during space padding
      tools/nolibc: riscv: add stackprotector support
      tools/nolibc: aarch64: add stackprotector support
      tools/nolibc: arm: add stackprotector support
      tools/nolibc: loongarch: add stackprotector support
      tools/nolibc: mips: add stackprotector support

 tools/include/nolibc/arch-aarch64.h          |  7 ++++++-
 tools/include/nolibc/arch-arm.h              |  7 ++++++-
 tools/include/nolibc/arch-loongarch.h        |  7 ++++++-
 tools/include/nolibc/arch-mips.h             |  8 +++++++-
 tools/include/nolibc/arch-riscv.h            |  7 ++++++-
 tools/testing/selftests/nolibc/Makefile      |  5 +++++
 tools/testing/selftests/nolibc/nolibc-test.c | 15 +++++++++++----
 7 files changed, 47 insertions(+), 9 deletions(-)
---
base-commit: e35214ea9db7477a02e67a8b412e8046534bb97c
change-id: 20230408-nolibc-stackprotector-archs-42244674616e

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




More information about the linux-riscv mailing list