Re: [PATCH] Remove multiple defination error
Sebastian Huber <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On 14/07/2020 18:59, Jim Wilson wrote: > On Tue, Jul 14, 2020 at 6:11 AM Joel Sherrill<[email protected]> 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.