Message ID | 20240327164527.3717523-11-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> 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=ZmmKBNXv; 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 4V4XfS3YsQz1yWv for <incoming@patchwork.ozlabs.org>; Thu, 28 Mar 2024 03:48:00 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A6F4A385E839 for <incoming@patchwork.ozlabs.org>; Wed, 27 Mar 2024 16:47:58 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 5A66D3858427 for <libc-alpha@sourceware.org>; Wed, 27 Mar 2024 16:45:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A66D3858427 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 5A66D3858427 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711557957; cv=none; b=KgdaChK/zruvFs7pFGn42NB4ieYjRL/ChcttDJh0FYkLFzyLNRgsXYzoB4x83zcDOOiRB8iSVZEAteH7aJhrSlHC0BFE25t97zF5ix0NbiCRW+Gh5UIFWLnbLNy2i3SqLh53NylXgr5GVhtEk/jJgk+FEDm19K8gvx/OAUn7crw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711557957; c=relaxed/simple; bh=/Xf7aJ0aBDDwls/BEo72jFQHS+OKW6FU016uLRxh+I0=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=JM/G4iJBc66bnj1tFBJI/ne1ETxY+x5cMUvp0WbjgT9OoVAMcWb003iDdluGTSn1hdDZN86mugSdI+4EPPsNz8CCvkRD4Rl7go4p6WhxpHpa11fZSnVgBmHQGW2p+mFXSKcZ17C3Kxwk1i2IYeNbNRGcOTJj90ZoGYO04+JIIMg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1e0f2798b47so397915ad.1 for <libc-alpha@sourceware.org>; Wed, 27 Mar 2024 09:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711557954; x=1712162754; 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=XEBGnvKMJc/FekL1l9x46E5WjtTLo3MX29wvCcbEgeE=; b=ZmmKBNXv2ypbWUuVqyga+dcdfDDzk+ftCuB61bMi4OvbD6pNyvfzDnaSnaqw9XjP/l /jfvHztW4XY8kBFSebK2Z/2HPIwzNU0qUTpLZ1yrKmJHnaW/QCrfah/Tqd2V/GzzJC9K z/RnO9RUKgWmkFANE61Pt58oUZ7k6vmdyaneIRCHlQASuTo6L0sUQIMXVMHhLGZ+cvbS h7QSB0IUr+ZwGeTnmdrT3gb5e6/9e0raxS1jpVPK+Sb66d3YqgRBsud076b0hgQxHJkD xPzoD39/89AGqS6i8YZ0fNkkdbqqLioRLXgfmk1F8FxT2qs6FqgaU3I844R2+bjp9bAX HZtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711557954; x=1712162754; 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=XEBGnvKMJc/FekL1l9x46E5WjtTLo3MX29wvCcbEgeE=; b=tcqWuZDDiFKExvNp5T9RQrUaMP1WNkoqBFsEdYXxLcXNTUAeW0Vf0t463W6V70O1oA +b/AbiLH1aG16JyshYd+dEW3/q63owD/U1T9XI5LpTghkk5qcpGwYnlosaB+N40uuTO4 Z/s8BKXgSSB8i2g7Y6ijQahwRSPGY4Tcv13E2nmh0JDxHO72emHYePigJFjCy6q1smuo 1yeGMyOUq5lzE3HRtMp1urSy+0qSWCf/VvT7bO9v3Zlz0zBLWtCVplY8nA+bI6xiz3c7 OsjaQ7yD/1MrwL9xyzZebXgIbTpzkJbpSNqtHPQ/vTsocBikAfgwsN/ZCgPnaSDlKB+z uFVQ== X-Gm-Message-State: AOJu0YzV0pUoh/Y6KH+3RMvgvuayOh7NEa72thyDEgL22qZRdO7AQjj5 XiB45Oig2HLnKCZrl9Gxv8lnmLVBy82q7xbAB+xtnDB2VllvHyUROJYk1L2JLMSSnE4LAgoCZzb Y X-Google-Smtp-Source: AGHT+IE4sSANpo31QqjLybmHyg1X4UefeH3lrTaAfDOXkh39kR1qYKExlFXzyBtYAdFFW0UE7ZrJ6w== X-Received: by 2002:a17:902:d505:b0:1e0:188c:ad4f with SMTP id b5-20020a170902d50500b001e0188cad4fmr204622plg.26.1711557953790; Wed, 27 Mar 2024 09:45:53 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:67c4:6248:3d8a:f386]) by smtp.gmail.com with ESMTPSA id c4-20020a170903234400b001e20578b524sm858593plh.252.2024.03.27.09.45.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:45:53 -0700 (PDT) From: Adhemerval Zanella <adhemerval.zanella@linaro.org> To: libc-alpha@sourceware.org Cc: Joseph Myers <josmyers@redhat.com>, Florian Weimer <fweimer@redhat.com>, "H . J . Lu" <hjl.tools@gmail.com> Subject: [PATCH 10/15] math: Provide modf128 for static libm on alpha, s390, and sparcv9 Date: Wed, 27 Mar 2024 13:45:22 -0300 Message-Id: <20240327164527.3717523-11-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327164527.3717523-1-adhemerval.zanella@linaro.org> References: <20240327164527.3717523-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 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 <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org |
Series |
Fix some libm static issues
|
expand
|
diff --git a/math/Makefile b/math/Makefile index 655f6ed4e3..af1909d0c7 100644 --- a/math/Makefile +++ b/math/Makefile @@ -375,6 +375,7 @@ libm-test-funcs-noauto-static = \ fmod \ frexp \ isnan \ + modf \ # libm-test-funcs-noauto-static libm-test-funcs-narrow-static = libm-test-funcs-all-static = $(libm-test-funcs-auto-static) $(libm-test-funcs-noauto-static) 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 <math_ldbl_opt.h> #include <libm-alias-ldouble.h> -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include <sysdeps/ieee754/ldbl-128/s_modfl.c> -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __modfl, modfl); #endif