public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p
@ 2019-10-09 16:01 Joel Sherrill
  2019-10-17 16:20 ` Kito Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Sherrill @ 2019-10-09 16:01 UTC (permalink / raw)
  To: newlib; +Cc: Joel Sherrill

---
 newlib/libc/machine/riscv/sys/fenv.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newlib/libc/machine/riscv/sys/fenv.h b/newlib/libc/machine/riscv/sys/fenv.h
index e69978d..6cbd321 100644
--- a/newlib/libc/machine/riscv/sys/fenv.h
+++ b/newlib/libc/machine/riscv/sys/fenv.h
@@ -72,6 +72,8 @@
 typedef size_t fenv_t;
 typedef size_t fexcept_t;
 extern const fenv_t fe_dfl_env;
+extern const fenv_t *fe_dfl_env_p;
+
 #define FE_DFL_ENV fe_dfl_env_p
 
 #endif /* _SYS_FENV_H */
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p
  2019-10-09 16:01 [PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p Joel Sherrill
@ 2019-10-17 16:20 ` Kito Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Kito Cheng @ 2019-10-17 16:20 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: Newlib

Hi Joel:

LGTM, verified with rv64gc and rv32g.

Thanks :)

On Thu, Oct 10, 2019 at 12:01 AM Joel Sherrill <joel@rtems.org> wrote:

> ---
>  newlib/libc/machine/riscv/sys/fenv.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/newlib/libc/machine/riscv/sys/fenv.h
> b/newlib/libc/machine/riscv/sys/fenv.h
> index e69978d..6cbd321 100644
> --- a/newlib/libc/machine/riscv/sys/fenv.h
> +++ b/newlib/libc/machine/riscv/sys/fenv.h
> @@ -72,6 +72,8 @@
>  typedef size_t fenv_t;
>  typedef size_t fexcept_t;
>  extern const fenv_t fe_dfl_env;
> +extern const fenv_t *fe_dfl_env_p;
> +
>  #define FE_DFL_ENV fe_dfl_env_p
>
>  #endif /* _SYS_FENV_H */
> --
> 1.8.3.1
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-17 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 16:01 [PATCH] riscv/sys/fenv.h: Add missing extern for fe_dfl_env_p Joel Sherrill
2019-10-17 16:20 ` Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).