From patchwork Wed Oct 23 08:39:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Khrustalev X-Patchwork-Id: 99376 X-Patchwork-Delegate: Wilco.Dijkstra@arm.com Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A3D19385AC23 for ; Wed, 23 Oct 2024 08:45:51 +0000 (GMT) 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 EDB563858CD1 for ; Wed, 23 Oct 2024 08:44:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDB563858CD1 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 EDB563858CD1 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=1729673054; cv=none; b=H7ud6HAAHexS2tI8BQp8Q9JZkFbVyYHxx/Ym/nnUqbDejEimgNFKn2drIojYlBjRb59PimQb0u5Yk/PksdJnXLHwU065hwEInxFXE24nFHIeTz7BrggXZ6pfglO1hw5Rk7iS8Dj4T+vwAITbv/26fMMJshdTmG055zAxGJkmvV8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729673054; c=relaxed/simple; bh=tY/loOEvatCICl8jTyWuqZuTV2AGBIAJoRW2JVTJnZI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=KU2uPs9/2FxHnEglc4vh285rZ8E8YcCs+ObE/Hl93WANn+K1n2ErGr75O8DRz3QV/CKhkoknKkOAkdNdEyXRyCGQECVmxmeKvSdq8Gg3aBufXrZ15QSTTEAcR8KTanTJn/T/AFS9Ac084FpQr+OaA91K8UmhqEeTKHS47/Bn13Q= ARC-Authentication-Results: i=1; server2.sourceware.org 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 4B0FA1575; Wed, 23 Oct 2024 01:44:37 -0700 (PDT) Received: from udebian.localdomain (unknown [10.1.39.30]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E62843F528; Wed, 23 Oct 2024 01:44:06 -0700 (PDT) From: Yury Khrustalev To: libc-alpha@sourceware.org Cc: fweimer@redhat.com, adhemerval.zanella@linaro.org, codonell@redhat.com, nsz@gcc.gnu.org Subject: [PATCH v3 18/23] aarch64: Use l_searchlist.r_list for gcs Date: Wed, 23 Oct 2024 09:39:15 +0100 Message-Id: <20241023083920.466015-19-yury.khrustalev@arm.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241023083920.466015-1-yury.khrustalev@arm.com> References: <20241023083920.466015-1-yury.khrustalev@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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 From: Szabolcs Nagy Allows using the same function for static exe. --- sysdeps/aarch64/dl-gcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/aarch64/dl-gcs.c b/sysdeps/aarch64/dl-gcs.c index a92deb54b5..764b8a56e9 100644 --- a/sysdeps/aarch64/dl-gcs.c +++ b/sysdeps/aarch64/dl-gcs.c @@ -55,5 +55,5 @@ _dl_gcs_check (struct link_map *l, const char *program) check_gcs (l, program); for (unsigned int i = 0; i < l->l_searchlist.r_nlist; i++) - check_gcs (l->l_initfini[i], program); + check_gcs (l->l_searchlist.r_list[i], program); }