From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 7EDAF3858D28 for ; Mon, 4 Dec 2023 15:42:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7EDAF3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7EDAF3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.174.156.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701704579; cv=none; b=SCkJ/tKk9lzkMbTpAItX7QF0UPZv/f3E9EjeOGTww94WpjF959chZWMFgnHm8jU/DHnbfcrKOhwl9Ut0xIzWpINk0D0bobnT7v2NjxzkiEYDab7bfD6HjM/DL7t/j/vRJSxWtbk3IpIqoVkUd2W9xLHyQOa3SKBMnY0BDXe1tGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701704579; c=relaxed/simple; bh=y9W+2JpmUj+2I8mDs4gBtAQXU3pAXQYvWAS6cYfKveQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZcgRwvHsN0Q9pnoW/dBqWyRQ+2VYQTZsppMnhfkj/FjUId3RAxA9fVQK49iAhWZhZf73ewJPRvQWKCJ3F7lO1DaS9JaM9QmTWjWqvFznvIg9TwBRR1LwHnIaP+NvIGEHo/H9Kjst2vZTHwaVrYQLL82crGKX95KgEaNN1iwGLbc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vE4OdzcDFaiYk5AZcBmn1ns+aRPLsMU7rcq4os0Ugc8=; b=A3/LdcQ4qd8EiE7SUSDTZzI03Y jgToLQP9/XKGbxsOUJx0XGf9xOVwQL+G/qD63N4T0dmYf6T/6kL5wnoBsXaxajQYRYKUT+lqgZm/7 jVtlDDAiUuUS1deX9FlScqq82CG3ullLiGcP/LWrOwtzazH9Bi7X1st6/eRS0FClifM6N+dyW4PY6 locIIZGRaCOynuvvsPc7IVEqHRjstgVlIirOAck8/lGwg/ySzDhnHZYEezZQ/PS085CJpIw8bf/hX pBGmzGTT2ZE9rLi1/jLGsxbWGGeBz1heAx85N/plFnDlmcnpndHyAb72pJMh/cq7ce5uxCfKA0XmJ nSxDbzvg==; Received: from [95.42.20.142] (port=37598 helo=kendros..) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rAB5u-0007YM-18; Mon, 04 Dec 2023 17:42:52 +0200 From: Dimitar Dimitrov To: newlib@sourceware.org Cc: Dimitar Dimitrov Subject: [PATCH] pru: libm: Fix incorrect function name Date: Mon, 4 Dec 2023 17:42:42 +0200 Message-ID: <20231204154242.1391291-1-dimitar@dinux.eu> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Upstream GCC changed -Wimplicit-function-declaration warning into an error. The build break about missing fpclassifyf function prototype exposed a bug in the PRU port of libm. The fix is to use the fpclassify macro for both double and float types. Signed-off-by: Dimitar Dimitrov --- newlib/libm/machine/pru/fpclassifyf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libm/machine/pru/fpclassifyf.c b/newlib/libm/machine/pru/fpclassifyf.c index f4dd201d9..6d82ea777 100644 --- a/newlib/libm/machine/pru/fpclassifyf.c +++ b/newlib/libm/machine/pru/fpclassifyf.c @@ -32,5 +32,5 @@ by TI ABI. */ int __pruabi_fpclassifyf(float a) { - return fpclassifyf(a); + return fpclassify(a); } -- 2.43.0