From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 2E2213858D34 for ; Tue, 14 Jul 2020 17:51:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2E2213858D34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sebastian.huber@embedded-brains.de Received: from sslproxy03.your-server.de ([88.198.220.132]) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1jvP54-0003oX-HB; Tue, 14 Jul 2020 19:51:02 +0200 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy03.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jvP54-0006OH-D3; Tue, 14 Jul 2020 19:51:02 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id B51BD2A1610; Tue, 14 Jul 2020 19:51:31 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AitwCODiQ1Zm; Tue, 14 Jul 2020 19:51:31 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 64DA82A1681; Tue, 14 Jul 2020 19:51:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kFjAdeqH4qAP; Tue, 14 Jul 2020 19:51:31 +0200 (CEST) Received: from shuber-nb-linux.eb.localhost (unknown [10.10.171.22]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 33AE52A1610; Tue, 14 Jul 2020 19:51:31 +0200 (CEST) Subject: Re: [PATCH] Remove multiple defination error To: Eshan Dhawan , joel@rtems.org Cc: Newlib References: <20200710224109.18663-1-eshandhawan51@gmail.com> <5de6b501-b0a2-68a6-b5b2-6fb487506f3b@embedded-brains.de> <794b64ce-3a7b-23a3-38d3-f6f26ebc418b@embedded-brains.de> From: Sebastian Huber Message-ID: <628c6d37-9b21-72e2-13d8-0924f5d88504@embedded-brains.de> Date: Tue, 14 Jul 2020 19:51:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.102.3/25873/Tue Jul 14 16:13:02 2020) X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2020 17:51:06 -0000 On 14/07/2020 18:59, Jim Wilson wrote: > On Tue, Jul 14, 2020 at 6:11 AM Joel Sherrill wrote: >> The RISC-V would be a good model. Jim Wilson provided some default >> behavior when there is no hard FPU. > It wasn't me personally. This predates my involvement. I'd guess > either Andrew Waterman, Palmer Dabbelt, or Kito Cheng. Anyways, we > use the hard FPU if available, both for hard-float and soft-float > ABIs. If no hard FPU, then the various fenv routines do very little, > just returning some default values. Ok, good. Eshan, could you please use the RISC-V as a model for the ARM support. Please reduce the file count. I think we just need one fenv.c and not additional source and header files. Alternatively, you can split it up into one file per function similar to RISC-V.