From patchwork Wed May 1 12:01:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 1930134 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=X7lhwv+a; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VTwfc0zYZz1ymp for ; Wed, 1 May 2024 22:02:16 +1000 (AEST) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 27AEC35282EC; Wed, 1 May 2024 14:02:10 +0200 (CEST) Authentication-Results: helium.openadk.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=X7lhwv+a; dkim-atps=neutral Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by helium.openadk.org (Postfix) with ESMTPS id 0F07935208EF for ; Wed, 1 May 2024 14:02:07 +0200 (CEST) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2de232989aaso80743901fa.1 for ; Wed, 01 May 2024 05:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714564925; x=1715169725; darn=uclibc-ng.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cmJtaT//pMdSqMLnXnE1bFfF9uvuCC/iwr1zfBdIqkk=; b=X7lhwv+asFJRD5cUDnDKQ1JsE+jGW326bzitu2ELXbqZdua+m37ZaSGBKA0ZXK/wod tI7xM8fHBAWWwhylbQpwz0ygMJcK2eszcGDXbxCGMvBu2Nzg4eP68ycDnxPsfe6Vy+S4 ltTfpTHUBReHCjNpnI3Znz2t7YKyNjYj+LOzFe9j+QfnjttZ0Rh3gRIN5c14oOpT8Rwn IHhKPu0PmBD1odRKk3cf5yhJCWRCUJVTXi8XfrNPI9FPoWePXTijIXjQtOwtywtv/sMY X1CnXYK4BMnKiRM3JvrIdrJiC5w7kp7m9+gfzHem38G5Ii17csbRGYpoQ2M0sbp9fRWx jWkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714564925; x=1715169725; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cmJtaT//pMdSqMLnXnE1bFfF9uvuCC/iwr1zfBdIqkk=; b=j9bWRveZw3T0uAD7B5IWPMJrkRd9oeQp1IKyao4eTuaN7qz5tQSWzJE8A7LGpP6j2l +Bot7a+cZWPn2RfzULaG02c7eh5RtA2ltm8sakhqFiOYZeWnbG9KmG8mr8elXmABREfO 7KIyIKrfENtU6jgtew6MsSp0uR5EmhnF/sU+0n78p8R+vj1zYQCdh4j/kh/FIB6eAr95 tG/kxVUEBPM+jclHdg2qkBrUpIjbIpHPKkSHqpHzn8UScC5lbP2D7OCUBykjhm4WqzIj GZt7jBqqddw6QMB0DM1YMPjNhRfUwENGl/LoVb9Phjh9XPX+H9moO22jHHKGZQxaG+R0 YRxQ== X-Gm-Message-State: AOJu0YzdPwMuJuu1WwRPdIBCLhoGgVNv1yxuQgeIcaF1tXup5x2xUNsI 65Ur/pejMr4imcA+eusDOadjkITNkohydQQn9sMW1Z8Pm8auStDNXsIEiw== X-Google-Smtp-Source: AGHT+IGGFuWyer/vQkS1951AToA6yeKC90E3qbvxmLojXdaVx8R8YepmRr6o/lrC7ada5xgi1Cn2eA== X-Received: by 2002:a05:651c:154:b0:2d6:b413:87ce with SMTP id c20-20020a05651c015400b002d6b41387cemr1369603ljd.49.1714564925349; Wed, 01 May 2024 05:02:05 -0700 (PDT) Received: from octofox.metropolis (77-46-212-180.dynamic.isp.telekom.rs. [77.46.212.180]) by smtp.gmail.com with ESMTPSA id x35-20020a05600c18a300b0041b61504565sm1968585wmp.28.2024.05.01.05.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 05:02:04 -0700 (PDT) From: Max Filippov To: devel@uclibc-ng.org Date: Wed, 1 May 2024 05:01:42 -0700 Message-Id: <20240501120142.1124364-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Message-ID-Hash: 3TKTYFY6RAK2JLL2DGFCRS4AOJNYNG42 X-Message-ID-Hash: 3TKTYFY6RAK2JLL2DGFCRS4AOJNYNG42 X-MailFrom: jcmvbkbc@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Subject: [uclibc-ng-devel] [PATCH] xtensa: make _init and _fini hidden List-Id: uClibc-ng Development Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Make _init and _fini hidden so that references to these symbols bind locally in the shared objects. glibc does the same. Signed-off-by: Max Filippov --- libc/sysdeps/linux/xtensa/crti.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/sysdeps/linux/xtensa/crti.S b/libc/sysdeps/linux/xtensa/crti.S index ba804eb454e6..43e66e30820b 100644 --- a/libc/sysdeps/linux/xtensa/crti.S +++ b/libc/sysdeps/linux/xtensa/crti.S @@ -3,6 +3,7 @@ .section .init .align 4 .global _init + .hidden _init .type _init, @function _init: #if defined(__XTENSA_WINDOWED_ABI__) @@ -17,6 +18,7 @@ _init: .section .fini .align 4 .global _fini + .hidden _fini .type _fini, @function _fini: #if defined(__XTENSA_WINDOWED_ABI__)