[PATCH] Remove multiple defination error

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Jul 14 17:51:00 GMT 2020


On 14/07/2020 18:59, Jim Wilson wrote:

> On Tue, Jul 14, 2020 at 6:11 AM Joel Sherrill<joel@rtems.org>  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.



More information about the Newlib mailing list