From patchwork Tue Apr 2 14:06:44 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: 785120 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp4953857wrt; Tue, 2 Apr 2024 07:09:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCViAuIWsjOZLUmEl2rgtlkL1S9zejtsBkOLFbBATJYHZY5Mlqto+ZMw8dQhN+8Y0eKxlvD4XF6voVNk1aEVj5Ev X-Google-Smtp-Source: AGHT+IHFW+LaMa1MgcAdYd3M8YPIQPD5No7hJvZezc3SeYc2DxE0LMqxPJQ6DM5AFzxbcGT/+rzP X-Received: by 2002:a0c:fa84:0:b0:699:4a0:8518 with SMTP id o4-20020a0cfa84000000b0069904a08518mr6592827qvn.19.1712066973422; Tue, 02 Apr 2024 07:09:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712066973; cv=pass; d=google.com; s=arc-20160816; b=mZflbXxkXtTpUV94wAxqtZVie9262SC6cR+3Dmwko9xA+UYIFPU4yViqhk2pCvV6nA TfMWHNaB+l2OzmK90W8XZKsJNwuvkMKheacM1yvHzIKnfsGphK2XSxXjml5cxMpHnaN4 9zWpBJQcRxAqfKwleHvq+ESIxQr5s1HxgyJYABpJH6zm3kQC2pVDqIRv2YoppwV7sv/t 1Czbtg6HoyqyLG3JrasxtiNxgKFwe1YMcV6sjrucOAu9Sk+YKU7jYvCwha3FmQuq9szM m+goWpy0T5aQU33DpeSrnFfGheRLFa+OtExKF9CL1xhZA1JGgsgZVUu8F+CTMCnfRFeU XE3g== 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=BiNohVZ0JID36PBJ+XWSwqPOCnw9FJJABCCG1nulua0=; fh=WtLnUd2EuDKv+EP3BSdEI8hdivapDDAq3MY9+WgWrlk=; b=kEzBzOJY7Bs4SZnZNLOHV0dV4XkNtZv1bIFJcuMTaUC1ZHeNGHwxBGajJ8VQuPnQnF HuRCQlp3ivRbPV0URZhBV7tT/OGtHsi9aRKZ8uPUCg3fHvC3rFL6o378fTcmxdbX6j89 YUH+MJnAwXZbl4HXEOIYqureXKjDtjmZJx642y/2Crv9x6Ffh7PWVR5HIM1ZhphfnIKd fNvlY7LQWug8jkDfghPhU+ziWZVFz3cxphNKmBTD/IRRU+WWVvobusQIVn1L0E2fP1v6 ib2afs0eRqiK7g4NS5SdvRTMcu0LT4L1ohi8LEjNMeYk9umcYMad5kWyqAhXHHSD6atB Vr7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TQwr5mOe; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id qd2-20020ad44802000000b0068fe057717fsi5635897qvb.139.2024.04.02.07.09.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:09:33 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TQwr5mOe; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 0FC383858294 for ; Tue, 2 Apr 2024 14:09:33 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 98EC4385841B for ; Tue, 2 Apr 2024 14:07:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 98EC4385841B 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 98EC4385841B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::535 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712066838; cv=none; b=AZrJsEvPb/ACErsoFBjDihYxmZApTcXTTnqvs0BKIhDaLzTJNHuCiFP9rUvgUtPlrXW7OZcL2jCHWzdPPuvXDCbTNN4P6gdR5WyZyi26cj+meeK8q5AFG+RPyqIdQCEdWKirQvTx9zlqTGSgMmViZW0suhYOAIK8vxR+dp/+EsI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712066838; c=relaxed/simple; bh=TFRUJKhfsKH2kTByhS6Knd4PuZwTGJlx1Q+XuhZJym4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=XV7pHPIxOE0yP+XxY7haj5zYZ66jENhMh7GDYFPiWdUYZpk+Uq+DHtZXPpV7k819/14o0KeaBL6BIc3THmXHE3aLv0d0ggZE7T/s81rn6UznCsd6Fp23VFgzdq7frHp95/xUW5Z6cSzh1JWtYBLFdfa/Tg4Td5dwkMUdRGVlF6Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5dbf7b74402so2775604a12.0 for ; Tue, 02 Apr 2024 07:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712066824; x=1712671624; 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=BiNohVZ0JID36PBJ+XWSwqPOCnw9FJJABCCG1nulua0=; b=TQwr5mOeHn8nj//RhAbOJ7uK6Sk7y+zIdYMIYukwind+XEDxxU5uku1H20TrUXl5jn 9jeZzqggosK6VuXXIS8Endq4kfzkMg6+B62BoEuR+wye5Km7xF9Z2vuKSl+Q40VABWZ4 ePF8iQDPmx9FongvmYMpNc/IUbQSYRUCNkPoQ8KSOmJGlYfjOjaRhM8ZMz2AizYc3LNg R4z9X2IGNf/40hM7vUpv9yr9/Wbn7JGkD9z28e99Oxj+EXDIFoL9488KRAqZwLpMc5Rn psuWidfctHQ6sxeqR++V3ZEuiDhisz1qUgXFAQUeXV1HFsN0s93mfS9olR5Jx107F9zY VZ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712066824; x=1712671624; 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=BiNohVZ0JID36PBJ+XWSwqPOCnw9FJJABCCG1nulua0=; b=OVsS9ICiZcoFnX12lJNqqgsqaWh2Ej4RxrOH8JiQeXZWgAzE7eXQXWKCgk51/dFx44 0YIvnYH/mZAaD/yqTS04lWwHpUBtpUi8R3Ls1ZNlc2+mPdezuuMJhn1PfvqMLkbgWHpY kNvFMgcjwktAqLgxSuYKrpOhTOcSOgTrzB1LxeHR3ZX9dx2/2jw0W4pYbhNDqNavbrMv HjGEsiLg9YtB+f7sRApUh9BtFJfK87kVT+gt3ZIihVsZD54fkMqkZIxV2S1JB/MYuXVB FlQrnLnKwOlUGdKL0ypI20Ky5KjvZYg2QFV8Uwi9uhITjssymgClmh++kkSapJcXRWQs GUvQ== X-Gm-Message-State: AOJu0Ywmlh4C/VlZ35yWG57QwrOOC72AZ2iLJlrDhvcJ3ymdaumr0knv pW6tJJkZ2CoV8JdR9orwO9XG3gDVzOFCCDKGjp+VFJs00xScG31lLmMX0QGt/JzCBP3CQfGib9g y X-Received: by 2002:a17:902:f805:b0:1e0:4afe:b70d with SMTP id ix5-20020a170902f80500b001e04afeb70dmr9315774plb.64.1712066823996; Tue, 02 Apr 2024 07:07:03 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:b217:420c:65ee:fc3e]) by smtp.gmail.com with ESMTPSA id b3-20020a170902d50300b001dcb654d1a5sm11078483plg.21.2024.04.02.07.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:07:03 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers , Florian Weimer , "H . J . Lu" Subject: [PATCH v3 7/7] math: Provide modf128 for static libm on alpha, s390, and sparcv9 Date: Tue, 2 Apr 2024 11:06:44 -0300 Message-Id: <20240402140644.2172819-8-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402140644.2172819-1-adhemerval.zanella@linaro.org> References: <20240402140644.2172819-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