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: 1918850 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=TQwr5mOe; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4V88s2703kz1yYw for ; Wed, 3 Apr 2024 01:09:42 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 917D93858412 for ; Tue, 2 Apr 2024 14:09:40 +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-Google-Smtp-Source: AGHT+IGsvh6HjLxrPZ43m0x8RI+7E6pGEmfKl6ANua6poZWSYggWW1yuoOb3QKTLtxir2h6DfpcZBg== 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+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