From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 618323858D1E for ; Fri, 30 Dec 2022 22:26:48 +0000 (GMT) X-IronPort-AV: E=Sophos;i="5.96,288,1665475200"; d="scan'208";a="91248627" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 30 Dec 2022 14:26:45 -0800 IronPort-SDR: WOBzw0SFnuCN8CtxR3M3eqWShgiP4ml1nVHT7wzfaE9kkMPc0XCxEGcJ0THfbnVFVmO+COEQcQ VDWO1A87vFJyEJ05B8w41xbib32HpHzA34CTJ6bHNTeZULZpKI4sRROZr6sG2domCVqbMiuloB r3P/w9ZG6KERdYwV7cr70itZaSbG/0k/tRm6D0DPchMay/E/BbTDX5JMuMMdcHu/D7GP1f6vzA stcW9ORd32QEwFI/JkYSQyEShkUxj8kokE1AyrSz8r65L9R/rHogR9uG33c5WfxOesCpTyANO3 tM4= Date: Fri, 30 Dec 2022 22:26:39 +0000 From: Joseph Myers To: CC: , Iain Sandoe , Subject: Re: [PATCH] Darwin, crts: Provide scalb and significand as a crt [PR107631] In-Reply-To: <20221230102046.8287-1-iain@sandoe.co.uk> Message-ID: <83b1e9f-1b4f-5fc2-90b2-8cf6e97d35db@codesourcery.com> References: <20221230102046.8287-1-iain@sandoe.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3109.2 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 30 Dec 2022, Iain Sandoe via Gcc-patches wrote: > This patch is providing functions used by the modula-2 implementation. > > At present, I've used a crt rather than adding symbols to libgcc, since > it is not clear if the modula-2 might alter the use of scalb to scalbn > (although that will not solve the missing significand* symbols). > > I plan to apply the patch early next week (it is Darwin-specific) unless > there are any comments on the implementation. I think it would be better to change Modula-2 to avoid using these obsolescent functions, rather than providing them in GCC. (But if provided, the libgcc runtime license exception should be used.) -- Joseph S. Myers joseph@codesourcery.com