Re: arm fenv support - static inline of methods

Brian Inglis <[email protected]>
Newsgroups gmane.comp.lib.newlib
Organization Systematic Software
Message-ID <[email protected]>
On 2020-05-13 08:11, Joel Sherrill wrote:

> Eshan Dhawan is an RTEMS GSoC 2020 student working on adding more POSIX
> methods to RTEMS and newlib if appropriate. He is currently looking at
> adding more
> fenv.h implementations.
> 
> The FreeBSD implementation of arm fenv.h has static inlines for all the
> methods in sys/fenv.h. Is this OK? Or should they be turned into real
> bodies in a C file?

Don't all functions need to be provided as linkable implementations for cases
where they are invoked using their address directly or indirectly, unless the
standards agree they don't need to be?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.