public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Set __IEEE_LITTLE_ENDIAN for _XTENSA_EL__ (ESP32)
@ 2019-12-16 21:56 Keith Packard
  2019-12-17  9:10 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Packard @ 2019-12-16 21:56 UTC (permalink / raw)
  To: newlib; +Cc: Keith Packard

Signed-off-by: Keith Packard <keithp@keithp.com>
---
 newlib/libc/include/machine/ieeefp.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index 536ac11fc..aa8a1903b 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -460,6 +460,10 @@
 #define __IEEE_LITTLE_ENDIAN
 #endif
 
+#ifdef __XTENSA_EL__
+#define __IEEE_LITTLE_ENDIAN
+#endif
+
 #ifdef __CYGWIN__
 #define __OBSOLETE_MATH_DEFAULT 0
 #endif
-- 
2.24.0

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

* Re: [PATCH] Set __IEEE_LITTLE_ENDIAN for _XTENSA_EL__ (ESP32)
  2019-12-16 21:56 [PATCH] Set __IEEE_LITTLE_ENDIAN for _XTENSA_EL__ (ESP32) Keith Packard
@ 2019-12-17  9:10 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2019-12-17  9:10 UTC (permalink / raw)
  To: Keith Packard; +Cc: newlib

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

On Dec 16 13:56, Keith Packard wrote:
> Signed-off-by: Keith Packard <keithp@keithp.com>
> ---
>  newlib/libc/include/machine/ieeefp.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
> index 536ac11fc..aa8a1903b 100644
> --- a/newlib/libc/include/machine/ieeefp.h
> +++ b/newlib/libc/include/machine/ieeefp.h
> @@ -460,6 +460,10 @@
>  #define __IEEE_LITTLE_ENDIAN
>  #endif
>  
> +#ifdef __XTENSA_EL__
> +#define __IEEE_LITTLE_ENDIAN
> +#endif
> +
>  #ifdef __CYGWIN__
>  #define __OBSOLETE_MATH_DEFAULT 0
>  #endif
> -- 
> 2.24.0

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 21:56 [PATCH] Set __IEEE_LITTLE_ENDIAN for _XTENSA_EL__ (ESP32) Keith Packard
2019-12-17  9:10 ` Corinna Vinschen

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).