From patchwork Tue May 21 16:52:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1937495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=s1JrZSwg; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VkLCg48F8z1ydW for ; Wed, 22 May 2024 02:55:27 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D4C31384AB55 for ; Tue, 21 May 2024 16:55:25 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id CC7AF384B112 for ; Tue, 21 May 2024 16:54:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CC7AF384B112 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CC7AF384B112 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310489; cv=none; b=wa5Zym22YHsMxIx7ELp6zCigf7Duh8dm22aw39UHQMCETGQ6xMG2SNPCyvd6RS9XEg7kXx4XbRyx55sRFsDOLgq3CRxLktCppY3CpVao02Z1sgWZuUI9pPczLpwuX2lVZX83YtMNj8aEg8ALbZ96WTxzeZNAGIuub4OpIfXHFwg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310489; c=relaxed/simple; bh=gaLcIrWTSrN9Tgq3XWWB2mDXu5iCn2DDDVgg2H/+4ko=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GU+X/xXXubVIWH6rrCb3BoJrUZZtKBP8Ht9SN5sbUgBhDP12u0TChvcGT9TUqAynDaBIJApVeqpk0CtEWLKGLpe6ddu3p+NGDmX201OV3wpfW/vhm4VdgcE9qpIlSlv/e6Y53TvTvMQITetS9VOxygebguVWnqy63AclHeHr8o8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-602801ea164so473029a12.0 for ; Tue, 21 May 2024 09:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716310484; x=1716915284; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9wocQMS2wCPfFT2qO+A3QpXKfKTqZYI7P+wPtfpXK4A=; b=s1JrZSwg4UGxccER/5LkRE5KQ/C9sChmRk2xS6hPduXpPU/oSxaDyGlsWWmVFlbm1c 2vmDm/GXGdpJ2cl6vJeKI58aUxnjXVsdE+1dPLCeyktqFc3wSwjI09vT1czN6yCsgQ3l O5JA23Jhe4eyJh13iIUxfuhS0YDzOl+wDcTO9KxUQdwWZ+Lo7Z7UxWW59NfP3BXLxh3P AWa62N5SWfmZCNANOki0q+PFmWCqQIny0ZP/QuDtNWd3/KxAKAO8u+jNUnydeP8fgNc+ 0rBw19hFnqZqXLYHfyp4DQoNzoHtIGSf5xmTfCntR5ZlhMq8SZPyFHQ7m/wof2xJ4gJE kFlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716310484; x=1716915284; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9wocQMS2wCPfFT2qO+A3QpXKfKTqZYI7P+wPtfpXK4A=; b=qX1mWfYZhQUK6SPsSykpRkKMRuO2SbVs3oNZiXPEpRcazabEIRXtIvN06XvGZYJ7ht W17H7Byl9Owl1vClluiu7mmJkt2F3b5W5mnLDIq40nJbMwfpTqxkSldN8mR0emYPNtgW yUKB3E8GrHxDEhmOLhKieXLNoaJ2WDliVIB3UQEbIf+HOBXhALTrZZqU4NN2jPAbVyiz kN4zN55VQu5eVjJlt6epMhhUr4en6b4gtjARqdWyQvzYFLjjiQ1DDm3UWBRtushDgPrU 0iFpzpCWLTGLwZ++nztuTzJhDHKliD/sxt8MVdRE0nFTd1R5argQHNPP+un0u7xIJ3ZN CRhw== X-Gm-Message-State: AOJu0Yyzl0YPoEpgh8dqfQqXwjCl7MNzARq05XEX1NfUyPDNFLlFq6KS eh9Ne3/rI01teB7X87zGJXpwhMmgyY7EN+59gLzCjC3z3/aUxynWx5lCukNiEOXWjLqCYedhoa6 I X-Google-Smtp-Source: AGHT+IHsVVrSXKeU33O/xRk4sJ5XoqC2n66yundPeXnBut2k0S7Og1tziPq0KNcuPU/OVQV4Ym5tbQ== X-Received: by 2002:a17:90a:ad86:b0:2b6:22bd:f4b2 with SMTP id 98e67ed59e1d1-2b6cc03f435mr27246031a91.4.1716310484397; Tue, 21 May 2024 09:54:44 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:f76a:a4a6:1329:be7a:c724]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bd92b3d2b0sm1620774a91.3.2024.05.21.09.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 09:54:43 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH v4 5/5] math: Provide modf128 for static libm on alpha, s390, and sparcv9 Date: Tue, 21 May 2024 13:52:57 -0300 Message-ID: <20240521165430.2998944-6-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> References: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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+incoming=patchwork.ozlabs.org@sourceware.org Checked with a build for the affected ABIs --- sysdeps/ieee754/ldbl-64-128/s_modfl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/sysdeps/ieee754/ldbl-64-128/s_modfl.c index 7d7aeae111..ba3d31334a 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_modfl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_modfl.c @@ -1,10 +1,10 @@ #include #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __modfl, modfl); #endif