This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Add OR16 and OR32 to ieeefp.h
- To: newlib at sources dot redhat dot com
- Subject: Add OR16 and OR32 to ieeefp.h
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Fri, 01 Dec 2000 07:50:08 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* libc/include/ieeefp.h: Added entries for OpenCores CPUs.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: newlib/libc/include/machine/ieeefp.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/machine/ieeefp.h,v
retrieving revision 1.3
diff -u -r1.3 ieeefp.h
--- ieeefp.h 2000/06/27 19:51:33 1.3
+++ ieeefp.h 2000/12/01 13:20:16
@@ -158,6 +158,11 @@
#define _DOUBLE_IS_32BITS
#endif
+#if defined(__or32__) || defined(__or1k__) || defined(__or16__)
+#define __IEEE_BIG_ENDIAN
+#endif
+
+
#ifndef __IEEE_BIG_ENDIAN
#ifndef __IEEE_LITTLE_ENDIAN
#error Endianess not declared!!