From patchwork Mon Apr 20 14:14:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Khrustalev X-Patchwork-Id: 133395 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id D73C64D8D1E9 for ; Mon, 20 Apr 2026 14:16:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D73C64D8D1E9 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=biCO/FA3 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 8B5B04A9933A for ; Mon, 20 Apr 2026 14:15:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B5B04A9933A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8B5B04A9933A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776694510; cv=none; b=ONO+wDA6CzWk2wD/ODA4OAjTpa5K/AdYvmGnh/YXfxNgK6SJDkrfUYXep3/Zm7WrSluw5AKALYTOlFuJlLx7iIWCDZsw+N26gT9L11ng2dclEVkLdmcjH0zHZP44MZjZyKNYVLNOubmJPQqU/2V96M3Szh389MwuC+x8oDG9ncc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776694510; c=relaxed/simple; bh=4hfiIT+0utHcjKQsbZaUrgODn+44maqOufYianqe2vU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xRK27z1nEEPN+JiS0e6x9jx63OhPiUDzANNrfI1ji8b0gIfKNmHEz/50cHZIwQY3kT8347RLug/MmngjTkMAeb0PbrEtG2PTzBocHEv8dT4PtN9jAMTXyixWKCx8EmRByRHC1MXvA5Gc0FxSwMh6yWZwia0KNKVpLkkrKAgef54= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B5B04A9933A Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8CFA916F3; Mon, 20 Apr 2026 07:15:04 -0700 (PDT) Received: from fdebian.localdomain (G7GWP2TF97.cambridge.arm.com [10.1.33.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 210283F7B4; Mon, 20 Apr 2026 07:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1776694510; bh=4hfiIT+0utHcjKQsbZaUrgODn+44maqOufYianqe2vU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=biCO/FA3LioiC2zBTnRv3+2KENx0DaRzjuWD9qDreHJoomRl1sSwED8SN0aBJeUZF 8MPt38xdxdvWNY5JEk5IeISah8leFoDlz/ZrhKVZ4ystJCKgTI7q9qbm61bFqeE5HZ nlulqqc+G1hcbOUBTjqFOZgRiDmCmdcwOHlrDJbI= From: Yury Khrustalev To: libc-alpha@sourceware.org Cc: DJ Delorie , Florian Weimer , "H . J . Lu" , Carlos O'Donell , Wilco Dijkstra Subject: [PATCH v2 1/2] misc: fix lint-makefiles failures Date: Mon, 20 Apr 2026 15:14:58 +0100 Message-ID: <20260420141459.531612-2-yury.khrustalev@arm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260420141459.531612-1-yury.khrustalev@arm.com> References: <20260420141459.531612-1-yury.khrustalev@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org --- sysdeps/aarch64/Makefile | 39 ++++++++++++++++++++++++++++----------- sysdeps/generic/Makefile | 27 +++++++++++++++++++++------ 2 files changed, 49 insertions(+), 17 deletions(-) Reviewed-by: Wilco Dijkstra diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile index d6c5cc96ca..1f7b01447b 100644 --- a/sysdeps/aarch64/Makefile +++ b/sysdeps/aarch64/Makefile @@ -31,11 +31,17 @@ tst-audit27-ENV = LD_AUDIT=$(objpfx)tst-auditmod27.so endif ifeq ($(subdir),elf) -sysdep-rtld-routines += dl-start -sysdep-dl-routines += tlsdesc dl-tlsdesc +sysdep-rtld-routines += \ + dl-start \ + # sysdep-rtld-routines +sysdep-dl-routines += \ + dl-tlsdesc \ + tlsdesc \ + # sysdep-dl-routines gen-as-const-headers += \ dl-link.sym \ - rtld-global-offsets.sym + rtld-global-offsets.sym \ + # gen-as-const-headers tests-internal += \ tst-ifunc-arg-1 \ @@ -44,16 +50,21 @@ tests-internal += \ tst-ifunc-arg-4 \ # tests-internal -tests += tst-vpcs -modules-names += tst-vpcs-mod +tests += \ + tst-vpcs \ + # tests +modules-names += \ + tst-vpcs-mod \ + # modules-names LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy $(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so endif ifeq ($(subdir),csu) gen-as-const-headers += \ + rtld-global-offsets.sym \ tlsdesc.sym \ - rtld-global-offsets.sym + # gen-as-const-headers endif ifeq ($(subdir),gmon) @@ -65,12 +76,15 @@ CPPFLAGS += -I../soft-fp endif ifeq ($(subdir),misc) -sysdep_headers += sys/ifunc.h +sysdep_headers += \ + sys/ifunc.h \ + # sysdep_headers sysdep_routines += \ - __mtag_tag_zero_region \ - __mtag_tag_region \ + __alloc_gcs \ __arm_za_disable \ - __alloc_gcs + __mtag_tag_region \ + __mtag_tag_zero_region \ + # sysdep_routines tests += \ tst-sme-jmp \ @@ -88,5 +102,8 @@ $(objpfx)tst-sme-clone3: $(objpfx)clone3.o $(objpfx)__arm_za_disable.o endif ifeq ($(subdir),malloc) -sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region +sysdep_malloc_debug_routines = \ + __mtag_tag_region \ + __mtag_tag_zero_region \ + # sysdep_malloc_debug_routines endif # malloc directory diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile index 53c4efa63e..0b586efe63 100644 --- a/sysdeps/generic/Makefile +++ b/sysdeps/generic/Makefile @@ -16,25 +16,40 @@ # . ifeq ($(subdir),string) -sysdep_routines += tls-internal +sysdep_routines += \ + tls-internal \ + # sysdep_routines CFLAGS-wordcopy.c += -Wno-uninitialized endif ifeq ($(subdir),elf) ifeq ($(enable-gsframe),yes) -sysdep_routines += sframe-read sframe +sysdep_routines += \ + sframe \ + sframe-read \ + # sysdep_routines endif ifeq (yes:yes,$(build-shared):$(unwind-find-fde)) # This is needed to support g++ v2 and v3. -sysdep_routines += framestate unwind-pe -shared-only-routines += framestate unwind-pe +sysdep_routines += \ + framestate \ + unwind-pe \ + # sysdep_routines +shared-only-routines += \ + framestate \ + unwind-pe \ + # shared-only-routines endif endif ifeq ($(subdir),malloc) -sysdep_malloc_debug_routines += hugepages +sysdep_malloc_debug_routines += \ + hugepages \ + # sysdep_malloc_debug_routines endif ifeq ($(subdir),misc) -sysdep_routines += hugepages +sysdep_routines += \ + hugepages \ + # sysdep_routines endif