This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Add microblaze support for RTEMS
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "newlib at sources dot redhat dot com" <newlib at sources dot redhat dot com>
- Date: Mon, 7 May 2012 16:13:50 -0500
- Subject: Add microblaze support for RTEMS
This is a very small support to add RTEMS support
for Microblaze.
OK to apply?
2012-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/sys/rtems/machine/_types.h: Add Microblaze.
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: newlib/libc/sys/rtems/machine/_types.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/rtems/machine/_types.h,v
retrieving revision 1.5
diff -u -r1.5 _types.h
--- newlib/libc/sys/rtems/machine/_types.h 16 Nov 2010 17:29:39 -0000 1.5
+++ newlib/libc/sys/rtems/machine/_types.h 7 May 2012 21:04:45 -0000
@@ -13,7 +13,7 @@
* could be applied here.
*/
-#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || defined(__arm__) || defined(__bfin__) || defined(__m68k__)
+#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || defined(__arm__) || defined(__bfin__) || defined(__m68k__) || defined(__MICROBLAZE__)
#if defined(__H8300__)
typedef signed int _ssize_t;
#else