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 X-Patchwork-Id: 797969 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:92:b0:351:d90a:5487 with SMTP id m18csp78759wrx; Tue, 21 May 2024 09:55:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgSY5X8MBKEsrChW2z/o1vfct75sw/vDlMzKEyac5QinTn5NHaLreOWHqkzp3YiHSs16AdFzTLYQi+yMMWmDje X-Google-Smtp-Source: AGHT+IGEu7t+G+x7phhk2iSQG23K4UGoO/aMWXU/f6pTWmYKZd26OUwbPGS+z2bfnKr3bIWsaWbE X-Received: by 2002:a05:6214:3f87:b0:6a8:ff23:aa0a with SMTP id 6a1803df08f44-6a8ff23aa5bmr103693776d6.26.1716310520512; Tue, 21 May 2024 09:55:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716310520; cv=pass; d=google.com; s=arc-20160816; b=OLVAYKIsyyfhTXzysR9K3GKMqY67LQOt6vVKY/ZvpzginEkCHIa6LFJZdBq3CJCAB9 NjEl4scO/4ZDKCaYIQC/Gfthj3x6SZ/3YJ1pHZZO1vXfs6WAT6ODwpVetr5UeEyhfhls N4SyuZ4ZWwCeuJb9zz5Ogpl5BtpRVF9GkM8HIq9u414CEse9xs14vYTTZmZs1D9JS4Wb KPmGOE7wvR2knL6BdxEN3i81TC3A63S2wCrjNW0tE5oHWRLZTYFMeynMTKk1+o9+wh2H FJQBKF7KM/KBJ44v/SER2WcWqEtp/C7/rX0GpF8GjWPTEFZ4V1GmOO1MV9CLtuXlnoCw gjcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=9wocQMS2wCPfFT2qO+A3QpXKfKTqZYI7P+wPtfpXK4A=; fh=+6orIzRLXQY2FWXAtGF+abYflc8V+YPKzsYFuX0DJM4=; b=OMAZrGfJn58CJx52Y73hEnioIthND4it3CoskXdgdpbMrVJ9JLThaF5LAV49PBPBhT TzePBsBXFkYWy6cH7MSwJrlcRCrQ9/B7Tv27BFm+SfvYlC4UfFVi66NCgCsLs9g2ym9T RY7eMbPZ5ZOOBQTTR7U9VChdf++ZmTdKcKCMJ6Hlx4qNTAwRx4afyT2iWkE+yLUEU1z0 Rl6QWLwDzeRzxFQ2fSxZPhTJwPHDOK4YctDxqjbCk1rij6vemAkjSbo3ibg/3CVtV2Go E/bp/Xy3p1dOZQUim6lAOoIpOBr0o0Rqp7GrB/9W3Uq78RV3eMGGia8n2VxIwvVI1Okj qNyA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1JrZSwg; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 6a1803df08f44-6ab7ac4763dsi4253216d6.358.2024.05.21.09.55.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 09:55:20 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1JrZSwg; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E7AB8384AB77 for ; Tue, 21 May 2024 16:55:18 +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-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+patch=linaro.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