Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp526850rdg; Thu, 12 Oct 2023 12:32:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFR26c7xGQ6N2sBSjk//v6/UdVfd1XjSSqqtmvtAYn/69u9+JcL72/ACaU5K0Vk3UMljdjU X-Received: by 2002:a05:6a20:441d:b0:153:353e:5e39 with SMTP id ce29-20020a056a20441d00b00153353e5e39mr29413244pzb.51.1697139160415; Thu, 12 Oct 2023 12:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697139160; cv=none; d=google.com; s=arc-20160816; b=eY+ZSlkntaxeoLAV4XikzDiK02vTZfqzxpZPeTkZxbIqyKDUbQx7tNlwF5fOr02uc6 zj6jb60oVNbGkxvjM7dmgPmKUxqom1JDmU2JzXgKPV8iorwuJ39Nvth5y/ccgCeNTjIg Y+Rp6J57utALldQQYEEGJGMzYwtLr5v6kpqkFgPI0figNrGMUPE476lD3Ut6f3vwNROH xC1aHY5WhBACpiVlkAtQ0ToKJqY7E+Iv9mYJAS70CBh9llw4DPQvlaExTeZgCuNiBZIq RFcy8W1dBjiDUg9D7QMcs9hLdH29YVyimWCLsJ4+d7sd0I3RaeJpAJ7IZcoLSKcLsbPn SFfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=XKUOnLdrD19r80Y0yDDri8IJMKJoi+JwaTSuR6R8QvM=; fh=XrW/R5pwD0GC2b7doqNmJUgiPd0IBQNWqmKIYpJTUhQ=; b=r1G9WU1oLQb1+q19BudI1IMIkYEyAvTl/2LCYx2tY4VwR4V2cxlExqfi6Hd62CUQS0 0GvRAW3E/3MdZkBoJ327p9gqtjqnJ18zjULquoDnCLAem8EW+LuDXtG7obwC2vGyBMAR MPr+aMrt/qiqzgegU12FsUi8gFjT2p4s5C1SnNf91fYI1GImaBqahAUQiDHtV+sMLcC1 J2bgEA5StVcQtmj0hTGIHxeCYIgriVNSarbdzSfNUFLCofTNw9717J0pdF6zUXzsIwxd 3MFiuhlEUCLVS5Vxckax5UTvtd3HhfuDNWxBx+Dg0fujZhm7HFKJtF5b8pGI3oEqHk4s kphQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2cPdtI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id d13-20020a170902c18d00b001c76a06b5b5si2739701pld.298.2023.10.12.12.32.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 12:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2cPdtI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 56CBC80A32DA; Thu, 12 Oct 2023 12:32:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442177AbjJLTc3 (ORCPT + 99 others); Thu, 12 Oct 2023 15:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442098AbjJLTc2 (ORCPT ); Thu, 12 Oct 2023 15:32:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF9F2B7 for ; Thu, 12 Oct 2023 12:32:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5731BC433C8; Thu, 12 Oct 2023 19:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697139145; bh=5XvR0nbFOYbsOp6tjXhsyI+hRrcsXxU4UvZwxHkQOTA=; h=Date:From:To:Cc:Subject:Reply-To:From; b=Q2cPdtI2bNLimTeaRCR1tgN5h6ZXvNtQqJs7ibarktx9rEhAsF4AfNpv+Gx7HtdoG UBrmMR7vXSCCNhvWOP7IwChJXN7dJNm0M5TVfS4hJPrfATmR1WVwXtY2R5N8zr0D7l /H0GwaSpZfvIXdl70LM2+jZQybXKvnK9zIa8GqBtXcnD83ypA0HRL0QeJ9cTFuf6g+ BASO/HH8PBvVVSYCztGrbBD50SD5mIXZiGLQ60as6MRHDirjMThO/5xb/VjnjaR3tS +PXsGqpH1QMqy4lw/2HjqAAPL/A++piGNwD2cXIeGMhl/Pq21G3MwhtdNtmpcUWxgl VEUC+ztEqieBw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id E3C58CE096F; Thu, 12 Oct 2023 12:32:24 -0700 (PDT) Date: Thu, 12 Oct 2023 12:32:24 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, ammarfaizi2@gnuweeb.org Subject: [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6) Message-ID: Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 12:32:36 -0700 (PDT) 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(-)