From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <SRS0=On1D=GI=tinylab.org=falcon@gnuweeb.org> X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Authentication-Results: gnuweeb.org; dmarc=none (p=none dis=none) header.from=tinylab.org Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=43.155.67.158; helo=bg4.exmail.qq.com; envelope-from=falcon@tinylab.org; receiver=<UNKNOWN> Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.67.158]) by gnuweeb.org (Postfix) with ESMTPS id F2440249B0A for <gwml@vger.gnuweeb.org>; Fri, 27 Oct 2023 01:09:23 +0700 (WIB) X-QQ-mid: bizesmtp74t1698343759tcn4qe3u Received: from linux-lab-host.localdomain ( [119.123.131.231]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 27 Oct 2023 02:09:18 +0800 (CST) X-QQ-SSF: 01200000000000E0Y000B00A0000000 X-QQ-FEAT: o+V1LJLjbvzVQJ+POYHbAIzBi41Hj3XvPP9HipUt6OyPqOfMC4/mvonAjLU8J trmLI2B5wQgQmQG8Nd/ULttiODYJi1ss41L7vGaxLKQJpfcCPZWd+CgwuKV5anhUIdpmK+8 Ebk1hn47Ogd/AjGz8tMvOEdPWnUkgVb0FZVCEhihe8udVa8oTHM3GAnF7rMVhYV7AGL7RE7 XBg3DkI9Sj8S0RFeggyKDH1WJiUf0FYXM41+QYzsudT6sMLVRcShyATEi5PzD9Esn9I/BQY Zbl80gt/ZjglrjY7lFd37cEnU+SvPKZOJz1eB1wEnDanw9vrV8gPyhM7b+QynbH2cluTsMf w+Ro01n8Aj+0e+5chPltA38mEu1vKQAIIYCSJafOj0ysF7ogpJHFayge5PfaQ== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 9323057524841253284 From: Zhangjin Wu <falcon@tinylab.org> To: paulmck@kernel.org Cc: gwml@vger.gnuweeb.org, w@1wt.eu Subject: [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6) Date: Fri, 27 Oct 2023 02:09:17 +0800 Message-Id: <20231026180917.198491-1-falcon@tinylab.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 List-Id: <gwml.vger.gnuweeb.org> [out-of-tree] [ Sorry, please ignore the last one with lwt.eu, it should be 1wt.eu, seems a typo: https://lore.kernel.org/lkml/b34ce3cf-3fcc-4eb0-a658-229c197455ef@paulmck-laptop/ ] Hi, Paul, Thomas and Willy I just learned our nolibc tree has been moved to another git repo and have seen this PR series. I was waiting for a new branch in Willy's repo ;-) Just a question: seems some patches of mine have been queued to Willy's local repo, but I haven't seen in this PR, I can't remember which ones are queued exactly, here may be at least one of them: https://lore.kernel.org/linux-kselftest/cover.1691783604.git.falcon@tinylab.org/ Or do I need to send a new series for them? some of the commit message issues have been changed by Willy manually, so, that series online can not be merged simply, If necessary, I'm ok to resend them. BR, Zhangjin > Hello! > > This series contains nolibc updates, with the first three (1-3) being > urgent for v6.6 and the remainder (4-19) being for the upcoming v6.7 > merge window. > > 1. tools/nolibc: i386: Fix a stack misalign bug on _start, courtesy > of Ammar Faizi. > > 2. MAINTAINERS: nolibc: update tree location, courtesy of Thomas > Wei�schuh. > > 3. tools/nolibc: mark start_c as weak, courtesy of Thomas Wei�schuh. > > 4. tools/nolibc: add stdarg.h header, courtesy of Thomas Wei�schuh. > > 5. selftests/nolibc: use -nostdinc for nolibc-test, courtesy of > Thomas Wei�schuh. > > 6. tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and > `memmove()`, courtesy of Ammar Faizi. > > 7. tools/nolibc: x86-64: Use `rep stosb` for `memset()`, courtesy > of Ammar Faizi. > > 8. tools/nolibc: string: Remove the `_nolibc_memcpy_down()` function, > courtesy of Ammar Faizi. > > 9. tools/nolibc: string: Remove the `_nolibc_memcpy_up()` function, > courtesy of Ammar Faizi. > > 10. selftests/nolibc: libc-test: avoid -Wstringop-overflow warnings, > courtesy of Thomas Wei�schuh. > > 11. selftests/nolibc: don't embed initramfs into kernel image, > courtesy of Thomas Wei�schuh. > > 12. selftests/nolibc: allow building i386 with multiarch compiler, > courtesy of Thomas Wei�schuh. > > 13. tools/nolibc: avoid unused parameter warnings for ENOSYS > fallbacks, courtesy of Thomas Wei�schuh. > > 14. tools/nolibc: don't define new syscall number, courtesy of > Thomas Wei�schuh. > > 15. tools/nolibc: automatically detect necessity to use pselect6, > courtesy of Thomas Wei�schuh. > > 16. tools/nolibc: drop test for getauxval(AT_PAGESZ), courtesy of > Thomas Wei�schuh. > > 17. tools/nolibc: add support for constructors and destructors, > courtesy of Thomas Wei�schuh. > > 18. selftests/nolibc: use qemu-system-ppc64 for ppc64le, courtesy > of Thomas Wei�schuh. > > 19. selftests/nolibc: add tests for multi-object linkage, courtesy > of Thomas Wei�schuh. > > Thanx, Paul > > ------------------------------------------------------------------------ > > b/MAINTAINERS | 2 > b/tools/include/nolibc/Makefile | 1 > b/tools/include/nolibc/arch-aarch64.h | 3 > b/tools/include/nolibc/arch-i386.h | 4 - > b/tools/include/nolibc/arch-loongarch.h | 4 - > b/tools/include/nolibc/arch-riscv.h | 3 > b/tools/include/nolibc/arch-x86_64.h | 29 ++++++++ > b/tools/include/nolibc/crt.h | 1 > b/tools/include/nolibc/nolibc.h | 4 - > b/tools/include/nolibc/stdarg.h | 16 ++++ > b/tools/include/nolibc/stdio.h | 3 > b/tools/include/nolibc/string.h | 4 + > b/tools/include/nolibc/sys.h | 2 > b/tools/testing/selftests/nolibc/.gitignore | 1 > b/tools/testing/selftests/nolibc/Makefile | 2 > b/tools/testing/selftests/nolibc/nolibc-test-linkage.c | 26 +++++++ > b/tools/testing/selftests/nolibc/nolibc-test-linkage.h | 9 ++ > b/tools/testing/selftests/nolibc/nolibc-test.c | 6 - > tools/include/nolibc/arch-x86_64.h | 13 +++ > tools/include/nolibc/crt.h | 23 ++++++ > tools/include/nolibc/string.h | 32 ++------ > tools/include/nolibc/sys.h | 61 +++++++++-------- > tools/testing/selftests/nolibc/Makefile | 57 +++++++++------ > tools/testing/selftests/nolibc/nolibc-test.c | 22 +++++- > 24 files changed, 234 insertions(+), 94 deletions(-)