<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-10-04)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-26  Yann Sionneau <yann@minet.net>

        PR 1697/cpukit
        * rtems/score/cpu.h: lm32 really needs aligned stack. Recent changes
        highlighted that this macro was incorrect.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/lm32/ChangeLog.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>cpukit/score/cpu/lm32/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>cpukit/score/cpu/lm32/rtems/score/cpu.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.17 rtems/cpukit/score/cpu/lm32/ChangeLog:1.18
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.17  Fri Aug 20 16:24:16 2010
+++ rtems/cpukit/score/cpu/lm32/ChangeLog       Sun Sep 26 18:43:46 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-09-26     Yann Sionneau <yann@minet.net>
+
+       PR 1697/cpukit
+       * rtems/score/cpu.h: lm32 really needs aligned stack. Recent changes
+       highlighted that this macro was incorrect.
+
</font> 2010-08-20        <yann.sionneau@telecom-sudparis.eu>
 
        * rtems/score/lm32.h: Add lm32_read_interrupts().

<font color='#006600'>diff -u rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h:1.11 rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h:1.12
--- rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h:1.11  Thu Jul 29 12:51:40 2010
+++ rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h       Sun Sep 26 18:43:47 2010
</font><font color='#997700'>@@ -693,7 +693,7 @@
</font>  *
  *  XXX document implementation including references if appropriate
  */
<font color='#880000'>-#define CPU_STACK_ALIGNMENT        0
</font><font color='#000088'>+#define CPU_STACK_ALIGNMENT        4
</font> 
 /*
  *  ISR handler macros
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c:
        * posix/src/pthreadattrgetguardsize.c, posix/src/pthreadattrgetstack.c,
        posix/src/pthreadattrsetguardsize.c, posix/src/pthreadattrsetstack.c:
        New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2628&r2=text&tr2=1.2629&diff_format=h">M</a></td><td width='1%'>1.2629</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/Makefile.am.diff?r1=text&tr1=1.101&r2=text&tr2=1.102&diff_format=h">M</a></td><td width='1%'>1.102</td><td width='100%'>cpukit/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/configure.ac.diff?r1=text&tr1=1.192&r2=text&tr2=1.193&diff_format=h">M</a></td><td width='1%'>1.193</td><td width='100%'>cpukit/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/Makefile.am.diff?r1=text&tr1=1.85&r2=text&tr2=1.86&diff_format=h">M</a></td><td width='1%'>1.86</td><td width='100%'>cpukit/posix/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/pthread.c.diff?r1=text&tr1=1.80&r2=text&tr2=1.81&diff_format=h">M</a></td><td width='1%'>1.81</td><td width='100%'>cpukit/posix/src/pthread.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/pthreadattrgetguardsize.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/posix/src/pthreadattrgetguardsize.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/pthreadattrgetstack.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/posix/src/pthreadattrgetstack.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/pthreadattrsetguardsize.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/posix/src/pthreadattrsetguardsize.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/pthreadattrsetstack.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/posix/src/pthreadattrsetstack.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2628 rtems/cpukit/ChangeLog:1.2629
--- rtems/cpukit/ChangeLog:1.2628       Tue Sep 28 02:40:34 2010
+++ rtems/cpukit/ChangeLog      Mon Oct  4 10:32:35 2010
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2010-10-04    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c:
+       * posix/src/pthreadattrgetguardsize.c, posix/src/pthreadattrgetstack.c,
+       posix/src/pthreadattrsetguardsize.c, posix/src/pthreadattrsetstack.c:
+       New files.
+
</font> 2010-09-28        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * posix/src/psignal.c: Fixed NULL pointer access.

<font color='#006600'>diff -u rtems/cpukit/Makefile.am:1.101 rtems/cpukit/Makefile.am:1.102
--- rtems/cpukit/Makefile.am:1.101      Fri Aug 13 07:40:16 2010
+++ rtems/cpukit/Makefile.am    Mon Oct  4 10:32:35 2010
</font><font color='#997700'>@@ -15,6 +15,7 @@
</font> SUBDIRS += libmisc
 SUBDIRS += libmd
 SUBDIRS += libgnat
<font color='#000088'>+SUBDIRS += libdbm
</font> SUBDIRS += wrapup
 
 SUBDIRS += zlib

<font color='#006600'>diff -u rtems/cpukit/configure.ac:1.192 rtems/cpukit/configure.ac:1.193
--- rtems/cpukit/configure.ac:1.192     Wed Sep  8 05:19:25 2010
+++ rtems/cpukit/configure.ac   Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -351,6 +351,7 @@
</font> libnetworking/Makefile
 librpc/Makefile
 libmisc/Makefile
<font color='#000088'>+libdbm/Makefile
</font> libi2c/Makefile
 libmd/Makefile
 zlib/Makefile

<font color='#006600'>diff -u rtems/cpukit/posix/Makefile.am:1.85 rtems/cpukit/posix/Makefile.am:1.86
--- rtems/cpukit/posix/Makefile.am:1.85 Mon Aug 30 07:25:23 2010
+++ rtems/cpukit/posix/Makefile.am      Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -111,20 +111,24 @@
</font>     src/mutextranslatereturncode.c src/mutextrylock.c src/mutexunlock.c
 
 ## PTHREAD_C_FILES
<font color='#880000'>-libposix_a_SOURCES += src/pthread.c src/pthreadsetcputime.c \
-    src/pthreadgetcputime.c src/pthreadgetcpuclockid.c src/pthreadonce.c \
-    src/pthreadequal.c src/pthreadself.c src/pthreadexit.c \
-    src/pthreaddetach.c src/pthreadjoin.c src/pthreadcreate.c \
-    src/pthreadattrsetdetachstate.c src/pthreadattrgetdetachstate.c \
-    src/pthreadattrgetstackaddr.c src/pthreadattrsetstackaddr.c \
-    src/pthreadattrgetstacksize.c src/pthreadattrsetstacksize.c \
-    src/pthreadattrinit.c src/pthreadattrdestroy.c \
-    src/pthreadsetschedparam.c src/pthreadgetschedparam.c \
-    src/pthreadattrsetschedparam.c src/pthreadattrgetschedparam.c \
-    src/pthreadattrgetschedpolicy.c src/pthreadattrsetschedpolicy.c \
-    src/pthreadattrgetinheritsched.c src/pthreadattrsetinheritsched.c \
-    src/pthreadattrgetscope.c src/pthreadattrsetscope.c \
-    src/pthreadinitthreads.c src/psxtransschedparam.c
</font><font color='#000088'>+libposix_a_SOURCES += src/pthreadatfork.c src/pthreadattrdestroy.c \
+    src/pthreadattrgetdetachstate.c src/pthreadattrgetinheritsched.c \
+    src/pthreadattrgetschedparam.c src/pthreadattrgetschedpolicy.c \
+    src/pthreadattrgetscope.c src/pthreadattrgetstackaddr.c \
+    src/pthreadattrgetstack.c src/pthreadattrgetstacksize.c \
+    src/pthreadattrinit.c src/pthreadattrsetdetachstate.c \
+    src/pthreadattrsetguardsize.c src/pthreadattrsetinheritsched.c \
+    src/pthreadattrsetschedparam.c src/pthreadattrsetschedpolicy.c \
+    src/pthreadattrsetscope.c src/pthreadattrsetstackaddr.c \
+    src/pthreadattrsetstack.c src/pthreadattrsetstacksize.c \
+    src/pthreadattrgetguardsize.c src/pthread.c \
+    src/pthreadcreate.c src/pthreaddetach.c src/pthreadequal.c \
+    src/pthreadexit.c src/pthreadgetcpuclockid.c \
+    src/pthreadgetcputime.c src/pthreadgetschedparam.c \
+    src/pthreadinitthreads.c src/pthreadjoin.c src/pthreadkill.c \
+    src/pthreadonce.c src/pthreadself.c src/pthreadsetcputime.c \
+    src/pthreadsetschedparam.c src/pthreadsigmask.c \
+    src/psxpriorityisvalid.c src/psxtransschedparam.c
</font> 
 ## PSIGNAL_C_FILES
 libposix_a_SOURCES += src/psignal.c src/alarm.c src/kill.c src/killinfo.c \

<font color='#006600'>diff -u rtems/cpukit/posix/src/pthread.c:1.80 rtems/cpukit/posix/src/pthread.c:1.81
--- rtems/cpukit/posix/src/pthread.c:1.80       Sun Apr 25 14:51:12 2010
+++ rtems/cpukit/posix/src/pthread.c    Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -55,6 +55,9 @@
</font>       { 0L, 0 }                 /* sched_ss_init_budget */
     #endif
   },
<font color='#000088'>+  #if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
+    0,                        /* guardsize */
+  #endif
</font>   #if defined(_POSIX_THREAD_CPUTIME)
     1,                        /* cputime_clock_allowed */
   #endif

<font color='#006600'>diff -u /dev/null rtems/cpukit/posix/src/pthreadattrgetguardsize.c:1.1
--- /dev/null   Mon Oct  4 18:10:24 2010
+++ rtems/cpukit/posix/src/pthreadattrgetguardsize.c    Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -0,0 +1,33 @@
</font><font color='#000088'>+/*
+ *  16.1.1 Thread Creation Attributes
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#if HAVE_DECL_PTHREAD_ATTR_GETGUARDSIZE
+#include <pthread.h>
+#include <errno.h>
+
+int pthread_attr_getguardsize(
+  const pthread_attr_t  *attr,
+  size_t                *guardsize
+)
+{
+  if ( !attr || !attr->is_initialized || !guardsize )
+    return EINVAL;
+
+  *guardsize = attr->guardsize;
+  return 0;
+}
+#endif
</font>
<font color='#006600'>diff -u /dev/null rtems/cpukit/posix/src/pthreadattrgetstack.c:1.1
--- /dev/null   Mon Oct  4 18:10:24 2010
+++ rtems/cpukit/posix/src/pthreadattrgetstack.c        Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -0,0 +1,35 @@
</font><font color='#000088'>+/*
+ *  16.1.1 Thread Creation Attributes
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#if HAVE_DECL_PTHREAD_ATTR_GETSTACK
+#include <pthread.h>
+#include <errno.h>
+
+int pthread_attr_getstack(
+  const pthread_attr_t   *attr,
+  void                  **stackaddr,
+  size_t                 *stacksize
+)
+{
+  if ( !attr || !attr->is_initialized || !stackaddr || !stacksize )
+    return EINVAL;
+
+  *stackaddr = attr->stackaddr;
+  *stacksize = attr->stacksize;
+  return 0;
+}
+#endif
</font>
<font color='#006600'>diff -u /dev/null rtems/cpukit/posix/src/pthreadattrsetguardsize.c:1.1
--- /dev/null   Mon Oct  4 18:10:24 2010
+++ rtems/cpukit/posix/src/pthreadattrsetguardsize.c    Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -0,0 +1,36 @@
</font><font color='#000088'>+/*
+ *  16.1.1 Thread Creation Attributes
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
+#include <pthread.h>
+#include <errno.h>
+
+#include <rtems/system.h>
+#include <rtems/posix/pthread.h>
+
+int pthread_attr_setguardsize(
+  pthread_attr_t  *attr,
+  size_t           guardsize
+)
+{
+  if ( !attr || !attr->is_initialized )
+    return EINVAL;
+
+  attr->guardsize = guardsize;
+  return 0;
+}
+#endif
</font>
<font color='#006600'>diff -u /dev/null rtems/cpukit/posix/src/pthreadattrsetstack.c:1.1
--- /dev/null   Mon Oct  4 18:10:24 2010
+++ rtems/cpukit/posix/src/pthreadattrsetstack.c        Mon Oct  4 10:32:36 2010
</font><font color='#997700'>@@ -0,0 +1,42 @@
</font><font color='#000088'>+/*
+ *  16.1.1 Thread Creation Attributes
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
+#include <pthread.h>
+#include <errno.h>
+
+#include <rtems/system.h>
+#include <rtems/posix/pthread.h>
+
+int pthread_attr_setstack(
+  pthread_attr_t  *attr,
+  void            *stackaddr,
+  size_t           stacksize
+)
+{
+  if ( !attr || !attr->is_initialized )
+    return EINVAL;
+
+  if (stacksize < PTHREAD_MINIMUM_STACK_SIZE)
+    attr->stacksize = PTHREAD_MINIMUM_STACK_SIZE;
+  else
+    attr->stacksize = stacksize;
+
+  attr->stackaddr = stackaddr;
+  return 0;
+}
+#endif
</font></pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>*** empty log message ***
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2629&r2=text&tr2=1.2630&diff_format=h">M</a></td><td width='1%'>1.2630</td><td width='100%'>cpukit/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2629 rtems/cpukit/ChangeLog:1.2630
--- rtems/cpukit/ChangeLog:1.2629       Mon Oct  4 10:32:35 2010
+++ rtems/cpukit/ChangeLog      Mon Oct  4 10:33:09 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> 2010-10-04        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c:
<font color='#000088'>+   Add pthread_attr_getstack, pthread_attr_setstack,
+       pthread_attr_getguardsize, and pthread_attr_setguardsize.
</font>   * posix/src/pthreadattrgetguardsize.c, posix/src/pthreadattrgetstack.c,
        posix/src/pthreadattrsetguardsize.c, posix/src/pthreadattrsetstack.c:
        New files.
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * Makefile.am, configure.ac, psx07/init.c, psx07/psx07.scn,
        psxhdrs/Makefile.am, psxstack01/init.c: Add pthread_attr_getstack,
        pthread_attr_setstack, pthread_attr_getguardsize, and
        pthread_attr_setguardsize.
        * psxstack02/.cvsignore, psxstack02/Makefile.am, psxstack02/init.c,
        psxstack02/psxstack02.doc, psxstack02/psxstack02.scn: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.317&r2=text&tr2=1.318&diff_format=h">M</a></td><td width='1%'>1.318</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/Makefile.am.diff?r1=text&tr1=1.70&r2=text&tr2=1.71&diff_format=h">M</a></td><td width='1%'>1.71</td><td width='100%'>testsuites/psxtests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/configure.ac.diff?r1=text&tr1=1.76&r2=text&tr2=1.77&diff_format=h">M</a></td><td width='1%'>1.77</td><td width='100%'>testsuites/psxtests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx07/init.c.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>testsuites/psxtests/psx07/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx07/psx07.scn.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>testsuites/psxtests/psx07/psx07.scn</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/Makefile.am.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>testsuites/psxtests/psxhdrs/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstack01/init.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>testsuites/psxtests/psxstack01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstack02/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxstack02/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstack02/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxstack02/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstack02/init.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxstack02/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstack02/psxstack02.doc?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxstack02/psxstack02.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstack02/psxstack02.scn?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxstack02/psxstack02.scn</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.317 rtems/testsuites/psxtests/ChangeLog:1.318
--- rtems/testsuites/psxtests/ChangeLog:1.317   Fri Oct  1 11:56:06 2010
+++ rtems/testsuites/psxtests/ChangeLog Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -1,3 +1,12 @@
</font><font color='#000088'>+2010-10-04    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * Makefile.am, configure.ac, psx07/init.c, psx07/psx07.scn,
+       psxhdrs/Makefile.am, psxstack01/init.c: Add pthread_attr_getstack,
+       pthread_attr_setstack, pthread_attr_getguardsize, and
+       pthread_attr_setguardsize.
+       * psxstack02/.cvsignore, psxstack02/Makefile.am, psxstack02/init.c,
+       psxstack02/psxstack02.doc, psxstack02/psxstack02.scn: New files.
+
</font> 2010-10-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * configure.ac: Check for pthread_attr_{get,set}cputime instead of<span style="background-color: #FF0000"> </span>

<font color='#006600'>diff -u rtems/testsuites/psxtests/Makefile.am:1.70 rtems/testsuites/psxtests/Makefile.am:1.71
--- rtems/testsuites/psxtests/Makefile.am:1.70  Tue Sep 28 02:36:06 2010
+++ rtems/testsuites/psxtests/Makefile.am       Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -15,7 +15,7 @@
</font>     psxmutexattr01 psxobj01 psxrwlock01 psxsem01 psxsignal01 psxsignal02 \
     psxsignal03 psxsignal04 psxsignal05 psxspin01 psxspin02 psxsysconf \
     psxtime psxtimer01 psxtimer02 psxualarm psxusleep psxfatal01 psxfatal02 \
<font color='#880000'>-    psxintrcritical01 psxstack01
</font><font color='#000088'>+    psxintrcritical01 psxstack01 psxstack02
</font> endif
 
 ## File IO tests

<font color='#006600'>diff -u rtems/testsuites/psxtests/configure.ac:1.76 rtems/testsuites/psxtests/configure.ac:1.77
--- rtems/testsuites/psxtests/configure.ac:1.76 Fri Oct  1 11:56:06 2010
+++ rtems/testsuites/psxtests/configure.ac      Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -41,10 +41,26 @@
</font> # Likely an anachronism in RTEMS.
 AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
 
<font color='#000088'>+# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
+# Likely an anachronism in RTEMS.
+AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
+
</font> # FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
 # Likely an anachronism in RTEMS.
 AC_CHECK_DECLS([pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
 
<font color='#000088'>+# Added to pthreads after initial revision.  May not be in toolset
+AC_CHECK_DECLS([pthread_attr_getstack],[],[],[[#include <pthread.h>]])
+
+# Added to pthreads after initial revision.  May not be in toolset
+AC_CHECK_DECLS([pthread_attr_setstack],[],[],[[#include <pthread.h>]])
+
+# Added to pthreads after initial revision.  May not be in toolset
+AC_CHECK_DECLS([pthread_attr_getguardsize],[],[],[[#include <pthread.h>]])
+
+# Added to pthreads after initial revision.  May not be in toolset
+AC_CHECK_DECLS([pthread_attr_setguardsize],[],[],[[#include <pthread.h>]])
+
</font> # FIXME: adjtime is a non-standardized BSD/Linux extension
 # RTEMS should not rely on adjtime
 AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
<font color='#997700'>@@ -129,6 +145,7 @@
</font> psxspin01/Makefile
 psxspin02/Makefile
 psxstack01/Makefile
<font color='#000088'>+psxstack02/Makefile
</font> psxstat/Makefile
 psxsysconf/Makefile
 psxtime/Makefile

<font color='#006600'>diff -u rtems/testsuites/psxtests/psx07/init.c:1.33 rtems/testsuites/psxtests/psx07/init.c:1.34
--- rtems/testsuites/psxtests/psx07/init.c:1.33 Sun Apr 25 14:40:12 2010
+++ rtems/testsuites/psxtests/psx07/init.c      Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -63,6 +63,7 @@
</font>   int                 inheritsched;
   int                 schedpolicy;
   size_t              stacksize;
<font color='#000088'>+  size_t              guardsize;
</font>   void               *stackaddr;
   int                 detachstate;
   struct sched_param  schedparam;
<font color='#997700'>@@ -127,10 +128,12 @@
</font>   status = pthread_attr_init( &attr );
   posix_service_failed( status, "pthread_attr_init");
 
<font color='#000088'>+#if HAVE_DECL_PTHREAD_ATTR_SETSTACKADDR
</font>   attr.stacksize = rtems_configuration_get_work_space_size() * 10;
   puts( "Init - pthread_create - EAGAIN (stacksize too large)" );
   status = pthread_create( &Task_id, &attr, Task_1, NULL );
   fatal_directive_check_status_only( status, EAGAIN, "stacksize too large" );
<font color='#000088'>+#endif
</font> 
   status = pthread_attr_init( &attr );
   posix_service_failed( status, "pthread_attr_init");
<font color='#997700'>@@ -373,7 +376,6 @@
</font>     printf( "Init - current stack size attribute is OK\n" );
 
   /* exercise get and set stack address */
<font color='#880000'>-
</font>   empty_line();
 
   puts( "Init - pthread_attr_setstackaddr - EINVAL (NULL attr)" );
<font color='#997700'>@@ -381,14 +383,14 @@
</font>   fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
 
   puts( "Init - pthread_attr_setstackaddr - EINVAL (not initialized attr)" );
<font color='#880000'>-  status =
-     pthread_attr_setstackaddr( &destroyed_attr, NULL );
</font><font color='#000088'>+  status = pthread_attr_setstackaddr( &destroyed_attr, NULL );
</font>   fatal_directive_check_status_only( status, EINVAL, "not initialized attr" );
 
   puts( "Init - pthread_attr_setstackaddr - SUCCESSFUL" );
   status = pthread_attr_setstackaddr( &attr, 0 );
   posix_service_failed( status, "");
 
<font color='#000088'>+  /* get stack addr */
</font>   puts( "Init - pthread_attr_getstackaddr - EINVAL (NULL attr)" );
   status = pthread_attr_getstackaddr( NULL, &stackaddr );
   fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
<font color='#997700'>@@ -406,8 +408,89 @@
</font>   posix_service_failed( status, "pthread_attr_getstackaddr");
   printf( "Init - current stack address attribute = %p\n", stackaddr );
 
<font color='#000088'>+  /* exercise get and set stack (as pair) */
+  empty_line();
+
+#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
+  puts( "Init - pthread_attr_setstack- EINVAL (NULL attr)" );
+  status = pthread_attr_setstack( NULL, &stackaddr, 1024 );
+  fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
+
+  puts( "Init - pthread_attr_setstack- EINVAL (destroyed attr)" );
+  status = pthread_attr_setstack( &destroyed_attr, &stackaddr, 1024 );
+  fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
+
+  puts( "Init - pthread_attr_setstack- SUCCESSFUL (< min stack)" );
+  status = pthread_attr_setstack( &attr, stackaddr, 0 );
+  posix_service_failed( status, "OK");
+
+  puts( "Init - pthread_attr_setstack- SUCCESSFUL (big stack)" );
+  status = pthread_attr_setstack( &attr, stackaddr, STACK_MINIMUM_SIZE * 2 );
+  posix_service_failed( status, "OK");
+#endif
+
+#if HAVE_DECL_PTHREAD_ATTR_GETSTACK
+  puts( "Init - pthread_attr_getstack- EINVAL (NULL attr)" );
+  status = pthread_attr_getstack( NULL, &stackaddr, &stacksize );
+  fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
+
+  puts( "Init - pthread_attr_getstack- EINVAL (destroyed attr)" );
+  status = pthread_attr_getstack( &destroyed_attr, &stackaddr, &stacksize );
+  fatal_directive_check_status_only( status, EINVAL, "&destroyed attr" );
+
+  puts( "Init - pthread_attr_getstack- EINVAL (NULL stack)" );
+  status = pthread_attr_getstack( &attr, NULL, &stacksize );
+  fatal_directive_check_status_only( status, EINVAL, "&NULL stack" );
+
+  puts( "Init - pthread_attr_getstack- EINVAL (NULL stacksize)" );
+  status = pthread_attr_getstack( &attr, &stackaddr, NULL );
+  fatal_directive_check_status_only( status, EINVAL, "&NULL size" );
+
+  puts( "Init - pthread_attr_getstack- SUCCESSFUL" );
+  status = pthread_attr_getstack( &attr, &stackaddr, &stacksize );
+  posix_service_failed( status, "pthread_attr_getstack");
+#endif
+
</font>   /* exercise get and set detach state */
<font color='#000088'>+  empty_line();
+
+#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
+  puts( "Init - pthread_attr_setguardsize - EINVAL (NULL attr)" );
+  status = pthread_attr_setguardsize( NULL, 0 );
+  fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
+
+  puts( "Init - pthread_attr_setguardsize - EINVAL (not initialized attr)" );
+  status = pthread_attr_setguardsize( &destroyed_attr, 0 );
+  fatal_directive_check_status_only( status, EINVAL, "not initialized attr" );
+
+  puts( "Init - pthread_attr_setguardsize - SUCCESSFUL (low guardsize)" );
+  status = pthread_attr_setguardsize( &attr, 0 );
+  posix_service_failed( status, "pthread_attr_setguardsize");
+
+  puts( "Init - pthread_attr_setguardsize - SUCCESSFUL (high guardsize)" );
+  status = pthread_attr_setguardsize( &attr, STACK_MINIMUM_SIZE * 2 );
+  posix_service_failed( status, "");
+#endif
</font> 
<font color='#000088'>+#if HAVE_DECL_PTHREAD_ATTR_GETGUARDSIZE
+  puts( "Init - pthread_attr_getguardsize - EINVAL (NULL attr)" );
+  status = pthread_attr_getguardsize( NULL, &guardsize );
+  fatal_directive_check_status_only( status, EINVAL, "NULL attr" );
+
+  puts( "Init - pthread_attr_getguardsize - EINVAL (NULL guardsize)" );
+  status = pthread_attr_getguardsize( &attr, NULL );
+  fatal_directive_check_status_only( status, EINVAL, "NULL guardsize" );
+
+  puts( "Init - pthread_attr_getguardsize - EINVAL (not initialized attr)" );
+  status = pthread_attr_getguardsize( &destroyed_attr, &guardsize );
+  fatal_directive_check_status_only( status, EINVAL, "not initialized attr" );
+
+  puts( "Init - pthread_attr_getguardsize - SUCCESSFUL" );
+  status = pthread_attr_getguardsize( &attr, &guardsize );
+  posix_service_failed( status, "pthread_attr_getguardsize");
+#endif
+
+  /* exercise get and set detach state */
</font>   empty_line();
 
   puts( "Init - pthread_attr_setdetachstate - EINVAL (NULL attr)" );

<font color='#006600'>diff -u rtems/testsuites/psxtests/psx07/psx07.scn:1.7 rtems/testsuites/psxtests/psx07/psx07.scn:1.8
--- rtems/testsuites/psxtests/psx07/psx07.scn:1.7       Wed Aug 19 09:55:24 2009
+++ rtems/testsuites/psxtests/psx07/psx07.scn   Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -71,6 +71,25 @@
</font> Init - pthread_attr_getstackaddr - SUCCESSFUL
 Init - current stack address attribute = 0x0
 
<font color='#000088'>+Init - pthread_attr_setstack- EINVAL (NULL attr)
+Init - pthread_attr_setstack- EINVAL (destroyed attr)
+Init - pthread_attr_setstack- SUCCESSFUL (< min stack)
+Init - pthread_attr_setstack- SUCCESSFUL (big stack)
+Init - pthread_attr_getstack- EINVAL (NULL attr)
+Init - pthread_attr_getstack- EINVAL (destroyed attr)
+Init - pthread_attr_getstack- EINVAL (NULL stack)
+Init - pthread_attr_getstack- EINVAL (NULL stacksize)
+Init - pthread_attr_getstack- SUCCESSFUL
+
+Init - pthread_attr_setguardsize - EINVAL (NULL attr)
+Init - pthread_attr_setguardsize - EINVAL (not initialized attr)
+Init - pthread_attr_setguardsize - SUCCESSFUL (low guardsize)
+Init - pthread_attr_setguardsize - SUCCESSFUL (high guardsize)
+Init - pthread_attr_getguardsize - EINVAL (NULL attr)
+Init - pthread_attr_getguardsize - EINVAL (NULL guardsize)
+Init - pthread_attr_getguardsize - EINVAL (not initialized attr)
+Init - pthread_attr_getguardsize - SUCCESSFUL
+
</font> Init - pthread_attr_setdetachstate - EINVAL (NULL attr)
 Init - pthread_attr_setdetachstate - EINVAL (not initialized attr)
 Init - pthread_attr_setdetachstate - EINVAL (invalid detachstate)
<font color='#997700'>@@ -83,9 +102,9 @@
</font> 
 Init - pthread_attr_getschedparam - SUCCESSFUL
 Init - sched priority      = 2
<font color='#880000'>-Init - ss_low_priority     = 0
-Init - ss_replenish_period = (0, 0)
-Init - ss_initial_budget = (0, 0)
</font><font color='#000088'>+Init - sched_ss_low_priority     = 0
+Init - sched_ss_replenish_period = (0, 0)
+Init - sched_sched_ss_initial_budget = (0, 0)
</font> Init - pthread_attr_setschedparam - EINVAL (NULL attr)
 Init - pthread_attr_setschedparam - EINVAL (not initialized attr)
 Init - pthread_attr_setschedparam - EINVAL (NULL schedparam)
<font color='#997700'>@@ -100,9 +119,9 @@
</font> Init - pthread_getschedparam - SUCCESSFUL
 Init - policy = 1
 Init - sched priority      = 2
<font color='#880000'>-Init - ss_low_priority     = 0
-Init - ss_replenish_period = (0, 0)
-Init - ss_initial_budget = (0, 0)
</font><font color='#000088'>+Init - sched_ss_low_priority     = 0
+Init - sched_ss_replenish_period = (0, 0)
+Init - sched_sched_ss_initial_budget = (0, 0)
</font> 
 Init - pthread_setschedparam - EINVAL (NULL schedparam)
 Init - pthread_setschedparam - EINVAL (invalid priority)

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/Makefile.am:1.16 rtems/testsuites/psxtests/psxhdrs/Makefile.am:1.17
--- rtems/testsuites/psxtests/psxhdrs/Makefile.am:1.16  Sun Nov 13 00:42:39 2005
+++ rtems/testsuites/psxtests/psxhdrs/Makefile.am       Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -14,6 +14,7 @@
</font>     pthread19.c pthread20.c pthread21.c pthread22.c pthread23.c pthread24.c \
     pthread25.c pthread26.c pthread27.c pthread28.c pthread29.c pthread30.c \
     pthread31.c pthread32.c pthread33.c pthread34.c pthread35.c pthread36.c \
<font color='#000088'>+    pthread37.c pthread38.c pthread39.c pthread40.c \
</font>     proc01.c proc02.c proc03.c proc04.c proc05.c proc06.c proc07.c proc08.c \
     proc09.c proc10.c proc11.c proc12.c proc13.c proc14.c sched01.c \
     sched02.c sched03.c sched04.c sched05.c sched06.c sched07.c sched08.c \

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxstack01/init.c:1.5 rtems/testsuites/psxtests/psxstack01/init.c:1.6
--- rtems/testsuites/psxtests/psxstack01/init.c:1.5     Tue Dec  8 11:52:53 2009
+++ rtems/testsuites/psxtests/psxstack01/init.c Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -55,7 +55,7 @@
</font> 
   puts( "Init - Allocate stack from heap" );
   Stack_Low = malloc(PTHREAD_MINIMUM_STACK_SIZE);
<font color='#880000'>-  rtems_test_assert(  Stack_Low );
</font><font color='#000088'>+  rtems_test_assert( Stack_Low );
</font>   Stack_High = Stack_Low + PTHREAD_MINIMUM_STACK_SIZE;
 
   puts( "Init - Initialize thread attribute for user provided stack" );

<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxstack02/.cvsignore:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxstack02/.cvsignore     Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Makefile
+Makefile.in
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxstack02/Makefile.am:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxstack02/Makefile.am    Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -0,0 +1,25 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+rtems_tests_PROGRAMS = psxstack02
+psxstack02_SOURCES = init.c
+
+dist_rtems_tests_DATA = psxstack02.scn
+dist_rtems_tests_DATA += psxstack02.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/include
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(psxstack02_OBJECTS) $(psxstack02_LDADD)
+LINK_LIBS = $(psxstack02_LDLIBS)
+
+psxstack02$(EXEEXT): $(psxstack02_OBJECTS) $(psxstack02_DEPENDENCIES)
+       @rm -f psxstack02$(EXEEXT)
+       $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxstack02/init.c:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxstack02/init.c Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -0,0 +1,100 @@
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#include <tmacros.h>
+#include "test_support.h"
+
+#include <errno.h>
+#include <pthread.h>
+#include <sched.h>
+
+#include <rtems/posix/pthread.h> /* for PTHREAD_MINIMUM_STACK_SIZE */
+
+void *Stack_Low;
+void *Stack_High;
+
+void *Test_Thread(void *arg)
+{
+  #if defined(__GNUC__)
+    void *sp = __builtin_frame_address(0);
+
+    #if 0
+      printf( "Stack(%p - %p) and sp=%p\n", Stack_Low, Stack_High, sp );
+    #endif
+
+    if ( sp >= Stack_Low && sp <= Stack_High )
+      puts( "Test_Thread - running on user provided stack - OK" );
+    else {
+      puts( "Test_Thread - ERROR running on other stack" );
+      rtems_test_exit(0);
+    }
+  #else
+      puts( "Test_Thread - no way to get stack pointer and verify" );
+  #endif
+  puts( "Test_Thread - delete self" );
+  return NULL;
+}
+
+void *POSIX_Init(
+  rtems_task_argument argument
+)
+{
+#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
+  int                 sc;
+  pthread_t           id;
+  pthread_attr_t      attr;
+  struct timespec     delay_request;
+
+  puts( "\n\n*** POSIX STACK ATTRIBUTE TEST 02  ***" );
+
+  puts( "Init - Allocate stack from heap" );
+  Stack_Low = malloc(PTHREAD_MINIMUM_STACK_SIZE);
+  rtems_test_assert( Stack_Low );
+  Stack_High = Stack_Low + PTHREAD_MINIMUM_STACK_SIZE;
+
+  puts( "Init - Initialize thread attribute for user provided stack" );
+  sc = pthread_attr_init( &attr );
+  rtems_test_assert(  !sc );
+
+  sc = pthread_attr_setstack( &attr, Stack_Low, PTHREAD_MINIMUM_STACK_SIZE );
+  rtems_test_assert(  !sc );
+
+  /* create threads */
+  sc = pthread_create( &id, &attr, Test_Thread, NULL );
+  rtems_test_assert(  !sc );
+
+  puts( "Init - let other thread run" );
+  delay_request.tv_sec = 0;
+  delay_request.tv_nsec = 5 * 100000000;
+  sc = nanosleep( &delay_request, NULL );
+  rtems_test_assert( !sc );
+#else
+  puts( "pthread_set_stack not supported - SKIPPING TEST CASE" );
+#endif
+<span style="background-color: #FF0000">  </span>
+  puts( "*** END OF POSIX STACK ATTRIBUTE TEST 02  ***" );
+
+  rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS        2
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxstack02/psxstack02.doc:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxstack02/psxstack02.doc Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -0,0 +1,23 @@
</font><font color='#000088'>+#
+#  $Id$
+#
+#  COPYRIGHT (c) 1989-2010.
+#  On-Line Applications Research Corporation (OAR).
+#
+#  The license and distribution terms for this file may be
+#  found in the file LICENSE in this distribution or at
+#  http://www.rtems.com/license/LICENSE.
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name:  psxstack02
+
+directives:
+
+  pthread_attr_setstack
+
+concepts:
+
++ This test exercises the ability to assign a user specified stack location
+to a POSIX thread.
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxstack02/psxstack02.scn:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxstack02/psxstack02.scn Mon Oct  4 10:53:45 2010
</font><font color='#997700'>@@ -0,0 +1,7 @@
</font><font color='#000088'>+*** POSIX STACK ATTRIBUTE TEST 02  ***
+Init - Allocate stack from heap
+Init - Initialize thread attribute for user provided stack
+Init - let other thread run
+Test_Thread - running on user provided stack - OK
+Test_Thread - delete self
+*** END OF POSIX STACK ATTRIBUTE TEST 02  ***
</font></pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * psxhdrs/pthread37.c, psxhdrs/pthread38.c, psxhdrs/pthread39.c,
        psxhdrs/pthread40.c: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.318&r2=text&tr2=1.319&diff_format=h">M</a></td><td width='1%'>1.319</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/pthread37.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxhdrs/pthread37.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/pthread38.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxhdrs/pthread38.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/pthread39.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxhdrs/pthread39.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/pthread40.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psxhdrs/pthread40.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.318 rtems/testsuites/psxtests/ChangeLog:1.319
--- rtems/testsuites/psxtests/ChangeLog:1.318   Mon Oct  4 10:53:45 2010
+++ rtems/testsuites/psxtests/ChangeLog Mon Oct  4 11:09:44 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-10-04        Joel Sherrill <joel.sherrill@oarcorp.com>
 
<font color='#000088'>+   * psxhdrs/pthread37.c, psxhdrs/pthread38.c, psxhdrs/pthread39.c,
+       psxhdrs/pthread40.c: New files.
+
+2010-10-04     Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font>   * Makefile.am, configure.ac, psx07/init.c, psx07/psx07.scn,
        psxhdrs/Makefile.am, psxstack01/init.c: Add pthread_attr_getstack,
        pthread_attr_setstack, pthread_attr_getguardsize, and

<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxhdrs/pthread37.c:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxhdrs/pthread37.c       Mon Oct  4 11:09:44 2010
</font><font color='#997700'>@@ -0,0 +1,41 @@
</font><font color='#000088'>+/*
+ *  This test file is used to verify that the header files associated with
+ *  invoking this function are correct.
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
+#include <pthread.h>
+#include <limits.h>  /* only for PTHREAD_STACK_MIN */
+
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_setstackaddr"
+#endif
+
+#ifndef _POSIX_THREAD_ATTR_STACKADDR
+#error "rtems is supposed to have pthread_setstackaddr"
+#endif
+
+void test( void );
+
+void test( void )
+{
+  pthread_attr_t  attribute;
+  void           *stackaddr;
+  size_t          stacksize;
+  int             result;
+
+  stackaddr = NULL;
+  stacksize = 1024;
+
+  result = pthread_attr_setstack( &attribute, stackaddr, stacksize );
+}
+#endif
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxhdrs/pthread38.c:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxhdrs/pthread38.c       Mon Oct  4 11:09:44 2010
</font><font color='#997700'>@@ -0,0 +1,38 @@
</font><font color='#000088'>+/*
+ *  This test file is used to verify that the header files associated with
+ *  invoking this function are correct.
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
+#include <pthread.h>
+#include <limits.h>  /* only for PTHREAD_STACK_MIN */
+
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_getstackaddr"
+#endif
+
+#ifndef _POSIX_THREAD_ATTR_STACKADDR
+#error "rtems is supposed to have pthread_getstackaddr"
+#endif
+
+void test( void );
+
+void test( void )
+{
+  pthread_attr_t  attribute;
+  void           *stackaddr;
+  size_t          stacksize;
+  int             result;
+
+  result = pthread_attr_getstack( &attribute, &stackaddr, &stacksize );
+}
+#endif
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxhdrs/pthread39.c:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxhdrs/pthread39.c       Mon Oct  4 11:09:44 2010
</font><font color='#997700'>@@ -0,0 +1,35 @@
</font><font color='#000088'>+/*
+ *  This test file is used to verify that the header files associated with
+ *  invoking this function are correct.
+ *
+ *  COPYRIGHT (c) 1989-2010.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
+#include <pthread.h>
+#include <limits.h>  /* only for PTHREAD_STACK_MIN */
+
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_setstacksize"
+#endif
+
+void test( void );
+
+void test( void )
+{
+  pthread_attr_t  attribute;
+  size_t          size;
+  int             result;
+
+  size = PTHREAD_STACK_MIN;
+
+  result = pthread_attr_setguardsize( &attribute, size );
+}
+#endif
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psxhdrs/pthread40.c:1.1
--- /dev/null   Mon Oct  4 18:10:25 2010
+++ rtems/testsuites/psxtests/psxhdrs/pthread40.c       Mon Oct  4 11:09:44 2010
</font><font color='#997700'>@@ -0,0 +1,32 @@
</font><font color='#000088'>+/*
+ *  This test file is used to verify that the header files associated with
+ *  invoking this function are correct.
+ *
+ *  COPYRIGHT (c) 1989-2009.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#if HAVE_DECL_PTHREAD_ATTR_GETGUARDSIZE
+#include <pthread.h>
+
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_getstacksize"
+#endif
+
+void test( void );
+
+void test( void )
+{
+  pthread_attr_t  attribute;
+  size_t          size;
+  int             result;
+
+  result = pthread_attr_getguardsize( &attribute, &size );
+}
+#endif
</font></pre>
<p> </p>
<a name='cs6'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * Makefile.am, configure.ac: Revert accident commit adding libdbm to
        build.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2630&r2=text&tr2=1.2631&diff_format=h">M</a></td><td width='1%'>1.2631</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/Makefile.am.diff?r1=text&tr1=1.102&r2=text&tr2=1.103&diff_format=h">M</a></td><td width='1%'>1.103</td><td width='100%'>cpukit/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/configure.ac.diff?r1=text&tr1=1.193&r2=text&tr2=1.194&diff_format=h">M</a></td><td width='1%'>1.194</td><td width='100%'>cpukit/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2630 rtems/cpukit/ChangeLog:1.2631
--- rtems/cpukit/ChangeLog:1.2630       Mon Oct  4 10:33:09 2010
+++ rtems/cpukit/ChangeLog      Mon Oct  4 12:45:32 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-10-04        Joel Sherrill <joel.sherrill@oarcorp.com>
 
<font color='#000088'>+   * Makefile.am, configure.ac: Revert accident commit adding libdbm to
+       build.
+
+2010-10-04     Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font>   * Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c:
        Add pthread_attr_getstack, pthread_attr_setstack,
        pthread_attr_getguardsize, and pthread_attr_setguardsize.

<font color='#006600'>diff -u rtems/cpukit/Makefile.am:1.102 rtems/cpukit/Makefile.am:1.103
--- rtems/cpukit/Makefile.am:1.102      Mon Oct  4 10:32:35 2010
+++ rtems/cpukit/Makefile.am    Mon Oct  4 12:45:32 2010
</font><font color='#997700'>@@ -15,7 +15,6 @@
</font> SUBDIRS += libmisc
 SUBDIRS += libmd
 SUBDIRS += libgnat
<font color='#880000'>-SUBDIRS += libdbm
</font> SUBDIRS += wrapup
 
 SUBDIRS += zlib

<font color='#006600'>diff -u rtems/cpukit/configure.ac:1.193 rtems/cpukit/configure.ac:1.194
--- rtems/cpukit/configure.ac:1.193     Mon Oct  4 10:32:36 2010
+++ rtems/cpukit/configure.ac   Mon Oct  4 12:45:32 2010
</font><font color='#997700'>@@ -351,7 +351,6 @@
</font> libnetworking/Makefile
 librpc/Makefile
 libmisc/Makefile
<font color='#880000'>-libdbm/Makefile
</font> libi2c/Makefile
 libmd/Makefile
 zlib/Makefile
</pre>
<p> </p>
<a name='cs7'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libfs/src/defaults/default_close.c: Return 0 instead of an error
        status.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2626&r2=text&tr2=1.2627&diff_format=h">M</a></td><td width='1%'>1.2627</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_close.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/libfs/src/defaults/default_close.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2626 rtems/cpukit/ChangeLog:1.2627
--- rtems/cpukit/ChangeLog:1.2626       Mon Sep 13 08:57:32 2010
+++ rtems/cpukit/ChangeLog      Mon Sep 27 07:32:39 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-09-27    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * libfs/src/defaults/default_close.c: Return 0 instead of an error
+       status.
+
</font> 2010-09-13        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * libmd/md5.h: C++ compatibility.

<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_close.c:1.1 rtems/cpukit/libfs/src/defaults/default_close.c:1.2
--- rtems/cpukit/libfs/src/defaults/default_close.c:1.1 Tue Jun 29 14:37:28 2010
+++ rtems/cpukit/libfs/src/defaults/default_close.c     Mon Sep 27 07:32:40 2010
</font><font color='#997700'>@@ -10,12 +10,10 @@
</font>  */
 
 #include <rtems/libio.h>
<font color='#880000'>-#include <rtems/libio_.h>
-#include <rtems/seterr.h>
</font> 
 int rtems_filesystem_default_close(
   rtems_libio_t *iop
 )
 {
<font color='#880000'>-  rtems_set_errno_and_return_minus_one( ENOTSUP );
</font><font color='#000088'>+  return 0;
</font> }
</pre>
<p> </p>
<a name='cs8'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * psx15/.cvsignore, psx15/Makefile.am, psx15/init.c, psx15/psx15.scn:
        New files.
        * Makefile.am, configure.ac: Reflect changes above.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.315&r2=text&tr2=1.316&diff_format=h">M</a></td><td width='1%'>1.316</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/Makefile.am.diff?r1=text&tr1=1.69&r2=text&tr2=1.70&diff_format=h">M</a></td><td width='1%'>1.70</td><td width='100%'>testsuites/psxtests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/configure.ac.diff?r1=text&tr1=1.74&r2=text&tr2=1.75&diff_format=h">M</a></td><td width='1%'>1.75</td><td width='100%'>testsuites/psxtests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx15/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psx15/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx15/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psx15/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx15/init.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psx15/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx15/psx15.scn?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtests/psx15/psx15.scn</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.315 rtems/testsuites/psxtests/ChangeLog:1.316
--- rtems/testsuites/psxtests/ChangeLog:1.315   Mon Aug 30 11:58:12 2010
+++ rtems/testsuites/psxtests/ChangeLog Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-09-28    Sebastian Huber <Sebastian.Huber@embedded-brains.de>
+
+       * psx15/.cvsignore, psx15/Makefile.am, psx15/init.c, psx15/psx15.scn:
+       New files.
+       * Makefile.am, configure.ac: Reflect changes above.
+
</font> 2010-08-30        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * configure.ac: AC_CHECK_DECLS([seteuid]).

<font color='#006600'>diff -u rtems/testsuites/psxtests/Makefile.am:1.69 rtems/testsuites/psxtests/Makefile.am:1.70
--- rtems/testsuites/psxtests/Makefile.am:1.69  Mon Aug 16 08:29:48 2010
+++ rtems/testsuites/psxtests/Makefile.am       Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -7,7 +7,7 @@
</font> SUBDIRS = psxclock
 if HAS_POSIX
 SUBDIRS += psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \
<font color='#880000'>-    psx10 psx11 psx12 psx13 psx14 psxaio01 psxaio02 psxalarm01 \
</font><font color='#000088'>+    psx10 psx11 psx12 psx13 psx14 psx15 psxaio01 psxaio02 psxalarm01 \
</font>     psxautoinit01 psxautoinit02 psxbarrier01 \
     psxcancel psxcancel01 psxcleanup psxcleanup01 \
     psxcond01 psxenosys psxkey01 psxkey02 psxkey03 \

<font color='#006600'>diff -u rtems/testsuites/psxtests/configure.ac:1.74 rtems/testsuites/psxtests/configure.ac:1.75
--- rtems/testsuites/psxtests/configure.ac:1.74 Mon Aug 30 11:58:12 2010
+++ rtems/testsuites/psxtests/configure.ac      Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -76,6 +76,7 @@
</font> psx12/Makefile
 psx13/Makefile
 psx14/Makefile
<font color='#000088'>+psx15/Makefile
</font> psxaio01/Makefile
 psxaio02/Makefile
 psxalarm01/Makefile

<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psx15/.cvsignore:1.1
--- /dev/null   Mon Oct  4 18:10:26 2010
+++ rtems/testsuites/psxtests/psx15/.cvsignore  Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -0,0 +1,14 @@
</font><font color='#000088'>+aclocal.m4
+autom4te*.cache
+config.cache
+config.guess
+config.log
+config.status
+config.sub
+configure
+depcomp
+install-sh
+Makefile
+Makefile.in
+missing
+mkinstalldirs
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psx15/Makefile.am:1.1
--- /dev/null   Mon Oct  4 18:10:26 2010
+++ rtems/testsuites/psxtests/psx15/Makefile.am Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -0,0 +1,28 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = psx15
+psx15_SOURCES = init.c ../include/pmacros.h
+
+dist_rtems_tests_DATA = psx15.scn
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+psx15_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
+
+AM_CPPFLAGS += -I$(top_srcdir)/include
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(psx15_OBJECTS) $(psx15_LDADD)
+LINK_LIBS = $(psx15_LDLIBS)
+
+psx15$(EXEEXT): $(psx15_OBJECTS) $(psx15_DEPENDENCIES)
+       @rm -f psx15$(EXEEXT)
+       $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psx15/init.c:1.1
--- /dev/null   Mon Oct  4 18:10:27 2010
+++ rtems/testsuites/psxtests/psx15/init.c      Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -0,0 +1,111 @@
</font><font color='#000088'>+/*
+ * Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
+ *
+ *  embedded brains GmbH
+ *  Obere Lagerstr. 30
+ *  82178 Puchheim
+ *  Germany
+ *  <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <stdio.h>
+#include <inttypes.h>
+
+#include <rtems.h>
+
+#include "tmacros.h"
+
+/*
+ * This test case shows that post switch extension handlers must cope with
+ * already deleted resources (e.g. _POSIX_signals_Post_switch_extension()).
+ * The thread delete extensions run with thread dispatching enabled.  Only the
+ * allocation mutex is locked.
+ */
+
+static rtems_id task_0 = RTEMS_ID_NONE;
+
+static rtems_id task_1 = RTEMS_ID_NONE;
+
+static void thread_delete_hook(
+  Thread_Control *executing,
+  Thread_Control *deleted
+)
+{
+  rtems_status_code sc = RTEMS_SUCCESSFUL;
+
+  if (deleted->Object.id == task_0) {
+    rtems_task_priority old = 0;
+
+    sc = rtems_task_set_priority(task_1, 2, &old);
+    rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+  }
+}
+
+static void suicide_task(rtems_task_argument arg)
+{
+  printf("suicide task %" PRIuPTR "\n", arg);
+
+  rtems_task_delete(RTEMS_SELF);
+  rtems_test_assert(false);
+}
+
+void Init(rtems_task_argument arg)
+{
+  rtems_status_code sc = RTEMS_SUCCESSFUL;
+
+  puts("\n\n*** POSIX TEST 15 ***");
+
+  sc = rtems_task_create(
+    rtems_build_name('T', 'S', 'K', '1'),
+    5,
+    RTEMS_MINIMUM_STACK_SIZE,
+    RTEMS_DEFAULT_MODES,
+    RTEMS_DEFAULT_ATTRIBUTES,
+    &task_1
+  );
+  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+
+  sc = rtems_task_start(task_1, suicide_task, 1);
+  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+
+  sc = rtems_task_create(
+    rtems_build_name('T', 'S', 'K', '0'),
+    3,
+    RTEMS_MINIMUM_STACK_SIZE,
+    RTEMS_DEFAULT_MODES,
+    RTEMS_DEFAULT_ATTRIBUTES,
+    &task_0
+  );
+  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+
+  sc = rtems_task_start(task_0, suicide_task, 0);
+  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+
+  puts("*** END OF POSIX TEST 15 ***");
+
+  rtems_test_exit(0);
+  rtems_test_assert(false);
+}
+
+#define CONFIGURE_INIT
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 3
+#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT
+#define CONFIGURE_INIT_TASK_PRIORITY 4
+
+#define CONFIGURE_INITIAL_EXTENSIONS { .thread_delete = thread_delete_hook }
+
+#include <rtems/confdefs.h>
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtests/psx15/psx15.scn:1.1
--- /dev/null   Mon Oct  4 18:10:27 2010
+++ rtems/testsuites/psxtests/psx15/psx15.scn   Tue Sep 28 02:36:06 2010
</font><font color='#997700'>@@ -0,0 +1,4 @@
</font><font color='#000088'>+*** POSIX TEST 15 ***
+suicide task 0
+suicide task 1
+*** END OF POSIX TEST 15 ***
</font></pre>
<p> </p>
<a name='cs9'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * posix/src/psignal.c: Fixed NULL pointer access.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2627&r2=text&tr2=1.2628&diff_format=h">M</a></td><td width='1%'>1.2628</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/psignal.c.diff?r1=text&tr1=1.68&r2=text&tr2=1.69&diff_format=h">M</a></td><td width='1%'>1.69</td><td width='100%'>cpukit/posix/src/psignal.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2627 rtems/cpukit/ChangeLog:1.2628
--- rtems/cpukit/ChangeLog:1.2627       Mon Sep 27 07:32:39 2010
+++ rtems/cpukit/ChangeLog      Tue Sep 28 02:40:34 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-28    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * posix/src/psignal.c: Fixed NULL pointer access.
+
</font> 2010-09-27        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * libfs/src/defaults/default_close.c: Return 0 instead of an error

<font color='#006600'>diff -u rtems/cpukit/posix/src/psignal.c:1.68 rtems/cpukit/posix/src/psignal.c:1.69
--- rtems/cpukit/posix/src/psignal.c:1.68       Tue Jun 15 11:25:23 2010
+++ rtems/cpukit/posix/src/psignal.c    Tue Sep 28 02:40:34 2010
</font><font color='#997700'>@@ -117,12 +117,10 @@
</font>   api = the_thread->API_Extensions[ THREAD_API_POSIX ];
 
   /*
<font color='#880000'>-   * api cannot be NULL or we would not have registered this API extension.
</font><font color='#000088'>+   * api may be NULL in case of a thread close in progress
</font>    */
<font color='#880000'>-  #if defined(RTEMS_DEBUG)
-    if ( !api )
-      return;
-  #endif
</font><font color='#000088'>+  if ( !api )
+    return;
</font> 
   /*
    *  If we invoke any user code, there is the possibility that
</pre>
<p> </p>
<a name='cs10'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * misc/mmu.c: New file.
        * Makefile.am: Reflect change above.
        * configure.ac, include/bspopts.h.in, include/irq.h,
        include/lpc32xx.h, include/mmu.h, misc/emc.c, misc/restart.c,
        startup/bspstarthooks.c: Changes throughout.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/bspopts.h.in.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/include/bspopts.h.in</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/irq.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/include/irq.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/include/mmu.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/misc/emc.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/misc/mmu.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">c/src/lib/libbsp/arm/lpc32xx/misc/mmu.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/misc/restart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.16 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.17
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.16   Mon Aug 23 02:25:47 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog        Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2010-09-28    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * misc/mmu.c: New file.
+       * Makefile.am: Reflect change above.
+       * configure.ac, include/bspopts.h.in, include/irq.h,
+       include/lpc32xx.h, include/mmu.h, misc/emc.c, misc/restart.c,
+       startup/bspstarthooks.c: Changes throughout.
+
</font> 2010-08-23        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * console/hsu.c: Fixed warnings.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.6 rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.7
--- rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.6  Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am      Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -128,6 +128,7 @@
</font>   misc/restart.c \
        misc/boot.c \
        misc/emc.c \
<font color='#000088'>+   misc/mmu.c \
</font>   misc/i2c.c
 
 # SSP

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac:1.7 rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac:1.8
--- rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac:1.7 Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/configure.ac     Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -40,7 +40,6 @@
</font> RTEMS_BSPOPTS_SET([LPC32XX_PERIPH_CLK],[*],[13000000U])
 RTEMS_BSPOPTS_HELP([LPC32XX_PERIPH_CLK],[peripheral clock in Hz])
 
<font color='#880000'>-RTEMS_BSPOPTS_SET([LPC32XX_ETHERNET_RMII],[lpc32xx_mzx*][])
</font> RTEMS_BSPOPTS_SET([LPC32XX_ETHERNET_RMII],[*],[1])
 RTEMS_BSPOPTS_HELP([LPC32XX_ETHERNET_RMII],[enable RMII for Ethernet])
 
<font color='#997700'>@@ -71,7 +70,6 @@
</font> RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_MMU],[*],[])
 RTEMS_BSPOPTS_HELP([LPC32XX_DISABLE_MMU],[disable MMU])
 
<font color='#880000'>-RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_READ_WRITE_DATA_CACHE],[lpc32xx_mzx*],[1])
</font> RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_READ_WRITE_DATA_CACHE],[*],[])
 RTEMS_BSPOPTS_HELP([LPC32XX_DISABLE_READ_WRITE_DATA_CACHE],[disable cache for read-write data sections])
 
<font color='#997700'>@@ -79,6 +77,15 @@
</font> RTEMS_BSPOPTS_SET([LPC32XX_DISABLE_READ_ONLY_PROTECTION],[*],[])
 RTEMS_BSPOPTS_HELP([LPC32XX_DISABLE_READ_ONLY_PROTECTION],[disable MMU protection of read-only sections])
 
<font color='#000088'>+RTEMS_BSPOPTS_SET([LPC32XX_STOP_GPDMA],[*],[1])
+RTEMS_BSPOPTS_HELP([LPC32XX_STOP_GPDMA],[stop general purpose DMA at start-up to avoid DMA interference])
+
+RTEMS_BSPOPTS_SET([LPC32XX_STOP_ETHERNET],[*],[1])
+RTEMS_BSPOPTS_HELP([LPC32XX_STOP_ETHERNET],[stop Ethernet controller at start-up to avoid DMA interference])
+
+RTEMS_BSPOPTS_SET([LPC32XX_STOP_USB],[*],[1])
+RTEMS_BSPOPTS_HELP([LPC32XX_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
+
</font> RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
 RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
 

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/bspopts.h.in:1.6 rtems/c/src/lib/libbsp/arm/lpc32xx/include/bspopts.h.in:1.7
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/bspopts.h.in:1.6 Tue May 25 05:47:17 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/bspopts.h.in     Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -60,6 +60,15 @@
</font> /* peripheral clock in Hz */
 #undef LPC32XX_PERIPH_CLK
 
<font color='#000088'>+/* stop Ethernet controller at start-up to avoid DMA interference */
+#undef LPC32XX_STOP_ETHERNET
+
+/* stop general purpose DMA at start-up to avoid DMA interference */
+#undef LPC32XX_STOP_GPDMA
+
+/* stop USB controller at start-up to avoid DMA interference */
+#undef LPC32XX_STOP_USB
+
</font> /* baud for UART 1 */
 #undef LPC32XX_UART_1_BAUD
 

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/irq.h:1.2 rtems/c/src/lib/libbsp/arm/lpc32xx/include/irq.h:1.3
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/irq.h:1.2        Tue Jan 12 09:03:21 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/irq.h    Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -28,6 +28,10 @@
</font> #include <rtems/irq.h>
 #include <rtems/irq-extension.h>
 
<font color='#000088'>+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
</font> /**
  * @addtogroup bsp_interrupt
  *
<font color='#997700'>@@ -162,6 +166,10 @@
</font> 
 /** @} */
 
<font color='#000088'>+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
</font> #endif /* ASM */
 
 #endif /* LIBBSP_ARM_LPC32XX_IRQ_H */

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.8 rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.9
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.8    Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h        Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -26,6 +26,7 @@
</font> 
 #include <bsp/utility.h>
 #include <bsp/lpc-timer.h>
<font color='#000088'>+#include <bsp/lpc-dma.h>
</font> 
 /**
  * @defgroup lpc32xx_reg Register Definitions
<font color='#997700'>@@ -237,9 +238,6 @@
</font> } lpc32xx_sd_card;
 
 typedef struct {
<font color='#880000'>-} lpc32xx_dma;
-
-typedef struct {
</font> } lpc32xx_usb;
 
 typedef struct {
<font color='#997700'>@@ -282,6 +280,58 @@
</font> } lpc32xx_mcpwm;
 
 typedef struct {
<font color='#000088'>+  uint32_t mac1;
+  uint32_t mac2;
+  uint32_t ipgt;
+  uint32_t ipgr;
+  uint32_t clrt;
+  uint32_t maxf;
+  uint32_t supp;
+  uint32_t test;
+  uint32_t mcfg;
+  uint32_t mcmd;
+  uint32_t madr;
+  uint32_t mwtd;
+  uint32_t mrdd;
+  uint32_t mind;
+  uint32_t reserved_0 [2];
+  uint32_t sa0;
+  uint32_t sa1;
+  uint32_t sa2;
+  uint32_t reserved_1 [45];
+  uint32_t command;
+  uint32_t status;
+  uint32_t rxdescriptor;
+  uint32_t rxstatus;
+  uint32_t rxdescriptornum;
+  uint32_t rxproduceindex;
+  uint32_t rxconsumeindex;
+  uint32_t txdescriptor;
+  uint32_t txstatus;
+  uint32_t txdescriptornum;
+  uint32_t txproduceindex;
+  uint32_t txconsumeindex;
+  uint32_t reserved_2 [10];
+  uint32_t tsv0;
+  uint32_t tsv1;
+  uint32_t rsv;
+  uint32_t reserved_3 [3];
+  uint32_t flowcontrolcnt;
+  uint32_t flowcontrolsts;
+  uint32_t reserved_4 [34];
+  uint32_t rxfilterctrl;
+  uint32_t rxfilterwolsts;
+  uint32_t rxfilterwolclr;
+  uint32_t reserved_5 [1];
+  uint32_t hashfilterl;
+  uint32_t hashfilterh;
+  uint32_t reserved_6 [882];
+  uint32_t intstatus;
+  uint32_t intenable;
+  uint32_t intclear;
+  uint32_t intset;
+  uint32_t reserved_7 [1];
+  uint32_t powerdown;
</font> } lpc32xx_eth;
 
 typedef struct {
<font color='#997700'>@@ -459,8 +509,8 @@
</font>   uint32_t reserved_7 [LPC32XX_RESERVED(0x2009c000, 0x200a8000, lpc32xx_i2s)];
   lpc32xx_nand_mlc nand_mlc;
   uint32_t reserved_8 [LPC32XX_RESERVED(0x200a8000, 0x31000000, lpc32xx_nand_mlc)];
<font color='#880000'>-  lpc32xx_dma dma;
-  uint32_t reserved_9 [LPC32XX_RESERVED(0x31000000, 0x31020000, lpc32xx_dma)];
</font><font color='#000088'>+  lpc_dma dma;
+  uint32_t reserved_9 [LPC32XX_RESERVED(0x31000000, 0x31020000, lpc_dma)];
</font>   lpc32xx_usb usb;
   uint32_t reserved_10 [LPC32XX_RESERVED(0x31020000, 0x31040000, lpc32xx_usb)];
   lpc32xx_lcd lcd;

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h:1.2 rtems/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h:1.3
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h:1.2        Fri Apr  9 07:25:22 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/mmu.h    Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -3,7 +3,7 @@
</font>  *
  * @ingroup lpc32xx_mmu
  *
<font color='#880000'>- * @brief MMU API.
</font><font color='#000088'>+ * @brief MMU support API.
</font>  */
 
 /*
<font color='#997700'>@@ -55,6 +55,12 @@
</font> #define LPC32XX_MMU_READ_WRITE_CACHED \
   (LPC32XX_MMU_READ_WRITE | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
 
<font color='#000088'>+void lpc32xx_set_translation_table_entries(
+  void *begin,
+  void *end,
+  uint32_t section_flags
+);
+
</font> /** @} */
 
 #ifdef __cplusplus

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c:1.1 rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c:1.2
--- rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c:1.1   Wed Jun 23 03:27:57 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/emc.c       Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -26,22 +26,6 @@
</font> 
 static volatile lpc32xx_emc *const emc = &lpc32xx.emc;
 
<font color='#880000'>-static void set_translation_table_entries(
-  uint32_t begin,
-  uint32_t size
-)
-{
-  uint32_t end = begin + size;
-  uint32_t *ttb = arm_cp15_get_translation_table_base();
-  uint32_t i = ARM_MMU_SECT_GET_INDEX(begin);
-  uint32_t iend = ARM_MMU_SECT_GET_INDEX(ARM_MMU_SECT_MVA_ALIGN_UP(end));
-
-  while (i < iend) {
-    ttb [i] = (i << ARM_MMU_SECT_BASE_SHIFT) | LPC32XX_MMU_READ_WRITE;
-    ++i;
-  }
-}
-
</font> static void dynamic_init(const lpc32xx_emc_dynamic_config *cfg)
 {
   uint32_t chip_begin = LPC32XX_BASE_EMC_DYCS_0;
<font color='#997700'>@@ -89,11 +73,15 @@
</font>   /* Set modes */
   for (i = 0; i < EMC_DYN_CHIP_COUNT; ++i) {
     if (cfg->chip [i].size != 0) {
<font color='#880000'>-      set_translation_table_entries(chip_begin, cfg->chip [i].size);
</font><font color='#000088'>+      lpc32xx_set_translation_table_entries(
+        (void *) chip_begin,
+        (void *) (chip_begin + cfg->chip [i].size),
+        LPC32XX_MMU_READ_WRITE
+      );
</font>       emc->dynamiccontrol = dynamiccontrol | EMC_DYN_CTRL_I_MODE;
<font color='#880000'>-      *(volatile uint32_t *)(LPC32XX_BASE_EMC_DYCS_0 + cfg->chip [i].mode);
</font><font color='#000088'>+      *(volatile uint32_t *)(chip_begin + cfg->chip [i].mode);
</font>       emc->dynamiccontrol = dynamiccontrol | EMC_DYN_CTRL_I_MODE;
<font color='#880000'>-      *(volatile uint32_t *)(LPC32XX_BASE_EMC_DYCS_0 + cfg->chip [i].extmode);
</font><font color='#000088'>+      *(volatile uint32_t *)(chip_begin + cfg->chip [i].extmode);
</font>     }
     chip_begin += 0x20000000;
   }

<font color='#006600'>diff -u /dev/null rtems/c/src/lib/libbsp/arm/lpc32xx/misc/mmu.c:1.1
--- /dev/null   Mon Oct  4 18:10:28 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/mmu.c       Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -0,0 +1,39 @@
</font><font color='#000088'>+/**
+ * @file
+ *
+ * @ingroup lpc32xx_mmu
+ *
+ * @brief MMU support implementation.
+ */
+
+/*
+ * Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
+ *
+ *  embedded brains GmbH
+ *  Obere Lagerstr. 30
+ *  82178 Puchheim
+ *  Germany
+ *  <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#include <bsp/mmu.h>
+
+void lpc32xx_set_translation_table_entries(
+  void *begin,
+  void *end,
+  uint32_t section_flags
+)
+{
+  uint32_t *ttb = arm_cp15_get_translation_table_base();
+  uint32_t i = ARM_MMU_SECT_GET_INDEX(begin);
+  uint32_t iend = ARM_MMU_SECT_GET_INDEX(ARM_MMU_SECT_MVA_ALIGN_UP(end));
+
+  while (i < iend) {
+    ttb [i] = (i << ARM_MMU_SECT_BASE_SHIFT) | section_flags;
+    ++i;
+  }
+}
</font>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c:1.1 rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c:1.2
--- rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c:1.1       Wed Jun 23 03:27:57 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c   Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -31,12 +31,6 @@
</font>   rtems_interrupt_level level;
   uint32_t ctrl = 0;
 
<font color='#880000'>-  /* FIXME: DMA shutdown */
-
-  /* FIXME: USB shutdown */
-
-  /* FIXME: Ethernet interface reset */
-
</font>   rtems_interrupt_disable(level);
 
   arm_cp15_data_cache_test_and_clean();

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c:1.8 rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c:1.9
--- rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c:1.8      Wed Jun 23 03:27:57 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/startup/bspstarthooks.c  Tue Sep 28 09:38:26 2010
</font><font color='#997700'>@@ -217,6 +217,40 @@
</font>   setup_mmu_and_cache();
 }
 
<font color='#000088'>+static void BSP_START_SECTION stop_dma_activities(void)
+{
+  #ifdef LPC32XX_STOP_GPDMA
+    if ((LPC32XX_DMACLK_CTRL & 0x1) != 0) {
+      if ((lpc32xx.dma.cfg & LPC_DMA_CFG_EN) != 0) {
+        int i = 0;
+
+        for (i = 0; i < 8; ++i) {
+          lpc32xx.dma.channels [i].cfg = 0;
+        }
+
+        lpc32xx.dma.cfg &= ~LPC_DMA_CFG_EN;
+      }
+      LPC32XX_DMACLK_CTRL = 0;
+    }
+  #endif
+
+  #ifdef LPC32XX_STOP_ETHERNET
+    if ((LPC32XX_MAC_CLK_CTRL & 0x7) == 0x7) {
+      lpc32xx.eth.command = 0x38;
+      lpc32xx.eth.mac1 = 0xcf00;
+      lpc32xx.eth.mac1 = 0;
+      LPC32XX_MAC_CLK_CTRL = 0;
+    }
+  #endif
+
+  #ifdef LPC32XX_STOP_USB
+    if ((LPC32XX_USB_CTRL & 0x010e8000) != 0) {
+      LPC32XX_OTG_CLK_CTRL = 0;
+      LPC32XX_USB_CTRL = 0x80000;
+    }
+  #endif
+}
+
</font> static void BSP_START_SECTION setup_uarts(void)
 {
   uint32_t uartclk_ctrl = 0;
<font color='#997700'>@@ -269,6 +303,7 @@
</font> 
 void BSP_START_SECTION bsp_start_hook_1(void)
 {
<font color='#000088'>+  stop_dma_activities();
</font>   setup_uarts();
   setup_timer();
 
</pre>
<p> </p>
<a name='cs11'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Sync with CVS-HEAD.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/Makefile.am.diff?r1=text&tr1=1.23.2.1&r2=text&tr2=1.23.2.2&diff_format=h">M</a></td><td width='1%'>1.23.2.2</td><td width='100%'>contrib/crossrpms/autotools/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/autoconf-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.1.6.1&diff_format=h">M</a></td><td width='1%'>1.1.6.1</td><td width='100%'>contrib/crossrpms/autotools/autoconf-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/autoconf.add.diff?r1=text&tr1=1.11&r2=text&tr2=1.11.2.1&diff_format=h">M</a></td><td width='1%'>1.11.2.1</td><td width='100%'>contrib/crossrpms/autotools/autoconf.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec.diff?r1=text&tr1=1.8&r2=text&tr2=1.8.2.1&diff_format=h">M</a></td><td width='1%'>1.8.2.1</td><td width='100%'>contrib/crossrpms/autotools/rtems-4.10-autoconf.spec</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/Makefile.am:1.23.2.1 rtems/contrib/crossrpms/autotools/Makefile.am:1.23.2.2
--- rtems/contrib/crossrpms/autotools/Makefile.am:1.23.2.1      Tue Sep  7 10:05:17 2010
+++ rtems/contrib/crossrpms/autotools/Makefile.am       Fri Sep 24 08:17:15 2010
</font><font color='#997700'>@@ -4,7 +4,7 @@
</font> 
 include $(top_srcdir)/mkspec.am
 
<font color='#880000'>-AUTOCONF_VERS = 2.65
</font><font color='#000088'>+AUTOCONF_VERS = 2.68
</font> AUTOCONF_RPMREL = 1
 include ./autoconf.am
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/autoconf-sources.add:1.1 rtems/contrib/crossrpms/autotools/autoconf-sources.add:1.1.6.1
--- rtems/contrib/crossrpms/autotools/autoconf-sources.add:1.1  Mon Jul 13 09:20:36 2009
+++ rtems/contrib/crossrpms/autotools/autoconf-sources.add      Fri Sep 24 08:17:15 2010
</font><font color='#997700'>@@ -1,2 +1,9 @@
</font> Source0: ftp://ftp.gnu.org/gnu/autoconf/autoconf-%{srcvers}.tar.bz2
<font color='#000088'>+%if "%{srcvers}" == "2.66"
+# Fedora's patch to fix
+# http://lists.gnu.org/archive/html/autoconf/2010-07/msg00004.html
+# http://lists.gnu.org/archive/html/bug-autoconf/2010-07/msg00012.html
+Patch0: autoconf-2.66-611661.diff
+%endif
+
</font> 

<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/autoconf.add:1.11 rtems/contrib/crossrpms/autotools/autoconf.add:1.11.2.1
--- rtems/contrib/crossrpms/autotools/autoconf.add:1.11 Mon Jul 13 09:23:48 2009
+++ rtems/contrib/crossrpms/autotools/autoconf.add      Fri Sep 24 08:17:15 2010
</font><font color='#997700'>@@ -67,6 +67,27 @@
</font>   --bindir=%{_bindir} --datadir=%{_datadir}
 make
 
<font color='#000088'>+%check
+%if "%{_build}" == "%{_host}"
+%if "%{srcvers}" <= "2.66"
+# test 193 fails sporadically
+# test 199 fails deterministically
+TESTSUITEFLAGS='-192 194-198 200-'
+%endif
+
+%if "%{srcvers}" == "2.67"
+# test 199 fails deterministically
+TESTSUITEFLAGS='-198 200-'
+%endif
+
+%if "%{srcvers}" == "2.68"
+# test 205 fails deterministically
+TESTSUITEFLAGS='-204 206-'
+%endif
+
+make check TESTSUITEFLAGS="${TESTSUITEFLAGS}"
+%endif
+
</font> %install
 rm -rf "${RPM_BUILD_ROOT}"
 make DESTDIR=${RPM_BUILD_ROOT} install

<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec:1.8 rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec:1.8.2.1
--- rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec:1.8      Sun Nov 22 21:33:52 2009
+++ rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec  Fri Sep 24 08:17:15 2010
</font><font color='#997700'>@@ -45,8 +45,8 @@
</font> %define _host_rpmprefix %{nil}
 %endif
 
<font color='#880000'>-%define srcvers    2.65
-%define rpmvers %{expand:%(echo "2.65" | tr - _ )}
</font><font color='#000088'>+%define srcvers       2.68
+%define rpmvers %{expand:%(echo "2.68" | tr - _ )}
</font> 
 %define name                   rtems-4.10-autoconf
 
<font color='#997700'>@@ -70,6 +70,13 @@
</font> Requires(preun):  /sbin/install-info
 
 Source0: ftp://ftp.gnu.org/gnu/autoconf/autoconf-%{srcvers}.tar.bz2
<font color='#000088'>+%if "%{srcvers}" == "2.66"
+# Fedora's patch to fix
+# http://lists.gnu.org/archive/html/autoconf/2010-07/msg00004.html
+# http://lists.gnu.org/archive/html/bug-autoconf/2010-07/msg00012.html
+Patch0: autoconf-2.66-611661.diff
+%endif
+
</font> 
 
 %description
<font color='#997700'>@@ -111,6 +118,27 @@
</font>   --bindir=%{_bindir} --datadir=%{_datadir}
 make
 
<font color='#000088'>+%check
+%if "%{_build}" == "%{_host}"
+%if "%{srcvers}" <= "2.66"
+# test 193 fails sporadically
+# test 199 fails deterministically
+TESTSUITEFLAGS='-192 194-198 200-'
+%endif
+
+%if "%{srcvers}" == "2.67"
+# test 199 fails deterministically
+TESTSUITEFLAGS='-198 200-'
+%endif
+
+%if "%{srcvers}" == "2.68"
+# test 205 fails deterministically
+TESTSUITEFLAGS='-204 206-'
+%endif
+
+make check TESTSUITEFLAGS="${TESTSUITEFLAGS}"
+%endif
+
</font> %install
 rm -rf "${RPM_BUILD_ROOT}"
 make DESTDIR=${RPM_BUILD_ROOT} install
</pre>
<p> </p>
<a name='cs12'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Remove.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/bspkit/README?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">bspkit/README</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/bspkit/avr/bare/ChangeLog?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">bspkit/avr/bare/ChangeLog</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/bspkit/avr/bare/cfg/bare-avr3.cfg?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">bspkit/avr/bare/cfg/bare-avr3.cfg</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/bspkit/avr/bare/cfg/bare-avr5.cfg?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">bspkit/avr/bare/cfg/bare-avr5.cfg</font></td></tr>
</table>
<p> </p>
<a name='cs13'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-26 Ralf Corsépius <ralf.corsepius@rtems.org>

        * README.configure: Remove the most obsolete parts.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/ChangeLog.diff?r1=text&tr1=1.383&r2=text&tr2=1.384&diff_format=h">M</a></td><td width='1%'>1.384</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/README.configure.diff?r1=text&tr1=1.58&r2=text&tr2=1.59&diff_format=h">M</a></td><td width='1%'>1.59</td><td width='100%'>README.configure</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/ChangeLog:1.383 rtems/ChangeLog:1.384
--- rtems/ChangeLog:1.383       Tue Jul 27 13:17:46 2010
+++ rtems/ChangeLog     Sun Sep 26 00:34:55 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-26    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * README.configure: Remove the most obsolete parts.
+
</font> 2010-07-27        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        PR 1532/testing

<font color='#006600'>diff -u rtems/README.configure:1.58 rtems/README.configure:1.59
--- rtems/README.configure:1.58 Mon Jun 21 17:55:56 2010
+++ rtems/README.configure      Sun Sep 26 00:34:55 2010
</font><font color='#997700'>@@ -26,8 +26,6 @@
</font>       --disable-posix
       --disable-networking
       --enable-cxx
<font color='#880000'>-      --enable-bare-cpu-model=<MODEL>
-      --enable-bare-cpu-cflags=<FLAGS>
</font>       --enable-multiprocessing
       --enable-rtemsbsp="bsp1 bsp2 ..."
       --enable-tests
<font color='#997700'>@@ -100,7 +98,6 @@
</font>       powerpc-rtems4.10
       sh-rtems4.10
       sparc-rtems4.10
<font color='#880000'>-      bare                    see notes
</font> 
 The cross-compiler is set to $(target)-gcc by default.
 
<font color='#997700'>@@ -158,8 +155,6 @@
</font> 
 The following bsps are supported:
 
<font color='#880000'>-host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
-
</font> arm             : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
                   smdk2410
 
<font color='#997700'>@@ -167,8 +162,6 @@
</font> 
 bfin            : eZKit533 bf537Stamp
 
<font color='#880000'>-c4x             : c3xsim c4xsim
-
</font> h8300           : h8sim
 
 i386           : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
<font color='#997700'>@@ -211,12 +204,6 @@
</font> 
 sparc<span style="background-color: #FF0000"> </span>            : erc32 sis leon2 leon3
 
<font color='#880000'>-any             : bare
-
-The following ports were considered obsoleted after the 4.6 releases
-and were removed: a29k, hppa, i960, mips64orion, and or32.
-
-
</font> 5. Makefile structure
 =====================
 
</pre>
<p> </p>
<a name='cs14'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-27 Ralf Corsépius <ralf.corsepius@rtems.org>

        * README.configure: Further cleanup.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/ChangeLog.diff?r1=text&tr1=1.384&r2=text&tr2=1.385&diff_format=h">M</a></td><td width='1%'>1.385</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/README.configure.diff?r1=text&tr1=1.59&r2=text&tr2=1.60&diff_format=h">M</a></td><td width='1%'>1.60</td><td width='100%'>README.configure</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/ChangeLog:1.384 rtems/ChangeLog:1.385
--- rtems/ChangeLog:1.384       Sun Sep 26 00:34:55 2010
+++ rtems/ChangeLog     Sun Sep 26 23:12:24 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-27    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * README.configure: Further cleanup.
+
</font> 2010-09-26        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * README.configure: Remove the most obsolete parts.

<font color='#006600'>diff -u rtems/README.configure:1.59 rtems/README.configure:1.60
--- rtems/README.configure:1.59 Sun Sep 26 00:34:55 2010
+++ rtems/README.configure      Sun Sep 26 23:12:24 2010
</font><font color='#997700'>@@ -11,13 +11,11 @@
</font> that RTEMS now can be built in a separate build directory.
 
 To re-generate auto*tool generated files (configure, Makefile.in etc),
<font color='#880000'>-autoconf-2.59 and automake-1.8 are required.
</font><font color='#000088'>+autoconf-2.68 and automake-1.11.1 are required.
</font> 
 2. Installation
 ===============
 
<font color='#880000'>-2.1 Standalone build
-
</font> To configure RTEMS for a specific target, run configure in the build
 directory. In addition to the standard configure options, the following
 RTEMS-specific option are supported:
<font color='#997700'>@@ -82,8 +80,6 @@
</font> CPU family while the BSP specifies the precise board you will be using.<span style="background-color: #FF0000"> </span>
 The following targets are supported:
 
<font color='#880000'>-      (none)       will build the host-based version on Linux, Solaris and HPUX.
-
</font>       arm-rtems4.10
       avr-rtems4.10
       bfin-rtems4.10
<font color='#997700'>@@ -109,7 +105,7 @@
</font> 
 As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
 
<font color='#880000'>-      (path_to_rtems_src)/configure --target=m68k-rtems
</font><font color='#000088'>+      (path_to_rtems_src)/configure --target=m68k-rtems4.11
</font> 
       make RTEMS_BSP="mvme136 mvme162"
       
<font color='#997700'>@@ -121,19 +117,6 @@
</font> 
 Documentation is built separately from the source code.
 
<font color='#880000'>-2.2 Target Dependent Notes
-
-bare:
-
-1.  See the README in the bare bsp source directory. This should
-    contain all info you need.
-2.  The bare bsp source contains a script to show how to build it.
-3.  The configure flags must be used to get the bare bsp to work.
-    The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the
-    only pieces of information. The module is usually a gcc module
-    such as m68302 or mcpu32. The flags are passed directly to gcc.
-    Use "" if more than one option is specified.
-
</font> 3. To use the installed RTEMS library
 =====================================
 
<font color='#997700'>@@ -231,13 +214,6 @@
</font> 
 All gnu-based bsps have been built on Linux.<span style="background-color: #FF0000"> </span>
 
<font color='#880000'>-The native (posix) ports have been built and run only on Linux.
-
-The following configurations have NOT been tested:
-
-    + Anything on Nextstep, HPUX and Irix.
-    + The C4x and OR32 ports (requires specially patched toolchain)
-
</font> 8. Prerequisites
 ================
 
</pre>
<p> </p>
<a name='cs15'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-27 Ralf Corsépius <ralf.corsepius@rtems.org>

        * README.configure: Cleanup.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/ChangeLog.diff?r1=text&tr1=1.378.2.2&r2=text&tr2=1.378.2.3&diff_format=h">M</a></td><td width='1%'>1.378.2.3</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/README.configure.diff?r1=text&tr1=1.57&r2=text&tr2=1.57.2.1&diff_format=h">M</a></td><td width='1%'>1.57.2.1</td><td width='100%'>README.configure</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/ChangeLog:1.378.2.2 rtems/ChangeLog:1.378.2.3
--- rtems/ChangeLog:1.378.2.2   Wed Jun 23 08:33:02 2010
+++ rtems/ChangeLog     Sun Sep 26 23:14:38 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-27    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * README.configure: Cleanup.
+
</font> 2010-06-23        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * configure.ac: autoconf >= 2.65, automake >= 1.11.

<font color='#006600'>diff -u rtems/README.configure:1.57 rtems/README.configure:1.57.2.1
--- rtems/README.configure:1.57 Fri Oct 16 07:55:55 2009
+++ rtems/README.configure      Sun Sep 26 23:14:39 2010
</font><font color='#997700'>@@ -11,24 +11,20 @@
</font> that RTEMS now can be built in a separate build directory.
 
 To re-generate auto*tool generated files (configure, Makefile.in etc),
<font color='#880000'>-autoconf-2.59 and automake-1.8 are required.
</font><font color='#000088'>+autoconf-2.68 and automake-1.11.1 are required.
</font> 
 2. Installation
 ===============
 
<font color='#880000'>-2.1 Standalone build
-
</font> To configure RTEMS for a specific target, run configure in the build
 directory. In addition to the standard configure options, the following
 RTEMS-specific option are supported:
 
       --disable-rtems-inlines
       --disable-posix
<font color='#880000'>-      --disable-itron
</font><font color='#000088'>+      --enable-itron
</font>       --disable-networking
       --enable-cxx
<font color='#880000'>-      --enable-bare-cpu-model=<MODEL>
-      --enable-bare-cpu-cflags=<FLAGS>
</font>       --enable-multiprocessing
       --enable-rtemsbsp="bsp1 bsp2 ..."
       --enable-tests
<font color='#997700'>@@ -88,8 +84,6 @@
</font> CPU family while the BSP specifies the precise board you will be using.<span style="background-color: #FF0000"> </span>
 The following targets are supported:
 
<font color='#880000'>-      (none)       will build the host-based version on Linux, Solaris and HPUX.
-
</font>       arm-rtems4.10
       avr-rtems4.10
       bfin-rtems4.10
<font color='#997700'>@@ -104,7 +98,6 @@
</font>       powerpc-rtems4.10
       sh-rtems4.10
       sparc-rtems4.10
<font color='#880000'>-      bare                    see notes
</font> 
 The cross-compiler is set to $(target)-gcc by default.
 
<font color='#997700'>@@ -116,7 +109,7 @@
</font> 
 As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
 
<font color='#880000'>-      (path_to_rtems_src)/configure --target=m68k-rtems
</font><font color='#000088'>+      (path_to_rtems_src)/configure --target=m68k-rtems4.10
</font> 
       make RTEMS_BSP="mvme136 mvme162"
       
<font color='#997700'>@@ -128,19 +121,6 @@
</font> 
 Documentation is built separately from the source code.
 
<font color='#880000'>-2.2 Target Dependent Notes
-
-bare:
-
-1.  See the README in the bare bsp source directory. This should
-    contain all info you need.
-2.  The bare bsp source contains a script to show how to build it.
-3.  The configure flags must be used to get the bare bsp to work.
-    The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the
-    only pieces of information. The module is usually a gcc module
-    such as m68302 or mcpu32. The flags are passed directly to gcc.
-    Use "" if more than one option is specified.
-
</font> 3. To use the installed RTEMS library
 =====================================
 
<font color='#997700'>@@ -162,8 +142,6 @@
</font> 
 The following bsps are supported:
 
<font color='#880000'>-host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
-
</font> arm             : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
                   smdk2410
 
<font color='#997700'>@@ -171,8 +149,6 @@
</font> 
 bfin            : eZKit533 bf537Stamp
 
<font color='#880000'>-c4x             : c3xsim c4xsim
-
</font> h8300           : h8sim
 
 i386           : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
<font color='#997700'>@@ -215,12 +191,6 @@
</font> 
 sparc<span style="background-color: #FF0000"> </span>            : erc32 sis leon2 leon3
 
<font color='#880000'>-any             : bare
-
-The following ports were considered obsoleted after the 4.6 releases
-and were removed: a29k, hppa, i960, mips64orion, and or32.
-
-
</font> 5. Makefile structure
 =====================
 
<font color='#997700'>@@ -248,13 +218,6 @@
</font> 
 All gnu-based bsps have been built on Linux.<span style="background-color: #FF0000"> </span>
 
<font color='#880000'>-The native (posix) ports have been built and run only on Linux.
-
-The following configurations have NOT been tested:
-
-    + Anything on Nextstep, HPUX and Irix.
-    + The C4x and OR32 ports (requires specially patched toolchain)
-
</font> 8. Prerequisites
 ================
 
</pre>
<p> </p>
<a name='cs16'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add %bcond_with alltests.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/autoconf.add.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>contrib/crossrpms/autotools/autoconf.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/autoconf.add.diff?r1=text&tr1=1.11.2.1&r2=text&tr2=1.11.2.2&diff_format=h">M</a></td><td width='1%'>1.11.2.2</td><td width='100%'>contrib/crossrpms/autotools/autoconf.add</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/autoconf.add:1.14 rtems/contrib/crossrpms/autotools/autoconf.add:1.15
--- rtems/contrib/crossrpms/autotools/autoconf.add:1.14 Thu Sep 23 10:48:11 2010
+++ rtems/contrib/crossrpms/autotools/autoconf.add      Wed Sep 29 09:14:26 2010
</font><font color='#997700'>@@ -7,6 +7,8 @@
</font> %define name                      autoconf
 %endif
 
<font color='#000088'>+# --with alltests  enable all tests
+%bcond_with            alltests
</font> 
 Name:          %{name}
 License:       GPL
<font color='#997700'>@@ -85,7 +87,7 @@
</font> TESTSUITEFLAGS='-204 206-'
 %endif
 
<font color='#880000'>-make check TESTSUITEFLAGS="${TESTSUITEFLAGS}"
</font><font color='#000088'>+make check %{!?with_alltests:TESTSUITEFLAGS="${TESTSUITEFLAGS}"}
</font> %endif
 
 %install

<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/autoconf.add:1.11.2.1 rtems/contrib/crossrpms/autotools/autoconf.add:1.11.2.2
--- rtems/contrib/crossrpms/autotools/autoconf.add:1.11.2.1     Fri Sep 24 08:17:15 2010
+++ rtems/contrib/crossrpms/autotools/autoconf.add      Wed Sep 29 09:15:21 2010
</font><font color='#997700'>@@ -7,6 +7,8 @@
</font> %define name                      autoconf
 %endif
 
<font color='#000088'>+# --with alltests  enable all tests
+%bcond_with            alltests
</font> 
 Name:          %{name}
 License:       GPL
<font color='#997700'>@@ -85,7 +87,7 @@
</font> TESTSUITEFLAGS='-204 206-'
 %endif
 
<font color='#880000'>-make check TESTSUITEFLAGS="${TESTSUITEFLAGS}"
</font><font color='#000088'>+make check %{!?with_alltests:TESTSUITEFLAGS="${TESTSUITEFLAGS}"}
</font> %endif
 
 %install
</pre>
<p> </p>
<a name='cs17'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Bump AUTOCONF_RPMREL
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/Makefile.am.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>contrib/crossrpms/autotools/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/Makefile.am.diff?r1=text&tr1=1.23.2.2&r2=text&tr2=1.23.2.3&diff_format=h">M</a></td><td width='1%'>1.23.2.3</td><td width='100%'>contrib/crossrpms/autotools/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/Makefile.am:1.27 rtems/contrib/crossrpms/autotools/Makefile.am:1.28
--- rtems/contrib/crossrpms/autotools/Makefile.am:1.27  Thu Sep 23 10:47:52 2010
+++ rtems/contrib/crossrpms/autotools/Makefile.am       Wed Sep 29 09:16:04 2010
</font><font color='#997700'>@@ -5,7 +5,7 @@
</font> include $(top_srcdir)/mkspec.am
 
 AUTOCONF_VERS = 2.68
<font color='#880000'>-AUTOCONF_RPMREL = 1
</font><font color='#000088'>+AUTOCONF_RPMREL = 2
</font> include ./autoconf.am
 
 AUTOMAKE_VERS = 1.11.1

<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/Makefile.am:1.23.2.2 rtems/contrib/crossrpms/autotools/Makefile.am:1.23.2.3
--- rtems/contrib/crossrpms/autotools/Makefile.am:1.23.2.2      Fri Sep 24 08:17:15 2010
+++ rtems/contrib/crossrpms/autotools/Makefile.am       Wed Sep 29 09:17:06 2010
</font><font color='#997700'>@@ -5,7 +5,7 @@
</font> include $(top_srcdir)/mkspec.am
 
 AUTOCONF_VERS = 2.68
<font color='#880000'>-AUTOCONF_RPMREL = 1
</font><font color='#000088'>+AUTOCONF_RPMREL = 2
</font> include ./autoconf.am
 
 AUTOMAKE_VERS = 1.11.1
</pre>
<p> </p>
<a name='cs18'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        * aclocal/prog-cc.m4: Remove non release-suitable warning flags.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2346.2.67&r2=text&tr2=1.2346.2.68&diff_format=h">M</a></td><td width='1%'>1.2346.2.68</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/aclocal/prog-cc.m4.diff?r1=text&tr1=1.16&r2=text&tr2=1.16.2.1&diff_format=h">M</a></td><td width='1%'>1.16.2.1</td><td width='100%'>cpukit/aclocal/prog-cc.m4</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.67 rtems/cpukit/ChangeLog:1.2346.2.68
--- rtems/cpukit/ChangeLog:1.2346.2.67  Wed Sep  1 06:18:34 2010
+++ rtems/cpukit/ChangeLog      Wed Sep 29 09:20:04 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-29    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * aclocal/prog-cc.m4: Remove non release-suitable warning flags.
+
</font> 2010-09-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        PR 1696/networking:

<font color='#006600'>diff -u rtems/cpukit/aclocal/prog-cc.m4:1.16 rtems/cpukit/aclocal/prog-cc.m4:1.16.2.1
--- rtems/cpukit/aclocal/prog-cc.m4:1.16        Fri Oct 23 09:58:16 2009
+++ rtems/cpukit/aclocal/prog-cc.m4     Wed Sep 29 09:20:05 2010
</font><font color='#997700'>@@ -29,7 +29,7 @@
</font> 
 # Append warning flags if CFLAGS wasn't set.
 AS_IF([test "$GCC" = yes && test "$rtems_cv_CFLAGS_set" != set],
<font color='#880000'>-[CFLAGS="$CFLAGS -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"])
</font><font color='#000088'>+[CFLAGS="$CFLAGS -Wall"])
</font> 
 RTEMS_CPPFLAGS="-I\$(top_builddir) -I\$(PROJECT_INCLUDE)"
 AC_SUBST(RTEMS_CPPFLAGS)
</pre>
<p> </p>
<a name='cs19'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        * automake/compile.am: Remove non release-suitable warning flags.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2346.2.68&r2=text&tr2=1.2346.2.69&diff_format=h">M</a></td><td width='1%'>1.2346.2.69</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/automake/compile.am.diff?r1=text&tr1=1.27&r2=text&tr2=1.27.2.1&diff_format=h">M</a></td><td width='1%'>1.27.2.1</td><td width='100%'>cpukit/automake/compile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.68 rtems/cpukit/ChangeLog:1.2346.2.69
--- rtems/cpukit/ChangeLog:1.2346.2.68  Wed Sep 29 09:20:04 2010
+++ rtems/cpukit/ChangeLog      Wed Sep 29 09:21:33 2010
</font><font color='#997700'>@@ -1,5 +1,6 @@
</font> 2010-09-29        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * automake/compile.am: Remove non release-suitable warning flags.
</font>   * aclocal/prog-cc.m4: Remove non release-suitable warning flags.
 
 2010-09-01     Ralf Corsépius <ralf.corsepius@rtems.org>

<font color='#006600'>diff -u rtems/cpukit/automake/compile.am:1.27 rtems/cpukit/automake/compile.am:1.27.2.1
--- rtems/cpukit/automake/compile.am:1.27       Sat May 22 04:15:42 2010
+++ rtems/cpukit/automake/compile.am    Wed Sep 29 09:21:35 2010
</font><font color='#997700'>@@ -4,7 +4,4 @@
</font> 
 AM_CPPFLAGS = @RTEMS_CPPFLAGS@
 AM_CFLAGS =
<font color='#880000'>-AM_CFLAGS += -Werror=overflow
-AM_CFLAGS += -Werror=pointer-to-int-cast
-AM_CFLAGS += -Werror=int-to-pointer-cast
</font> AM_CCASFLAGS = @RTEMS_CCASFLAGS@
</pre>
<p> </p>
<a name='cs20'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        * Makefile.am: Remove -Wno-unused-variable.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog.diff?r1=text&tr1=1.9&r2=text&tr2=1.9.2.1&diff_format=h">M</a></td><td width='1%'>1.9.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am.diff?r1=text&tr1=1.3&r2=text&tr2=1.3.2.1&diff_format=h">M</a></td><td width='1%'>1.3.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.12 rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.13
--- rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.12       Fri Aug 20 12:59:41 2010
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog    Wed Sep 29 09:28:53 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-29    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * Makefile.am: Remove -Wno-unused-variable.
+
</font> 2010-08-20        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        PR 1682/bsps

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.9 rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.9.2.1
--- rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.9        Mon May 10 09:08:33 2010
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog    Wed Sep 29 09:28:56 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-09-29    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * Makefile.am: Remove -Wno-unused-variable.
+
</font> 2010-05-10        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * include/bsp.h: Do not include <bsp/bsp_bsdnet_attach.h> if networkign

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.3 rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.4
--- rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.3      Mon Dec 14 08:52:32 2009
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am  Wed Sep 29 09:28:53 2010
</font><font color='#997700'>@@ -189,7 +189,7 @@
</font> network_if_gfe_tmp_rel_SOURCES = network/if_gfe/if_gfe.c network/if_gfe/if_gfe_rtems.c
 network_if_gfe_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
     -I$(srcdir)/network/porting -I$(srcdir)/network/if_gfe
<font color='#880000'>-network_if_gfe_tmp_rel_CFLAGS   =  -Wno-unused-variable $(AM_CFLAGS)
</font><font color='#000088'>+network_if_gfe_tmp_rel_CFLAGS   = $(AM_CFLAGS)
</font> network_if_gfe_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 # remove all unneccessary global symbols to avoid name clashes
<font color='#997700'>@@ -208,7 +208,7 @@
</font>     network/if_em/if_em_rtems.c
 network_if_em_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
     -I$(srcdir)/network/porting -I$(srcdir)/network/if_em
<font color='#880000'>-network_if_em_tmp_rel_CFLAGS   =  -Wno-unused-variable $(AM_CFLAGS)
</font><font color='#000088'>+network_if_em_tmp_rel_CFLAGS   = $(AM_CFLAGS)
</font> network_if_em_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 network_if_em.rel: network_if_em_tmp.rel

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.3 rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.3.2.1
--- rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.3      Mon Dec 14 08:52:32 2009
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am  Wed Sep 29 09:28:56 2010
</font><font color='#997700'>@@ -189,7 +189,7 @@
</font> network_if_gfe_tmp_rel_SOURCES = network/if_gfe/if_gfe.c network/if_gfe/if_gfe_rtems.c
 network_if_gfe_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
     -I$(srcdir)/network/porting -I$(srcdir)/network/if_gfe
<font color='#880000'>-network_if_gfe_tmp_rel_CFLAGS   =  -Wno-unused-variable $(AM_CFLAGS)
</font><font color='#000088'>+network_if_gfe_tmp_rel_CFLAGS   = $(AM_CFLAGS)
</font> network_if_gfe_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 # remove all unneccessary global symbols to avoid name clashes
<font color='#997700'>@@ -208,7 +208,7 @@
</font>     network/if_em/if_em_rtems.c
 network_if_em_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
     -I$(srcdir)/network/porting -I$(srcdir)/network/if_em
<font color='#880000'>-network_if_em_tmp_rel_CFLAGS   =  -Wno-unused-variable $(AM_CFLAGS)
</font><font color='#000088'>+network_if_em_tmp_rel_CFLAGS   = $(AM_CFLAGS)
</font> network_if_em_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 network_if_em.rel: network_if_em_tmp.rel
</pre>
<p> </p>
<a name='cs21'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.ac: Check for pthread_attr_{get,set}cputime instead of
        pthread_pthread_attr_{get,set}cputime (Typo).
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.316&r2=text&tr2=1.317&diff_format=h">M</a></td><td width='1%'>1.317</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.264&r2=text&tr2=1.264.2.1&diff_format=h">M</a></td><td width='1%'>1.264.2.1</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/configure.ac.diff?r1=text&tr1=1.75&r2=text&tr2=1.76&diff_format=h">M</a></td><td width='1%'>1.76</td><td width='100%'>testsuites/psxtests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/configure.ac.diff?r1=text&tr1=1.61&r2=text&tr2=1.61.2.1&diff_format=h">M</a></td><td width='1%'>1.61.2.1</td><td width='100%'>testsuites/psxtests/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.316 rtems/testsuites/psxtests/ChangeLog:1.317
--- rtems/testsuites/psxtests/ChangeLog:1.316   Tue Sep 28 02:36:06 2010
+++ rtems/testsuites/psxtests/ChangeLog Fri Oct  1 11:56:06 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * configure.ac: Check for pthread_attr_{get,set}cputime instead of<span style="background-color: #FF0000"> </span>
+       pthread_pthread_attr_{get,set}cputime (Typo).
+
</font> 2010-09-28        Sebastian Huber <Sebastian.Huber@embedded-brains.de>
 
        * psx15/.cvsignore, psx15/Makefile.am, psx15/init.c, psx15/psx15.scn:

<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.264 rtems/testsuites/psxtests/ChangeLog:1.264.2.1
--- rtems/testsuites/psxtests/ChangeLog:1.264   Tue Jun  1 19:50:37 2010
+++ rtems/testsuites/psxtests/ChangeLog Fri Oct  1 11:56:10 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * configure.ac: Check for pthread_attr_{get,set}cputime instead of<span style="background-color: #FF0000"> </span>
+       pthread_pthread_attr_{get,set}cputime (Typo).
+
</font> 2010-06-02<span style="background-color: #FF0000"> </span>  Chris Johns <chrisj@rtems.org>
 
        * psxfile01/test.c, psxmount/test.c, psxreaddir/test.c,

<font color='#006600'>diff -u rtems/testsuites/psxtests/configure.ac:1.75 rtems/testsuites/psxtests/configure.ac:1.76
--- rtems/testsuites/psxtests/configure.ac:1.75 Tue Sep 28 02:36:06 2010
+++ rtems/testsuites/psxtests/configure.ac      Fri Oct  1 11:56:06 2010
</font><font color='#997700'>@@ -39,11 +39,11 @@
</font> 
 # FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
 # Likely an anachronism in RTEMS.
<font color='#880000'>-AC_CHECK_DECLS([pthread_pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
</font><font color='#000088'>+AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
</font> 
 # FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
 # Likely an anachronism in RTEMS.
<font color='#880000'>-AC_CHECK_DECLS([pthread_pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
</font><font color='#000088'>+AC_CHECK_DECLS([pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
</font> 
 # FIXME: adjtime is a non-standardized BSD/Linux extension
 # RTEMS should not rely on adjtime

<font color='#006600'>diff -u rtems/testsuites/psxtests/configure.ac:1.61 rtems/testsuites/psxtests/configure.ac:1.61.2.1
--- rtems/testsuites/psxtests/configure.ac:1.61 Sat May 29 00:31:45 2010
+++ rtems/testsuites/psxtests/configure.ac      Fri Oct  1 11:56:10 2010
</font><font color='#997700'>@@ -39,11 +39,11 @@
</font> 
 # FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
 # Likely an anachronism in RTEMS.
<font color='#880000'>-AC_CHECK_DECLS([pthread_pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
</font><font color='#000088'>+AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
</font> 
 # FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
 # Likely an anachronism in RTEMS.
<font color='#880000'>-AC_CHECK_DECLS([pthread_pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
</font><font color='#000088'>+AC_CHECK_DECLS([pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
</font> 
 # FIXME: adjtime is a non-standardized BSD/Linux extension
 # RTEMS should not rely on adjtime
</pre>
<p> </p>
<a name='cs22'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-8-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        PR 1708/build:
        * aclocal/check-cpuopts.m4: Fix m4-quoting.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.172&r2=text&tr2=1.173&diff_format=h">M</a></td><td width='1%'>1.173</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.119.2.1&r2=text&tr2=1.119.2.2&diff_format=h">M</a></td><td width='1%'>1.119.2.2</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.129.2.2&r2=text&tr2=1.129.2.3&diff_format=h">M</a></td><td width='1%'>1.129.2.3</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.164.2.1&r2=text&tr2=1.164.2.2&diff_format=h">M</a></td><td width='1%'>1.164.2.2</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/aclocal/check-cpuopts.m4.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>testsuites/aclocal/check-cpuopts.m4</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/aclocal/check-cpuopts.m4.diff?r1=text&tr1=1.4.6.1&r2=text&tr2=1.4.6.2&diff_format=h">M</a></td><td width='1%'>1.4.6.2</td><td width='100%'>testsuites/aclocal/check-cpuopts.m4</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/aclocal/check-cpuopts.m4.diff?r1=text&tr1=1.4.4.1&r2=text&tr2=1.4.4.2&diff_format=h">M</a></td><td width='1%'>1.4.4.2</td><td width='100%'>testsuites/aclocal/check-cpuopts.m4</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/aclocal/check-cpuopts.m4.diff?r1=text&tr1=1.4.2.1&r2=text&tr2=1.4.2.2&diff_format=h">M</a></td><td width='1%'>1.4.2.2</td><td width='100%'>testsuites/aclocal/check-cpuopts.m4</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.172 rtems/testsuites/ChangeLog:1.173
--- rtems/testsuites/ChangeLog:1.172    Thu Sep 23 09:50:11 2010
+++ rtems/testsuites/ChangeLog  Fri Oct  1 12:00:16 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       PR 1708/build:
+       * aclocal/check-cpuopts.m4: Fix m4-quoting.
+
</font> 2010-09-23        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.

<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.119.2.1 rtems/testsuites/ChangeLog:1.119.2.2
--- rtems/testsuites/ChangeLog:1.119.2.1        Thu Sep 23 09:53:11 2010
+++ rtems/testsuites/ChangeLog  Fri Oct  1 12:01:23 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       PR 1708/build:
+       * aclocal/check-cpuopts.m4: Fix m4-quoting.
+
</font> 2010-09-23        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.

<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.129.2.2 rtems/testsuites/ChangeLog:1.129.2.3
--- rtems/testsuites/ChangeLog:1.129.2.2        Thu Sep 23 09:51:33 2010
+++ rtems/testsuites/ChangeLog  Fri Oct  1 12:00:52 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       PR 1708/build:
+       * aclocal/check-cpuopts.m4: Fix m4-quoting.
+
</font> 2010-09-23        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.

<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.164.2.1 rtems/testsuites/ChangeLog:1.164.2.2
--- rtems/testsuites/ChangeLog:1.164.2.1        Thu Sep 23 09:50:42 2010
+++ rtems/testsuites/ChangeLog  Fri Oct  1 12:00:38 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       PR 1708/build:
+       * aclocal/check-cpuopts.m4: Fix m4-quoting.
+
</font> 2010-09-23        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.

<font color='#006600'>diff -u rtems/testsuites/aclocal/check-cpuopts.m4:1.5 rtems/testsuites/aclocal/check-cpuopts.m4:1.6
--- rtems/testsuites/aclocal/check-cpuopts.m4:1.5       Thu Sep 23 09:50:11 2010
+++ rtems/testsuites/aclocal/check-cpuopts.m4   Fri Oct  1 12:00:16 2010
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font> #ifndef $1
 choke me
 #endif
<font color='#880000'>-    ],
</font><font color='#000088'>+    ])],
</font>     [rtems_cv_$1=yes],
     [rtems_cv_$1=no])
<font color='#880000'>-  ])])
</font><font color='#000088'>+  ])
</font> CPPFLAGS="$sav_CPPFLAGS"
 ])

<font color='#006600'>diff -u rtems/testsuites/aclocal/check-cpuopts.m4:1.4.6.1 rtems/testsuites/aclocal/check-cpuopts.m4:1.4.6.2
--- rtems/testsuites/aclocal/check-cpuopts.m4:1.4.6.1   Thu Sep 23 09:50:42 2010
+++ rtems/testsuites/aclocal/check-cpuopts.m4   Fri Oct  1 12:00:39 2010
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font> #ifndef $1
 choke me
 #endif
<font color='#880000'>-    ],
</font><font color='#000088'>+    ])],
</font>     [rtems_cv_$1=yes],
     [rtems_cv_$1=no])
<font color='#880000'>-  ])])
</font><font color='#000088'>+  ])
</font> CPPFLAGS="$sav_CPPFLAGS"
 ])

<font color='#006600'>diff -u rtems/testsuites/aclocal/check-cpuopts.m4:1.4.4.1 rtems/testsuites/aclocal/check-cpuopts.m4:1.4.4.2
--- rtems/testsuites/aclocal/check-cpuopts.m4:1.4.4.1   Thu Sep 23 09:51:33 2010
+++ rtems/testsuites/aclocal/check-cpuopts.m4   Fri Oct  1 12:00:52 2010
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font> #ifndef $1
 choke me
 #endif
<font color='#880000'>-    ],
</font><font color='#000088'>+    ])],
</font>     [rtems_cv_$1=yes],
     [rtems_cv_$1=no])
<font color='#880000'>-  ])])
</font><font color='#000088'>+  ])
</font> CPPFLAGS="$sav_CPPFLAGS"
 ])

<font color='#006600'>diff -u rtems/testsuites/aclocal/check-cpuopts.m4:1.4.2.1 rtems/testsuites/aclocal/check-cpuopts.m4:1.4.2.2
--- rtems/testsuites/aclocal/check-cpuopts.m4:1.4.2.1   Thu Sep 23 09:53:11 2010
+++ rtems/testsuites/aclocal/check-cpuopts.m4   Fri Oct  1 12:01:24 2010
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font> #ifndef $1
 choke me
 #endif
<font color='#880000'>-    ],
</font><font color='#000088'>+    ])],
</font>     [rtems_cv_$1=yes],
     [rtems_cv_$1=no])
<font color='#880000'>-  ])])
</font><font color='#000088'>+  ])
</font> CPPFLAGS="$sav_CPPFLAGS"
 ])
</pre>
<p> </p>
<a name='cs23'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-03 Ralf Corsépius <ralf.corsepius@rtems.org>

        * spsize/size.c: Fix typo.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.419&r2=text&tr2=1.420&diff_format=h">M</a></td><td width='1%'>1.420</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spsize/size.c.diff?r1=text&tr1=1.67&r2=text&tr2=1.68&diff_format=h">M</a></td><td width='1%'>1.68</td><td width='100%'>testsuites/sptests/spsize/size.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.419 rtems/testsuites/sptests/ChangeLog:1.420
--- rtems/testsuites/sptests/ChangeLog:1.419    Thu Aug 26 14:40:09 2010
+++ rtems/testsuites/sptests/ChangeLog  Sun Oct  3 02:16:50 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-03    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * spsize/size.c: Fix typo.
+
</font> 2010-08-26        Bharath Suri <bharath.s.jois@gmail.com>
 
        PR 1663/testing

<font color='#006600'>diff -u rtems/testsuites/sptests/spsize/size.c:1.67 rtems/testsuites/sptests/spsize/size.c:1.68
--- rtems/testsuites/sptests/spsize/size.c:1.67 Sun Aug  8 11:34:00 2010
+++ rtems/testsuites/sptests/spsize/size.c      Sun Oct  3 02:16:50 2010
</font><font color='#997700'>@@ -466,7 +466,7 @@
</font> 
 printf( "\n" );
 printf( "RTEMS uninitialized data consumes %d bytes\n", uninitialized );
<font color='#880000'>-printf( "RTEMS intialized data consumes %d bytes\n", initialized );
</font><font color='#000088'>+printf( "RTEMS initialized data consumes %d bytes\n", initialized );
</font> 
 }
 
</pre>
<p> </p>
<a name='cs24'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>branches:  1.1.2;
file gcc-core-4.4.5-rtems4.10-20101003.diff was initially added on branch rtems-4-10-branch.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/patches/gcc-core-4.4.5-rtems4.10-20101003.diff?rev=NONE&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">NONE</font></td><td width='100%'><font color="#000088">contrib/crossrpms/patches/gcc-core-4.4.5-rtems4.10-20101003.diff</font></td></tr>
</table>
<p> </p>
<a name='cs25'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Upgrade to gcc-4.4.5
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am.diff?r1=text&tr1=1.120.2.5&r2=text&tr2=1.120.2.6&diff_format=h">M</a></td><td width='1%'>1.120.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/arm/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am.diff?r1=text&tr1=1.124.2.5&r2=text&tr2=1.124.2.6&diff_format=h">M</a></td><td width='1%'>1.124.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/avr/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am.diff?r1=text&tr1=1.109.2.4&r2=text&tr2=1.109.2.5&diff_format=h">M</a></td><td width='1%'>1.109.2.5</td><td width='100%'>contrib/crossrpms/rtems4.10/bfin/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am.diff?r1=text&tr1=1.123.2.5&r2=text&tr2=1.123.2.6&diff_format=h">M</a></td><td width='1%'>1.123.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/h8300/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am.diff?r1=text&tr1=1.122.2.5&r2=text&tr2=1.122.2.6&diff_format=h">M</a></td><td width='1%'>1.122.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/i386/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am.diff?r1=text&tr1=1.80.2.5&r2=text&tr2=1.80.2.6&diff_format=h">M</a></td><td width='1%'>1.80.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/lm32/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am.diff?r1=text&tr1=1.119.2.5&r2=text&tr2=1.119.2.6&diff_format=h">M</a></td><td width='1%'>1.119.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/m32c/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am.diff?r1=text&tr1=1.112.2.5&r2=text&tr2=1.112.2.6&diff_format=h">M</a></td><td width='1%'>1.112.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/m32r/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am.diff?r1=text&tr1=1.123.2.5&r2=text&tr2=1.123.2.6&diff_format=h">M</a></td><td width='1%'>1.123.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/m68k/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am.diff?r1=text&tr1=1.125.2.5&r2=text&tr2=1.125.2.6&diff_format=h">M</a></td><td width='1%'>1.125.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/mips/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am.diff?r1=text&tr1=1.126.2.5&r2=text&tr2=1.126.2.6&diff_format=h">M</a></td><td width='1%'>1.126.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/powerpc/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am.diff?r1=text&tr1=1.122.2.5&r2=text&tr2=1.122.2.6&diff_format=h">M</a></td><td width='1%'>1.122.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/sh/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am.diff?r1=text&tr1=1.122.2.5&r2=text&tr2=1.122.2.6&diff_format=h">M</a></td><td width='1%'>1.122.2.6</td><td width='100%'>contrib/crossrpms/rtems4.10/sparc/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am:1.120.2.5 rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am:1.120.2.6
--- rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am:1.120.2.5 Sat Aug 28 01:16:43 2010
+++ rtems/contrib/crossrpms/rtems4.10/arm/Makefile.am   Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,13 +10,13 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> 
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am:1.124.2.5 rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am:1.124.2.6
--- rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am:1.124.2.5 Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/avr/Makefile.am   Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS +=
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am:1.109.2.4 rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am:1.109.2.5
--- rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am:1.109.2.4        Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/bfin/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am:1.123.2.5 rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am:1.123.2.6
--- rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am:1.123.2.5       Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/h8300/Makefile.am Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am:1.122.2.5 rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am:1.122.2.6
--- rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am:1.122.2.5        Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/i386/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am:1.80.2.5 rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am:1.80.2.6
--- rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am:1.80.2.5 Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/lm32/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am:1.119.2.5 rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am:1.119.2.6
--- rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am:1.119.2.5        Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/m32c/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS +=
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am:1.112.2.5 rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am:1.112.2.6
--- rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am:1.112.2.5        Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/m32r/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS +=
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am:1.123.2.5 rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am:1.123.2.6
--- rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am:1.123.2.5        Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/m68k/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am:1.125.2.5 rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am:1.125.2.6
--- rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am:1.125.2.5        Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/mips/Makefile.am  Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am:1.126.2.5 rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am:1.126.2.6
--- rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am:1.126.2.5     Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/powerpc/Makefile.am       Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am:1.122.2.5 rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am:1.122.2.6
--- rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am:1.122.2.5  Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/sh/Makefile.am    Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am:1.122.2.5 rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am:1.122.2.6
--- rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am:1.122.2.5       Sat Aug 28 01:16:44 2010
+++ rtems/contrib/crossrpms/rtems4.10/sparc/Makefile.am Sun Oct  3 22:34:50 2010
</font><font color='#997700'>@@ -10,12 +10,12 @@
</font> include ../binutils.am
 BINUTILS_OPTS +=
 
<font color='#880000'>-GCC_VERS = 4.4.4
</font><font color='#000088'>+GCC_VERS = 4.4.5
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 4
</font><font color='#000088'>+GCC_RPMREL = 1
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
<font color='#880000'>-NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 11`
</font><font color='#000088'>+NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</font> include ../gcc.am
 GCC_OPTS += --languages=cxx
 
</pre>
<p> </p>
<a name='cs26'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add gcc-4.4.5
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/arm/gcc-sources.add.diff?r1=text&tr1=1.60.2.2&r2=text&tr2=1.60.2.3&diff_format=h">M</a></td><td width='1%'>1.60.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/arm/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/avr/gcc-sources.add.diff?r1=text&tr1=1.62.2.2&r2=text&tr2=1.62.2.3&diff_format=h">M</a></td><td width='1%'>1.62.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/avr/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/bfin/gcc-sources.add.diff?r1=text&tr1=1.61.2.2&r2=text&tr2=1.61.2.3&diff_format=h">M</a></td><td width='1%'>1.61.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/bfin/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/h8300/gcc-sources.add.diff?r1=text&tr1=1.62.2.2&r2=text&tr2=1.62.2.3&diff_format=h">M</a></td><td width='1%'>1.62.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/h8300/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/i386/gcc-sources.add.diff?r1=text&tr1=1.61.2.2&r2=text&tr2=1.61.2.3&diff_format=h">M</a></td><td width='1%'>1.61.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/i386/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/lm32/gcc-sources.add.diff?r1=text&tr1=1.40.2.2&r2=text&tr2=1.40.2.3&diff_format=h">M</a></td><td width='1%'>1.40.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/lm32/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m32c/gcc-sources.add.diff?r1=text&tr1=1.57.2.2&r2=text&tr2=1.57.2.3&diff_format=h">M</a></td><td width='1%'>1.57.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/m32c/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m32r/gcc-sources.add.diff?r1=text&tr1=1.57.2.2&r2=text&tr2=1.57.2.3&diff_format=h">M</a></td><td width='1%'>1.57.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/m32r/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m68k/gcc-sources.add.diff?r1=text&tr1=1.61.2.2&r2=text&tr2=1.61.2.3&diff_format=h">M</a></td><td width='1%'>1.61.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/m68k/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/mips/gcc-sources.add.diff?r1=text&tr1=1.63.2.2&r2=text&tr2=1.63.2.3&diff_format=h">M</a></td><td width='1%'>1.63.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/mips/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add.diff?r1=text&tr1=1.64.2.2&r2=text&tr2=1.64.2.3&diff_format=h">M</a></td><td width='1%'>1.64.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/sh/gcc-sources.add.diff?r1=text&tr1=1.60.2.2&r2=text&tr2=1.60.2.3&diff_format=h">M</a></td><td width='1%'>1.60.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/sh/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/sparc/gcc-sources.add.diff?r1=text&tr1=1.62.2.2&r2=text&tr2=1.62.2.3&diff_format=h">M</a></td><td width='1%'>1.62.2.3</td><td width='100%'>contrib/crossrpms/rtems4.10/sparc/gcc-sources.add</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/arm/gcc-sources.add:1.60.2.2 rtems/contrib/crossrpms/rtems4.10/arm/gcc-sources.add:1.60.2.3
--- rtems/contrib/crossrpms/rtems4.10/arm/gcc-sources.add:1.60.2.2      Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/arm/gcc-sources.add       Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/avr/gcc-sources.add:1.62.2.2 rtems/contrib/crossrpms/rtems4.10/avr/gcc-sources.add:1.62.2.3
--- rtems/contrib/crossrpms/rtems4.10/avr/gcc-sources.add:1.62.2.2      Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/avr/gcc-sources.add       Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/bfin/gcc-sources.add:1.61.2.2 rtems/contrib/crossrpms/rtems4.10/bfin/gcc-sources.add:1.61.2.3
--- rtems/contrib/crossrpms/rtems4.10/bfin/gcc-sources.add:1.61.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/bfin/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/h8300/gcc-sources.add:1.62.2.2 rtems/contrib/crossrpms/rtems4.10/h8300/gcc-sources.add:1.62.2.3
--- rtems/contrib/crossrpms/rtems4.10/h8300/gcc-sources.add:1.62.2.2    Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/h8300/gcc-sources.add     Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/i386/gcc-sources.add:1.61.2.2 rtems/contrib/crossrpms/rtems4.10/i386/gcc-sources.add:1.61.2.3
--- rtems/contrib/crossrpms/rtems4.10/i386/gcc-sources.add:1.61.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/i386/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/lm32/gcc-sources.add:1.40.2.2 rtems/contrib/crossrpms/rtems4.10/lm32/gcc-sources.add:1.40.2.3
--- rtems/contrib/crossrpms/rtems4.10/lm32/gcc-sources.add:1.40.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/lm32/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m32c/gcc-sources.add:1.57.2.2 rtems/contrib/crossrpms/rtems4.10/m32c/gcc-sources.add:1.57.2.3
--- rtems/contrib/crossrpms/rtems4.10/m32c/gcc-sources.add:1.57.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/m32c/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m32r/gcc-sources.add:1.57.2.2 rtems/contrib/crossrpms/rtems4.10/m32r/gcc-sources.add:1.57.2.3
--- rtems/contrib/crossrpms/rtems4.10/m32r/gcc-sources.add:1.57.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/m32r/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m68k/gcc-sources.add:1.61.2.2 rtems/contrib/crossrpms/rtems4.10/m68k/gcc-sources.add:1.61.2.3
--- rtems/contrib/crossrpms/rtems4.10/m68k/gcc-sources.add:1.61.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/m68k/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/mips/gcc-sources.add:1.63.2.2 rtems/contrib/crossrpms/rtems4.10/mips/gcc-sources.add:1.63.2.3
--- rtems/contrib/crossrpms/rtems4.10/mips/gcc-sources.add:1.63.2.2     Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/mips/gcc-sources.add      Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add:1.64.2.2 rtems/contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add:1.64.2.3
--- rtems/contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add:1.64.2.2  Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/powerpc/gcc-sources.add   Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/sh/gcc-sources.add:1.60.2.2 rtems/contrib/crossrpms/rtems4.10/sh/gcc-sources.add:1.60.2.3
--- rtems/contrib/crossrpms/rtems4.10/sh/gcc-sources.add:1.60.2.2       Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/sh/gcc-sources.add        Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/sparc/gcc-sources.add:1.62.2.2 rtems/contrib/crossrpms/rtems4.10/sparc/gcc-sources.add:1.62.2.3
--- rtems/contrib/crossrpms/rtems4.10/sparc/gcc-sources.add:1.62.2.2    Sat Aug 28 01:17:12 2010
+++ rtems/contrib/crossrpms/rtems4.10/sparc/gcc-sources.add     Sun Oct  3 22:35:35 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -5,6 +9,9 @@
</font> %{?_without_sources:NoSource:     0}
 
 %if %build_cxx
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
</pre>
<p> </p>
<a name='cs27'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Housekeeping.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20100426.diff?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20100426.diff</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20100810.diff?rev=1.1.2.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1.2.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20100810.diff</font></td></tr>
</table>
<p> </p>
<a name='cs28'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-04 Ralf Corsépius <ralf.corsepius@rtems.org>

        * spfifo03/spfifo03.scn: Replace file.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.420&r2=text&tr2=1.421&diff_format=h">M</a></td><td width='1%'>1.421</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfifo03/spfifo03.scn.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>testsuites/sptests/spfifo03/spfifo03.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.420 rtems/testsuites/sptests/ChangeLog:1.421
--- rtems/testsuites/sptests/ChangeLog:1.420    Sun Oct  3 02:16:50 2010
+++ rtems/testsuites/sptests/ChangeLog  Sun Oct  3 23:07:47 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-04    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * spfifo03/spfifo03.scn: Replace file.
+
</font> 2010-10-03        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * spsize/size.c: Fix typo.

<font color='#006600'>diff -u rtems/testsuites/sptests/spfifo03/spfifo03.scn:1.2 rtems/testsuites/sptests/spfifo03/spfifo03.scn:1.3
--- rtems/testsuites/sptests/spfifo03/spfifo03.scn:1.2  Thu Jun 24 14:46:40 2010
+++ rtems/testsuites/sptests/spfifo03/spfifo03.scn      Sun Oct  3 23:07:47 2010
</font><font color='#997700'>@@ -1,41 +1,18 @@
</font><font color='#880000'>-Initialized console on port COM1 9600-8-N-1
-<span style="background-color: #FF0000"><CR></span>
- <span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-*** FIFO / PIPE OPEN TEST - 6 ***<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Creating a task name and a task<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-creating directory /tmp<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-creating fifo file /tmp/fifo01<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Starting the read task<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Writer opening file(1)<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Read task activated, sleeping to block the writer<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Now, reader opening file(1)<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-@ sender: <span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-@ receiver (being a unblocked reader): Got <span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Reader opening file(2)<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-Writer opening file(2)<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-@ sender: SendBuffer2<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-*** END OF FIFO / PIPE OPEN TEST - 6 ***<span style="background-color: #FF0000"><CR></span>
</font><font color='#000088'>+*** FIFO / PIPE OPEN TEST - 6 ***
+Creating a task name and a task
+creating directory /tmp
+creating fifo file /tmp/fifo01
+Starting the read task
+Read task activated, waiting till writer opens
+Writer opening file(1)
+Now, reader opening file(1)
+@ sender: SendBuffer1
+@ receiver (being a unblocked reader): Got SendBuffer1
+Reader opening file(2)
+Writer opening file(2)
+@ sender: SendBuffer2
+@ receiver (being a blocked reader): Got SendBuffer2
+Reader done!
+Removing the fifo
+Removing /tmp
+*** END OF FIFO / PIPE OPEN TEST - 6 ***
</font></pre>
<p> </p>
<a name='cs29'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add *.spec
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/arm/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/avr/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/avr/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/bfin/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/bfin/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/h8300/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/h8300/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/i386/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/i386/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/lm32/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/lm32/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32c/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/m32c/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32r/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/m32r/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m68k/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/m68k/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/mips/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/mips/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/mipstx39/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/mipstx39/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/powerpc/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/powerpc/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sh/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/sh/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc64/.cvsignore.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc64/.cvsignore</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/arm/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/arm/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/arm/.cvsignore:1.1        Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/arm/.cvsignore    Mon Oct  4 00:04:11 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/avr/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/avr/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/avr/.cvsignore:1.1        Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/avr/.cvsignore    Mon Oct  4 00:04:11 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/bfin/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/bfin/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/bfin/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/bfin/.cvsignore   Mon Oct  4 00:04:11 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/h8300/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/h8300/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/h8300/.cvsignore:1.1      Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/h8300/.cvsignore  Mon Oct  4 00:04:11 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/i386/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/i386/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/i386/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/i386/.cvsignore   Mon Oct  4 00:04:11 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/lm32/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/lm32/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/lm32/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/lm32/.cvsignore   Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32c/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/m32c/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/m32c/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32c/.cvsignore   Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32r/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/m32r/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/m32r/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32r/.cvsignore   Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m68k/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/m68k/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/m68k/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/m68k/.cvsignore   Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/mips/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/mips/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/mips/.cvsignore:1.1       Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/mips/.cvsignore   Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/mipstx39/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/mipstx39/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/mipstx39/.cvsignore:1.1   Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/mipstx39/.cvsignore       Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/powerpc/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/powerpc/.cvsignore:1.1    Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/.cvsignore        Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sh/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/sh/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/sh/.cvsignore:1.1 Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/sh/.cvsignore     Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/sparc/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/sparc/.cvsignore:1.1      Wed Mar 17 00:07:14 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc/.cvsignore  Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/.cvsignore:1.1 rtems/contrib/crossrpms/rtems4.11/sparc64/.cvsignore:1.2
--- rtems/contrib/crossrpms/rtems4.11/sparc64/.cvsignore:1.1    Fri May 21 11:16:18 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/.cvsignore        Mon Oct  4 00:04:12 2010
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> Makefile
 Makefile.in
<font color='#000088'>+*.spec
</font> *.spec.in
</pre>
<p> </p>
<a name='cs30'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>New.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/patches/gcc-core-4.4.5-rtems4.10-20101003.diff.diff?r1=text&tr1=1.1&r2=text&tr2=1.1.2.1&diff_format=h">M</a></td><td width='1%'>1.1.2.1</td><td width='100%'>contrib/crossrpms/patches/gcc-core-4.4.5-rtems4.10-20101003.diff</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.11-20101004.diff?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/patches/newlib-1.18.0-rtems4.11-20101004.diff</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/patches/gcc-core-4.4.5-rtems4.10-20101003.diff:1.1.2.1
--- /dev/null   Mon Oct  4 18:10:36 2010
+++ rtems/contrib/crossrpms/patches/gcc-core-4.4.5-rtems4.10-20101003.diff      Sun Oct  3 22:32:25 2010
</font><font color='#997700'>@@ -0,0 +1,4541 @@
</font><font color='#000088'>+diff -Naur gcc-4.4.5.orig/ChangeLog.rtems gcc-4.4.5/ChangeLog.rtems
+--- gcc-4.4.5.orig/ChangeLog.rtems     1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/ChangeLog.rtems  2010-10-03 19:22:15.367402299 +0200
+@@ -0,0 +1,4 @@
++              Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * configure, configure.ac (skipdirs): Add target-libiberty.
++
+diff -Naur gcc-4.4.5.orig/configure gcc-4.4.5/configure
+--- gcc-4.4.5.orig/configure   2010-06-07 22:10:41.000000000 +0200
++++ gcc-4.4.5/configure        2010-10-03 19:22:15.371321405 +0200
+@@ -2267,6 +2267,7 @@
+     noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
+     ;;
+   *-*-rtems*)
++    skipdirs="$skipdirs target-libiberty"
+     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+     ;;
+     # The tpf target doesn't support gdb yet.
+@@ -6259,7 +6260,7 @@
+        # to it.  This is right: we don't want to search that directory
+        # for binaries, but we want the header files in there, so add
+        # them explicitly.
+-       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
++       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
+<span style="background-color: #FF0000"> </span>
+        # Someone might think of using the pre-installed headers on
+        # Canadian crosses, in case the installed compiler is not fully
+diff -Naur gcc-4.4.5.orig/configure.ac gcc-4.4.5/configure.ac
+--- gcc-4.4.5.orig/configure.ac        2010-06-07 22:10:41.000000000 +0200
++++ gcc-4.4.5/configure.ac     2010-10-03 19:22:15.372316665 +0200
+@@ -502,6 +502,7 @@
+     noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
+     ;;
+   *-*-rtems*)
++    skipdirs="$skipdirs target-libiberty"
+     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+     ;;
+     # The tpf target doesn't support gdb yet.
+@@ -2560,7 +2561,7 @@
+        # to it.  This is right: we don't want to search that directory
+        # for binaries, but we want the header files in there, so add
+        # them explicitly.
+-       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
++       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
+<span style="background-color: #FF0000"> </span>
+        # Someone might think of using the pre-installed headers on
+        # Canadian crosses, in case the installed compiler is not fully
+diff -Naur gcc-4.4.5.orig/gcc/ChangeLog.rtems gcc-4.4.5/gcc/ChangeLog.rtems
+--- gcc-4.4.5.orig/gcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/ChangeLog.rtems      2010-10-03 19:22:15.387312840 +0200
+@@ -0,0 +1,49 @@
++2010-03-15    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      Patch from Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>:
++      * config/arm/rtems-elf.h, config/arm/t-rtems: Add optional support
++      for vfp FPU model
++
++2010-02-10    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * config/rtems.h: Abandon -qrtems_debug.
++
++2009-12-01    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * config/avr/avr.h (LINK_SPEC): Pass -m avrN to ld for -mmcu=avrN.
++
++2009-11-04    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * config/m32c/rtems.h, config/m68k/rtemself.h,
++      config/m68k/rtemself.h, config/sh/rtemself.h,
++      config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.<span style="background-color: #FF0000"> </span>
++      (Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files<span style="background-color: #FF0000"> </span>
++      to interfere and cause wchar_t/wint_t incompatibilities).
++
++2009-10-15    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * config/avr/t-rtems: Don't build _exit.
++
++              Jon Beniston <jon@beniston.com>
++
++      * config/lm32/arithmetic.c, config/lm32/crti.S,<span style="background-color: #FF0000"> </span>
++      config/lm32/crtn.S, config/lm32/lib1funcs.S,
++      config/lm32/lm32.c, config/lm32/lm32.h,
++      config/lm32/lm32.md, config/lm32/lm32.opt,
++      config/lm32/lm32-protos.h, config/lm32/predicates.md,
++      config/lm32/rtems.h, config/lm32/sfp-machine.h,
++      config/lm32/t-fprules-softfp, config/lm32/t-lm32,
++      config/lm32/uclinux-elf.h: New (lm32 port).
++      * config.gcc: Add lm32* targets.
++      * doc/contrib.texi, doc/invoke.texi: Add lm32.
++
++              Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * config/rs6000/rtems.h: Support for custom RTEMS multilibs.
++      Support TARGET_E500.
++      * config/rs6000/t-rtems: Custom RTEMS multilibs.<span style="background-color: #FF0000"> </span>
++
++              Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C.
++<span style="background-color: #FF0000">      </span>
+\ No newline at end of file
+diff -Naur gcc-4.4.5.orig/gcc/config/arm/rtems-elf.h gcc-4.4.5/gcc/config/arm/rtems-elf.h
+--- gcc-4.4.5.orig/gcc/config/arm/rtems-elf.h  2009-03-25 13:54:16.000000000 +0100
++++ gcc-4.4.5/gcc/config/arm/rtems-elf.h       2010-10-03 19:22:15.387312840 +0200
+@@ -36,7 +36,7 @@
+  */
+ #undef SUBTARGET_EXTRA_ASM_SPEC
+ #define SUBTARGET_EXTRA_ASM_SPEC "\
+-  %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"
++  %{!mhard-float: %{!mfpu=vfp: %{!msoft-float:-mfpu=softfpa}}}"
+<span style="background-color: #FF0000"> </span>
+ /*
+  *  The default includes --start-group and --end-group which conflicts
+diff -Naur gcc-4.4.5.orig/gcc/config/arm/t-rtems gcc-4.4.5/gcc/config/arm/t-rtems
+--- gcc-4.4.5.orig/gcc/config/arm/t-rtems      2004-11-23 06:30:32.000000000 +0100
++++ gcc-4.4.5/gcc/config/arm/t-rtems   2010-10-03 19:22:15.387312840 +0200
+@@ -5,6 +5,41 @@
+ MULTILIB_EXCEPTIONS  =<span style="background-color: #FF0000"> </span>
+ MULTILIB_MATCHES     = marm=mno-thumb
+<span style="background-color: #FF0000"> </span>
+-MULTILIB_OPTIONS    += msoft-float/mhard-float
+-MULTILIB_DIRNAMES   += soft fpu
+-MULTILIB_EXCEPTIONS += *mthumb/*mhard-float*
++MULTILIB_OPTIONS    += mhard-float/mfloat-abi=softfp
++MULTILIB_DIRNAMES   += fpu softfp
++MULTILIB_EXCEPTIONS += *mthumb*/*mhard-float* *mthumb*/*mfloat-abi=softfp*
++MULTILIB_MATCHES     =
++
++MULTILIB_OPTIONS    += mfpu=vfp
++MULTILIB_DIRNAMES   += vfp
++MULTILIB_EXCEPTIONS += *mhard-float*/*mfpu=vfp* *marm*/*mfloat-abi=softfp*/*mfpu=fpa*
++MULTILIB_EXCLUSIONS += !mthumb/mfloat-abi=softfp/!mfpu=vfp
++
++# default float model is fpa, so don't create a explicit copy of it
++MULTILIB_EXCEPTIONS += *marm*/*mfpa*
++
++# permutations of the options which are useful (+) or make no sense (-),
++# defaults are in brackets:
++# + (arm/soft/fpa)
++# + (arm/soft)/vfp
++# - (arm)/softfp(/fpa)
++# + (arm)/softfp/vfp
++# + (arm)/hard-float(/fpa)
++# - (arm)/hard-float/vfp
++# + thumb/(soft/fpa)
++# + thumb/(soft/)vfp
++# - thumb/softfp/fpa
++# - thumb/softfp/vfp
++# - thumb/hard-float/fpa
++# - thumb/hard-float/vfp
++
++# subdirs to be used for multilibs and their respective options:
++#/thumb/vfp  -> thumb/soft/vfp
++#/thumb/fpa  -> thumb/soft/fpa
++#/thumb      -> thumb/soft/fpa
++#/vfp        -> arm/soft/vfp
++#/softfp/vfp -> arm/softfp/cfp
++#/fpu/fpa    -> arm/hard/fpa
++#/fpu        -> arm/hard/fpa
++#/fpa        -> arm/soft/fpa
++#.           -> arm/soft/fpa
+diff -Naur gcc-4.4.5.orig/gcc/config/avr/avr.h gcc-4.4.5/gcc/config/avr/avr.h
+--- gcc-4.4.5.orig/gcc/config/avr/avr.h        2009-03-28 22:09:50.000000000 +0100
++++ gcc-4.4.5/gcc/config/avr/avr.h     2010-10-03 19:22:15.388317055 +0200
+@@ -811,12 +811,15 @@
+                                mmcu=at90can64*|\
+                                mmcu=at90usb64*:--pmem-wrap-around=64k}}}\
+ %{!mmcu*: -m avr2}\
+-%{mmcu=at90s1200|\
++%{mmcu=avr1|\
++  mmcu=at90s1200|\
+   mmcu=attiny11|\
+   mmcu=attiny12|\
+   mmcu=attiny15|\
+   mmcu=attiny28: -m avr1}\
+-%{mmcu=attiny22|\
++%{mmcu=avr2|\
++  mmcu=avr25|\
++  mmcu=attiny22|\
+   mmcu=attiny26|\
+   mmcu=at90s2*|\
+   mmcu=at90s4*|\
+@@ -831,14 +834,18 @@
+   mmcu=attiny261|\
+   mmcu=attiny4*|\
+   mmcu=attiny8*: -m avr2}\
+-%{mmcu=atmega103|\
++%{mmcu=avr3|\
++  mmcu=avr31|\
++  mmcu=avr35|\
++  mmcu=atmega103|\
+   mmcu=at43*|\
+   mmcu=at76*|\
+   mmcu=at90usb82|\
+   mmcu=at90usb162|\
+   mmcu=attiny16*|\
+   mmcu=attiny32*: -m avr3}\
+-%{mmcu=atmega8*|\
++%{mmcu=avr4|\
++  mmcu=atmega8*|\
+   mmcu=atmega4*|\
+   mmcu=at90pwm1|\
+   mmcu=at90pwm2|\
+@@ -846,7 +853,9 @@
+   mmcu=at90pwm3|\
+   mmcu=at90pwm3b|\
+   mmcu=at90pwm81: -m avr4}\
+-%{mmcu=atmega16*|\
++%{mmcu=avr5|\
++  mmcu=avr51|\
++  mmcu=atmega16*|\
+   mmcu=atmega32*|\
+   mmcu=atmega406|\
+   mmcu=atmega64*|\
+@@ -860,7 +869,8 @@
+   mmcu=at94k|\
+   mmcu=m3000*|\
+   mmcu=m3001*: -m avr5}\
+-%{mmcu=atmega256*:-m avr6}\
++%{mmcu=avr6|\
++  mmcu=atmega256*:-m avr6}\
+ %{mmcu=atmega324*|\
+   mmcu=atmega325*|\
+   mmcu=atmega328p|\
+diff -Naur gcc-4.4.5.orig/gcc/config/avr/t-rtems gcc-4.4.5/gcc/config/avr/t-rtems
+--- gcc-4.4.5.orig/gcc/config/avr/t-rtems      2004-11-23 04:44:03.000000000 +0100
++++ gcc-4.4.5/gcc/config/avr/t-rtems   2010-10-03 19:22:15.388317055 +0200
+@@ -1,3 +1,4 @@
+ # Multilibs for avr RTEMS targets.
+<span style="background-color: #FF0000"> </span>
+-# ATM, this is just a stub
++# RTEMS uses _exit from newlib
++LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/arithmetic.c gcc-4.4.5/gcc/config/lm32/arithmetic.c
+--- gcc-4.4.5.orig/gcc/config/lm32/arithmetic.c        1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/arithmetic.c     2010-10-03 19:22:15.402932932 +0200
+@@ -0,0 +1,305 @@
++/* Fixed-point arithmetic for Lattice Mico32.
++   Contributed by Jon Beniston <jon@beniston.com><span style="background-color: #FF0000"> </span>
++<span style="background-color: #FF0000">   </span>
++   Copyright (C) 2008 Free Software Foundation, Inc.
++
++   This file is free software; you can redistribute it and/or modify it
++   under the terms of the GNU General Public License as published by the
++   Free Software Foundation; either version 2, or (at your option) any
++   later version.
++
++   In addition to the permissions in the GNU General Public License, the
++   Free Software Foundation gives you unlimited permission to link the
++   compiled version of this file into combinations with other programs,
++   and to distribute those combinations without any restriction coming
++   from the use of this file.  (The General Public License restrictions
++   do apply in other respects; for example, they cover modification of
++   the file, and distribution when not linked into a combine
++   executable.)
++
++   This file is distributed in the hope that it will be useful, but
++   WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   General Public License for more details.
++
++   You should have received a copy of the GNU General Public License
++   along with this program; see the file COPYING.  If not, write to
++   the Free Software Foundation, 51 Franklin Street, Fifth Floor,
++   Boston, MA 02110-1301, USA.  */
++
++typedef unsigned long UQItype __attribute__ ((mode (QI)));
++typedef       long SItype __attribute__ ((mode (SI)));
++typedef unsigned long USItype __attribute__ ((mode (SI)));
++
++/* Prototypes */
++
++USItype __mulsi3 (USItype a, USItype b);
++
++USItype __udivmodsi4 (USItype num, USItype den, int modwanted);
++SItype __divsi3 (SItype a, SItype b);
++SItype __modsi3 (SItype a, SItype b);
++USItype __udivsi3 (USItype a, USItype b);
++USItype __umodsi3 (USItype a, USItype b);
++
++SItype __ashlsi3 (SItype a, SItype b);
++SItype __ashrsi3 (SItype a, SItype b);
++USItype __lshrsi3 (USItype a, USItype b);
++
++/* Multiplication */
++
++#ifdef L_mulsi3
++USItype<span style="background-color: #FF0000"> </span>
++__mulsi3 (USItype a, USItype b)
++{
++  USItype result;
++<span style="background-color: #FF0000">    </span>
++  result = 0;
++
++  if (a==0)
++    return 0;
++
++  while (b!=0)
++    {
++      if (b & 1)
++        result += a;
++      a <<= 1;
++      b >>= 1;
++    }
++<span style="background-color: #FF0000">       </span>
++  return result;<span style="background-color: #FF0000">    </span>
++}
++#endif
++
++/* Division */
++
++#ifdef L_udivmodsi4
++USItype
++__udivmodsi4 (USItype num, USItype den, int modwanted)
++{
++  USItype bit = 1;
++  USItype res = 0;
++
++  while (den < num && bit && !(den & (1L<<31)))
++    {
++      den <<=1;
++      bit <<=1;
++    }
++  while (bit)
++    {
++      if (num >= den)
++      {
++        num -= den;
++        res |= bit;
++      }
++      bit >>=1;
++      den >>=1;
++    }
++  if (modwanted)<span style="background-color: #FF0000"> </span>
++    return num;
++  return res;
++}
++#endif
++
++#ifdef L_divsi3
++
++static const UQItype __divsi3_table[] = {
++  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 4, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 5, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 6, 3, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 7, 3, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,
++  0, 8, 4, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0,
++  0, 9, 4, 3, 2, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
++  0, 10, 5, 3, 2, 2, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,
++  0, 11, 5, 3, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
++  0, 12, 6, 4, 3, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0,
++  0, 13, 6, 4, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 0, 0,
++  0, 14, 7, 4, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 0,
++  0, 15, 7, 5, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1,
++};
++
++SItype
++__divsi3 (SItype a, SItype b)
++{
++  int neg = 0;
++  SItype res;
++  int cfg;
++
++  if (b == 0)<span style="background-color: #FF0000"> </span>
++    {
++      /* Raise divide by zero exception */
++      int eba;
++      __asm__ __volatile__ ("rcsr %0, EBA" : "=r" (eba));
++      eba += 32 * 5;
++      __asm__ __volatile__ ("mv ea, ra");
++      __asm__ __volatile__ ("b %0" : : "r" (eba));<span style="background-color: #FF0000"> </span>
++    }
++
++  if (((USItype)(a | b)) < 16)
++    {
++      res = __divsi3_table[(a << 4) + b];
++    }<span style="background-color: #FF0000"> </span>
++  else
++    {
++
++      if (a < 0)
++        {
++          a = -a;
++          neg = !neg;
++        }
++<span style="background-color: #FF0000">    </span>
++      if (b < 0)
++        {
++          b = -b;
++          neg = !neg;
++        }
++<span style="background-color: #FF0000">    </span>
++      __asm__ ("rcsr %0, CFG" : "=r" (cfg));
++      if (cfg & 2)
++        __asm__ ("divu %0, %1, %2" : "=r" (res) : "r" (a), "r" (b));
++      else<span style="background-color: #FF0000"> </span>
++        res = __udivmodsi4 (a, b, 0);
++<span style="background-color: #FF0000">    </span>
++      if (neg)
++        res = -res;
++    }
++
++  return res;
++}
++#endif
++
++#ifdef L_modsi3
++SItype
++__modsi3 (SItype a, SItype b)
++{
++  int neg = 0;
++  SItype res;
++  int cfg;
++<span style="background-color: #FF0000">  </span>
++  if (b == 0)<span style="background-color: #FF0000"> </span>
++    {
++      /* Raise divide by zero exception */
++      int eba, sr;
++      /* Save interrupt enable */
++      __asm__ __volatile__ ("rcsr %0, IE" : "=r" (sr));
++      sr = (sr & 1) << 1;
++      __asm__ __volatile__ ("wcsr IE, %0" : : "r" (sr));
++      /* Branch to exception handler */
++      __asm__ __volatile__ ("rcsr %0, EBA" : "=r" (eba));
++      eba += 32 * 5;
++      __asm__ __volatile__ ("mv ea, ra");
++      __asm__ __volatile__ ("b %0" : : "r" (eba));<span style="background-color: #FF0000"> </span>
++    }
++<span style="background-color: #FF0000">  </span>
++  if (a < 0)
++    {
++      a = -a;
++      neg = 1;
++    }
++
++  if (b < 0)
++    b = -b;
++
++  __asm__ ("rcsr %0, CFG" : "=r" (cfg));
++  if (cfg & 2)
++    __asm__ ("modu %0, %1, %2" : "=r" (res) : "r" (a), "r" (b));
++  else<span style="background-color: #FF0000"> </span>
++    res = __udivmodsi4 (a, b, 1);
++
++  if (neg)
++    res = -res;
++
++  return res;
++}
++#endif
++
++#ifdef L_udivsi3
++USItype
++__udivsi3 (USItype a, USItype b)
++{
++  if (b == 0)<span style="background-color: #FF0000"> </span>
++    {
++      /* Raise divide by zero exception */
++      int eba, sr;
++      /* Save interrupt enable */
++      __asm__ __volatile__ ("rcsr %0, IE" : "=r" (sr));
++      sr = (sr & 1) << 1;
++      __asm__ __volatile__ ("wcsr IE, %0" : : "r" (sr));
++      /* Branch to exception handler */
++      __asm__ __volatile__ ("rcsr %0, EBA" : "=r" (eba));
++      eba += 32 * 5;
++      __asm__ __volatile__ ("mv ea, ra");
++      __asm__ __volatile__ ("b %0" : : "r" (eba));<span style="background-color: #FF0000"> </span>
++    }
++<span style="background-color: #FF0000">  </span>
++  return __udivmodsi4 (a, b, 0);
++}
++#endif
++
++#ifdef L_umodsi3
++USItype
++__umodsi3 (USItype a, USItype b)
++{
++  if (b == 0)<span style="background-color: #FF0000"> </span>
++    {
++      /* Raise divide by zero exception */
++      int eba, sr;
++      /* Save interrupt enable */
++      __asm__ __volatile__ ("rcsr %0, IE" : "=r" (sr));
++      sr = (sr & 1) << 1;
++      __asm__ __volatile__ ("wcsr IE, %0" : : "r" (sr));
++      /* Branch to exception handler */
++      __asm__ __volatile__ ("rcsr %0, EBA" : "=r" (eba));
++      eba += 32 * 5;
++      __asm__ __volatile__ ("mv ea, ra");
++      __asm__ __volatile__ ("b %0" : : "r" (eba));<span style="background-color: #FF0000"> </span>
++    }
++<span style="background-color: #FF0000">  </span>
++  return __udivmodsi4 (a, b, 1);
++}
++#endif
++
++#if 0
++
++/* Shifts - Optimized versions implemented in assembly. Use these if code space is preferred to performance.  */
++
++#ifdef L_ashlsi3
++SItype<span style="background-color: #FF0000"> </span>
++__ashlsi3 (SItype a, SItype b)
++{
++  int i;
++<span style="background-color: #FF0000">  </span>
++  for (i = (b & 0x1f); i > 0; --i)
++    a += a;
++  return a;
++}
++#endif
++
++#ifdef L_ashrsi3
++SItype
++__ashrsi3 (SItype a, SItype b)
++{
++  int i;
++<span style="background-color: #FF0000">  </span>
++  for (i = (b & 0x1f); i > 0; --i)
++    __asm__ ("sri      %0, %0, 1" : "=r" (a) : "0" (a));
++  return a;
++}
++#endif
++
++#ifdef L_lshrsi3
++USItype
++__lshrsi3 (USItype a, USItype b)
++{
++  int i;
++<span style="background-color: #FF0000">  </span>
++  for (i = (b & 0x1f); i > 0; --i)
++    __asm__ ("srui     %0, %0, 1" : "=r" (a) : "0" (a));
++  return a;
++}
++#endif
++
++#endif<span style="background-color: #FF0000"> </span>
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/crti.S gcc-4.4.5/gcc/config/lm32/crti.S
+--- gcc-4.4.5.orig/gcc/config/lm32/crti.S      1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/crti.S   2010-10-03 19:22:15.402932932 +0200
+@@ -0,0 +1,45 @@
++# crti.S for Lattice Mico32<span style="background-color: #FF0000"> </span>
++# Contributed by Jon Beniston <jon@beniston.com>
++#
++# Copyright (C) 2008 Free Software Foundation, Inc.<span style="background-color: #FF0000"> </span>
++#
++# This file is free software; you can redistribute it and/or modify it
++# under the terms of the GNU General Public License as published by the
++# Free Software Foundation; either version 2, or (at your option) any
++# later version.
++#
++# In addition to the permissions in the GNU General Public License, the
++# Free Software Foundation gives you unlimited permission to link the
++# compiled version of this file into combinations with other programs,
++# and to distribute those combinations without any restriction coming
++# from the use of this file.  (The General Public License restrictions
++# do apply in other respects; for example, they cover modification of
++# the file, and distribution when not linked into a combine
++# executable.)
++#
++# This file is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++# General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with this program; see the file COPYING.  If not, write to
++# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
++# Boston, MA 02110-1301, USA.<span style="background-color: #FF0000">  </span>
++#<span style="background-color: #FF0000"> </span>
++
++        .section .init
++        .global _init
++        .type _init,@function
++        .align 4
++_init:
++        addi    sp, sp, -4<span style="background-color: #FF0000">        </span>
++        sw      (sp+4), ra
++
++        .section .fini
++        .global _fini
++        .type _fini,@function
++        .align 4
++_fini:<span style="background-color: #FF0000">        </span>
++        addi    sp, sp, -4<span style="background-color: #FF0000">        </span>
++        sw      (sp+4), ra
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/crtn.S gcc-4.4.5/gcc/config/lm32/crtn.S
+--- gcc-4.4.5.orig/gcc/config/lm32/crtn.S      1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/crtn.S   2010-10-03 19:22:15.403313731 +0200
+@@ -0,0 +1,42 @@
++# crtn.S for Lattice Mico32
++# Contributed by Jon Beniston <jon@beniston.com>
++#
++# Copyright (C) 2008 Free Software Foundation, Inc.<span style="background-color: #FF0000"> </span>
++#
++# This file is free software; you can redistribute it and/or modify it
++# under the terms of the GNU General Public License as published by the
++# Free Software Foundation; either version 2, or (at your option) any
++# later version.
++#
++# In addition to the permissions in the GNU General Public License, the
++# Free Software Foundation gives you unlimited permission to link the
++# compiled version of this file into combinations with other programs,
++# and to distribute those combinations without any restriction coming
++# from the use of this file.  (The General Public License restrictions
++# do apply in other respects; for example, they cover modification of
++# the file, and distribution when not linked into a combine
++# executable.)
++#
++# This file is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++# General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with this program; see the file COPYING.  If not, write to
++# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
++# Boston, MA 02110-1301, USA.<span style="background-color: #FF0000">  </span>
++#<span style="background-color: #FF0000"> </span>
++
++        .section .init
++<span style="background-color: #FF0000">        </span>
++        lw      ra, (sp+4)
++        addi    sp, sp, 4
++        ret
++<span style="background-color: #FF0000">                </span>
++        .section .fini
++<span style="background-color: #FF0000">        </span>
++        lw      ra, (sp+4)
++        addi    sp, sp, 4
++        ret
++<span style="background-color: #FF0000">        </span>
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/lib1funcs.S gcc-4.4.5/gcc/config/lm32/lib1funcs.S
+--- gcc-4.4.5.orig/gcc/config/lm32/lib1funcs.S 1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/lib1funcs.S      2010-10-03 19:22:15.403313731 +0200
+@@ -0,0 +1,429 @@
++# lib1funcs.S for Lattice Mico32<span style="background-color: #FF0000"> </span>
++# Contributed by Jon Beniston <jon@beniston.com>
++#
++# Copyright (C) 2008 Free Software Foundation, Inc.<span style="background-color: #FF0000"> </span>
++#
++# This file is free software; you can redistribute it and/or modify it
++# under the terms of the GNU General Public License as published by the
++# Free Software Foundation; either version 2, or (at your option) any
++# later version.
++#
++# In addition to the permissions in the GNU General Public License, the
++# Free Software Foundation gives you unlimited permission to link the
++# compiled version of this file into combinations with other programs,
++# and to distribute those combinations without any restriction coming
++# from the use of this file.  (The General Public License restrictions
++# do apply in other respects; for example, they cover modification of
++# the file, and distribution when not linked into a combine
++# executable.)
++#
++# This file is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++# General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with this program; see the file COPYING.  If not, write to
++# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
++# Boston, MA 02110-1301, USA.<span style="background-color: #FF0000">  </span>
++#<span style="background-color: #FF0000"> </span>
++
++/* Arithmetic left shift */
++<span style="background-color: #FF0000">        </span>
++        .text
++
++        .global __ashlsi3
++        .type __ashlsi3,@function
++        .align 4
++<span style="background-color: #FF0000">        </span>
++__ashlsi3:
++        /* Only use 5 LSBs, as that's all the h/w shifter uses */
++        andi    r2, r2, 0x1f
++        /* Get address of offset into unrolled shift loop to jump to */
++#ifdef __PIC__
++        orhi    r3, r0, gotoffhi16(__ashlsi3_table)
++        addi    r3, r3, gotofflo16(__ashlsi3_table)
++        add     r3, r3, gp
++#else
++        mvhi    r3, hi(__ashlsi3_table)
++        ori     r3, r3, lo(__ashlsi3_table)
++#endif
++        add     r2, r2, r2
++        add     r2, r2, r2
++        add     r3, r3, r2
++        lw      r3, (r3+0)
++        b       r3<span style="background-color: #FF0000">        </span>
++<span style="background-color: #FF0000">        </span>
++__ashlsi3_31:
++        add     r1, r1, r1
++__ashlsi3_30:
++        add     r1, r1, r1
++__ashlsi3_29:
++        add     r1, r1, r1
++__ashlsi3_28:
++        add     r1, r1, r1
++__ashlsi3_27:
++        add     r1, r1, r1
++__ashlsi3_26:
++        add     r1, r1, r1
++__ashlsi3_25:
++        add     r1, r1, r1
++__ashlsi3_24:
++        add     r1, r1, r1
++__ashlsi3_23:
++        add     r1, r1, r1
++__ashlsi3_22:
++        add     r1, r1, r1
++__ashlsi3_21:
++        add     r1, r1, r1
++__ashlsi3_20:
++        add     r1, r1, r1
++__ashlsi3_19:
++        add     r1, r1, r1
++__ashlsi3_18:
++        add     r1, r1, r1
++__ashlsi3_17:
++        add     r1, r1, r1
++__ashlsi3_16:
++        add     r1, r1, r1
++__ashlsi3_15:
++        add     r1, r1, r1
++__ashlsi3_14:
++        add     r1, r1, r1
++__ashlsi3_13:
++        add     r1, r1, r1
++__ashlsi3_12:
++        add     r1, r1, r1
++__ashlsi3_11:
++        add     r1, r1, r1
++__ashlsi3_10:
++        add     r1, r1, r1
++__ashlsi3_9:
++        add     r1, r1, r1
++__ashlsi3_8:
++        add     r1, r1, r1
++__ashlsi3_7:
++        add     r1, r1, r1
++__ashlsi3_6:
++        add     r1, r1, r1
++__ashlsi3_5:
++        add     r1, r1, r1
++__ashlsi3_4:
++        add     r1, r1, r1
++__ashlsi3_3:
++        add     r1, r1, r1
++__ashlsi3_2:
++        add     r1, r1, r1
++__ashlsi3_1:
++        add     r1, r1, r1
++__ashlsi3_0:
++        ret
++<span style="background-color: #FF0000">        </span>
++#ifdef __PIC__
++        .section .data
++#else
++        .section .rodata
++#endif<span style="background-color: #FF0000">        </span>
++
++        .align 4
++
++__ashlsi3_table:
++        .word   __ashlsi3_0
++        .word   __ashlsi3_1
++        .word   __ashlsi3_2
++        .word   __ashlsi3_3
++        .word   __ashlsi3_4
++        .word   __ashlsi3_5
++        .word   __ashlsi3_6
++        .word   __ashlsi3_7
++        .word   __ashlsi3_8
++        .word   __ashlsi3_9
++        .word   __ashlsi3_10
++        .word   __ashlsi3_11
++        .word   __ashlsi3_12
++        .word   __ashlsi3_13
++        .word   __ashlsi3_14
++        .word   __ashlsi3_15
++        .word   __ashlsi3_16
++        .word   __ashlsi3_17
++        .word   __ashlsi3_18
++        .word   __ashlsi3_19
++        .word   __ashlsi3_20
++        .word   __ashlsi3_21
++        .word   __ashlsi3_22
++        .word   __ashlsi3_23
++        .word   __ashlsi3_24
++        .word   __ashlsi3_25
++        .word   __ashlsi3_26
++        .word   __ashlsi3_27
++        .word   __ashlsi3_28
++        .word   __ashlsi3_29
++        .word   __ashlsi3_30
++        .word   __ashlsi3_31
++<span style="background-color: #FF0000">        </span>
++/* Logical right shift */
++<span style="background-color: #FF0000">        </span>
++        .text
++<span style="background-color: #FF0000">        </span>
++        .global __lshrsi3
++        .type __lshrsi3,@function
++        .align 4
++<span style="background-color: #FF0000">        </span>
++__lshrsi3:
++        /* Only use 5 LSBs, as that's all the h/w shifter uses */
++        andi    r2, r2, 0x1f
++        /* Get address of offset into unrolled shift loop to jump to */
++#ifdef __PIC__
++        orhi    r3, r0, gotoffhi16(__lshrsi3_table)<span style="background-color: #FF0000">        </span>
++        addi    r3, r3, gotofflo16(__lshrsi3_table)
++        add     r3, r3, gp
++#else
++        mvhi    r3, hi(__lshrsi3_table)
++        ori     r3, r3, lo(__lshrsi3_table)
++#endif
++        add     r2, r2, r2
++        add     r2, r2, r2
++        add     r3, r3, r2
++        lw      r3, (r3+0)
++        b       r3<span style="background-color: #FF0000">        </span>
++<span style="background-color: #FF0000">        </span>
++__lshrsi3_31:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_30:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_29:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_28:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_27:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_26:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_25:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_24:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_23:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_22:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_21:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_20:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_19:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_18:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_17:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_16:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_15:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_14:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_13:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_12:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_11:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_10:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_9:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_8:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_7:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_6:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_5:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_4:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_3:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_2:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_1:<span style="background-color: #FF0000">        </span>
++        srui    r1, r1, 1
++__lshrsi3_0:<span style="background-color: #FF0000">        </span>
++        ret
++<span style="background-color: #FF0000">        </span>
++#ifdef __PIC__
++        .section .data
++#else
++        .section .rodata
++#endif<span style="background-color: #FF0000">        </span>
++
++        .align 4
++
++__lshrsi3_table:<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_0<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_1<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_2<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_3<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_4<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_5<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_6<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_7<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_8<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_9<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_10<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_11<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_12<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_13<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_14<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_15<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_16<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_17<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_18<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_19<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_20<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_21<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_22<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_23<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_24<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_25<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_26<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_27<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_28
++        .word   __lshrsi3_29<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_30<span style="background-color: #FF0000">        </span>
++        .word   __lshrsi3_31<span style="background-color: #FF0000">        </span>
++<span style="background-color: #FF0000">        </span>
++/* Arithmetic right shift */
++
++        .text
++<span style="background-color: #FF0000">        </span>
++        .global __ashrsi3
++        .type __ashrsi3,@function
++        .align 4
++<span style="background-color: #FF0000">        </span>
++__ashrsi3:
++        /* Only use 5 LSBs, as that's all the h/w shifter uses */
++        andi    r2, r2, 0x1f
++        /* Get address of offset into unrolled shift loop to jump to */
++#ifdef __PIC__
++        orhi    r3, r0, gotoffhi16(__ashrsi3_table)
++        addi    r3, r3, gotofflo16(__ashrsi3_table)
++        add     r3, r3, gp
++#else
++        mvhi    r3, hi(__ashrsi3_table)
++        ori     r3, r3, lo(__ashrsi3_table)
++#endif
++        add     r2, r2, r2
++        add     r2, r2, r2
++        add     r3, r3, r2
++        lw      r3, (r3+0)
++        b       r3<span style="background-color: #FF0000">        </span>
++<span style="background-color: #FF0000">        </span>
++__ashrsi3_31:
++        sri     r1, r1, 1
++__ashrsi3_30:
++        sri     r1, r1, 1
++__ashrsi3_29:
++        sri     r1, r1, 1
++__ashrsi3_28:
++        sri     r1, r1, 1
++__ashrsi3_27:
++        sri     r1, r1, 1
++__ashrsi3_26:
++        sri     r1, r1, 1
++__ashrsi3_25:
++        sri     r1, r1, 1
++__ashrsi3_24:
++        sri     r1, r1, 1
++__ashrsi3_23:
++        sri     r1, r1, 1
++__ashrsi3_22:
++        sri     r1, r1, 1
++__ashrsi3_21:
++        sri     r1, r1, 1
++__ashrsi3_20:
++        sri     r1, r1, 1
++__ashrsi3_19:
++        sri     r1, r1, 1
++__ashrsi3_18:
++        sri     r1, r1, 1
++__ashrsi3_17:
++        sri     r1, r1, 1
++__ashrsi3_16:
++        sri     r1, r1, 1
++__ashrsi3_15:
++        sri     r1, r1, 1
++__ashrsi3_14:
++        sri     r1, r1, 1
++__ashrsi3_13:
++        sri     r1, r1, 1
++__ashrsi3_12:
++        sri     r1, r1, 1
++__ashrsi3_11:
++        sri     r1, r1, 1
++__ashrsi3_10:
++        sri     r1, r1, 1
++__ashrsi3_9:
++        sri     r1, r1, 1
++__ashrsi3_8:
++        sri     r1, r1, 1
++__ashrsi3_7:
++        sri     r1, r1, 1
++__ashrsi3_6:
++        sri     r1, r1, 1
++__ashrsi3_5:
++        sri     r1, r1, 1
++__ashrsi3_4:
++        sri     r1, r1, 1
++__ashrsi3_3:
++        sri     r1, r1, 1
++__ashrsi3_2:
++        sri     r1, r1, 1
++__ashrsi3_1:
++        sri     r1, r1, 1
++__ashrsi3_0:
++        ret
++<span style="background-color: #FF0000">        </span>
++#ifdef __PIC__
++        .section .data
++#else
++        .section .rodata
++#endif<span style="background-color: #FF0000">        </span>
++
++        .align 4
++
++__ashrsi3_table:
++        .word   __ashrsi3_0
++        .word   __ashrsi3_1
++        .word   __ashrsi3_2
++        .word   __ashrsi3_3
++        .word   __ashrsi3_4
++        .word   __ashrsi3_5
++        .word   __ashrsi3_6
++        .word   __ashrsi3_7
++        .word   __ashrsi3_8
++        .word   __ashrsi3_9
++        .word   __ashrsi3_10
++        .word   __ashrsi3_11
++        .word   __ashrsi3_12
++        .word   __ashrsi3_13
++        .word   __ashrsi3_14
++        .word   __ashrsi3_15
++        .word   __ashrsi3_16
++        .word   __ashrsi3_17
++        .word   __ashrsi3_18
++        .word   __ashrsi3_19
++        .word   __ashrsi3_20
++        .word   __ashrsi3_21
++        .word   __ashrsi3_22
++        .word   __ashrsi3_23
++        .word   __ashrsi3_24
++        .word   __ashrsi3_25
++        .word   __ashrsi3_26
++        .word   __ashrsi3_27
++        .word   __ashrsi3_28
++        .word   __ashrsi3_29
++        .word   __ashrsi3_30
++        .word   __ashrsi3_31
++<span style="background-color: #FF0000">        </span>
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/lm32.c gcc-4.4.5/gcc/config/lm32/lm32.c
+--- gcc-4.4.5.orig/gcc/config/lm32/lm32.c      1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/lm32.c   2010-10-03 19:22:15.404359866 +0200
+@@ -0,0 +1,869 @@
++/* Subroutines used for code generation on the Lattice Mico32 architecture.
++   Contributed by Jon Beniston <jon@beniston.com>
++
++   Copyright (C) 2008 Free Software Foundation, Inc.
++
++   This file is part of GCC.
++
++   GCC is free software; you can redistribute it and/or modify it
++   under the terms of the GNU General Public License as published
++   by the Free Software Foundation; either version 3, or (at your
++   option) any later version.
++
++   GCC is distributed in the hope that it will be useful, but WITHOUT
++   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++   License for more details.
++
++   You should have received a copy of the GNU General Public License
++   along with GCC; see the file COPYING3.  If not see
++   <http://www.gnu.org/licenses/>.  */
++
++#include "config.h"
++#include "system.h"
++#include "coretypes.h"
++#include "tm.h"
++#include "rtl.h"
++#include "regs.h"
++#include "hard-reg-set.h"
++#include "basic-block.h"
++#include "real.h"
++#include "insn-config.h"
++#include "conditions.h"
++#include "insn-flags.h"
++#include "insn-attr.h"
++#include "insn-codes.h"
++#include "recog.h"
++#include "output.h"
++#include "tree.h"
++#include "expr.h"
++#include "flags.h"
++#include "reload.h"
++#include "tm_p.h"
++#include "function.h"
++#include "toplev.h"
++#include "optabs.h"
++#include "libfuncs.h"
++#include "ggc.h"
++#include "target.h"
++#include "target-def.h"
++#include "langhooks.h"
++#include "tm-constrs.h"
++#include "df.h"
++
++struct lm32_frame_info
++{
++  HOST_WIDE_INT total_size;      /* number of bytes that the entire frame takes up.  */
++  HOST_WIDE_INT callee_size;     /* number of bytes to save callee save registers  */
++  HOST_WIDE_INT pretend_size;    /* number of bytes we push and pretend caller did.  */
++  HOST_WIDE_INT args_size;       /* number of bytes that outgoing arguments take up.  */
++  HOST_WIDE_INT locals_size;     /* number of bytes that local variables take up.  */
++  unsigned int reg_save_mask;   /* mask of saved registers.  */
++};
++
++/* Prototypes for static functions */
++static rtx emit_add (rtx dest, rtx src0, rtx src1);
++static void expand_save_restore (struct lm32_frame_info *info, int op);
++static void abort_with_insn (rtx insn, const char *reason);
++static void stack_adjust (HOST_WIDE_INT amount);
++static bool lm32_in_small_data_p (const_tree);
++static void lm32_setup_incoming_varargs (CUMULATIVE_ARGS *cum, enum machine_mode mode,<span style="background-color: #FF0000"> </span>
++                             tree type, int *pretend_size, int no_rtl);
++
++/* Detemines if given constant can be used as a displacement */
++#define OFFSET_INT(X)  (((X) > -32768) && ((X) < 32768))
++
++#undef TARGET_ADDRESS_COST
++#define TARGET_ADDRESS_COST hook_int_rtx_bool_0
++#undef TARGET_IN_SMALL_DATA_P
++#define TARGET_IN_SMALL_DATA_P lm32_in_small_data_p
++#undef TARGET_PROMOTE_FUNCTION_ARGS
++#define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_const_tree_true
++#undef TARGET_PROMOTE_FUNCTION_RETURN
++#define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_const_tree_true
++#undef TARGET_SETUP_INCOMING_VARARGS
++#define TARGET_SETUP_INCOMING_VARARGS lm32_setup_incoming_varargs
++#undef TARGET_PROMOTE_PROTOTYPES
++#define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_true
++
++struct gcc_target targetm = TARGET_INITIALIZER;
++
++/* Current frame information calculated by lm32_compute_frame_size.  */
++static struct lm32_frame_info current_frame_info;
++
++rtx lm32_compare_op0;
++rtx lm32_compare_op1;
++
++/* Return non-zero if the specified return type should be returned in memory */
++int
++lm32_return_in_memory (tree type)
++{
++  HOST_WIDE_INT size;
++
++  if (!AGGREGATE_TYPE_P (type))
++    {
++      /* All simple types are returned in registers.  */
++      return 0;
++    }
++
++  size = int_size_in_bytes (type);
++  if (size >=0 && size <= UNITS_PER_WORD)
++    {
++      /* If it can fit in one register */
++      return 0;
++    }
++<span style="background-color: #FF0000">  </span>
++  return 1;
++}
++<span style="background-color: #FF0000"> </span>
++/* Determine if given constant can be used as a register displacement */
++int
++const_ok_for_base_offset (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
++{
++  int val;
++
++  val = INTVAL (op);
++  return OFFSET_INT (val);
++}
++
++/* Generate an emit a word sized add instruction */
++static rtx
++emit_add (rtx dest, rtx src0, rtx src1)
++{
++  rtx insn;
++  insn = emit_insn (gen_addsi3 (dest, src0, src1));
++  return insn;
++}
++
++/* Generate the code to compare (and possibly branch) two integer values
++   TEST_CODE is the comparison code we are trying to emulate<span style="background-color: #FF0000"> </span>
++     (or implement directly)
++   RESULT is where to store the result of the comparison,<span style="background-color: #FF0000"> </span>
++     or null to emit a branch
++   CMP0 CMP1 are the two comparison operands
++   DESTINATION is the destination of the branch, or null to only compare
++   */
++
++void
++gen_int_relational (enum rtx_code code, /* relational test (EQ, etc) */
++                  rtx result,         /* result to store comp. or 0 if branch */
++                  rtx cmp0,           /* first operand to compare */
++                  rtx cmp1,           /* second operand to compare */
++                  rtx destination)    /* destination of the branch, or 0 if compare */
++{
++  enum machine_mode mode;
++  int branch_p;
++
++  mode = GET_MODE (cmp0);
++  if (mode == VOIDmode)
++    mode = GET_MODE (cmp1);
++
++  /* Is this a branch or compare */
++  branch_p = (destination != 0);
++
++  /* Instruction set doesn't support LE or LT, so swap operands and use GE, GT */
++  switch (code)
++    {
++      case LE:<span style="background-color: #FF0000"> </span>
++      case LT:<span style="background-color: #FF0000"> </span>
++      case LEU:<span style="background-color: #FF0000"> </span>
++      case LTU:
++        code = swap_condition (code);
++        rtx temp = cmp0;
++        cmp0 = cmp1;
++        cmp1 = temp;<span style="background-color: #FF0000">       </span>
++        break;
++      default:
++        break;<span style="background-color: #FF0000">  </span>
++    }
++<span style="background-color: #FF0000">    </span>
++  if (branch_p)
++    {
++      rtx insn;
++<span style="background-color: #FF0000">      </span>
++      /* Operands must be in registers */
++      if (!register_operand (cmp0, mode))<span style="background-color: #FF0000"> </span>
++        cmp0 = force_reg (mode, cmp0);
++      if (!register_operand (cmp1, mode))<span style="background-color: #FF0000"> </span>
++        cmp1 = force_reg (mode, cmp1);
++
++      /* Generate conditional branch instruction */<span style="background-color: #FF0000">           </span>
++      rtx cond = gen_rtx_fmt_ee (code, mode, cmp0, cmp1);
++      rtx label = gen_rtx_LABEL_REF (VOIDmode, destination);
++      insn = gen_rtx_SET (VOIDmode, pc_rtx,
++            gen_rtx_IF_THEN_ELSE (VOIDmode,
++<span style="background-color: #FF0000">      </span>                       cond, label, pc_rtx));
++      emit_jump_insn (insn);
++    }
++  else
++    {<span style="background-color: #FF0000">    </span>
++      /* We can't have const_ints in cmp0, other than 0 */
++      if ((GET_CODE (cmp0) == CONST_INT) && (INTVAL (cmp0) != 0))<span style="background-color: #FF0000"> </span>
++        cmp0 = force_reg (mode, cmp0);
++<span style="background-color: #FF0000">    </span>
++      /* If the comparison is against an int not in legal range
++         move it into a register */
++      if (GET_CODE (cmp1) == CONST_INT)
++        {
++          HOST_WIDE_INT value = INTVAL (cmp1);
++          switch (code)<span style="background-color: #FF0000"> </span>
++            {
++              case EQ: case NE: case LE: case LT: case GE: case GT:<span style="background-color: #FF0000"> </span>
++                if (!MEDIUM_INT(value))
++                  cmp1 = force_reg (mode, cmp1);
++                break;
++              case LEU: case LTU: case GEU: case GTU:
++                if (!MEDIUM_UINT(value))
++                  cmp1 = force_reg (mode, cmp1);
++                break;
++              default:
++                abort ();
++            }<span style="background-color: #FF0000">    </span>
++        }
++<span style="background-color: #FF0000">    </span>
++      /* Generate compare instruction */
++      emit_move_insn (result, gen_rtx_fmt_ee (code, mode, cmp0, cmp1));
++    }
++}
++
++/* Generate and emit RTL to save or restore callee save registers */
++static void
++expand_save_restore (struct lm32_frame_info *info, int op)
++{
++  unsigned int reg_save_mask = info->reg_save_mask;
++  int regno;
++  HOST_WIDE_INT offset;
++  rtx insn;
++
++  /* Callee saves are below locals and above outgoing arguments */
++  offset = info->args_size + info->callee_size;
++  for (regno = 0; regno <= 31; regno++)
++    {
++      if ((reg_save_mask & (1 << regno)) != 0)
++        {
++          if (op == 0)
++            {
++              insn = emit_move_insn (gen_rtx_MEM (word_mode,<span style="background-color: #FF0000"> </span>
++                                                  gen_rtx_PLUS (Pmode,
++                                                                stack_pointer_rtx,
++                                                                GEN_INT (offset))),<span style="background-color: #FF0000"> </span>
++                                     gen_rtx_REG (word_mode, regno));
++            }
++          else
++            {
++              insn = emit_move_insn (gen_rtx_REG (word_mode, regno),
++                                     gen_rtx_MEM (word_mode,<span style="background-color: #FF0000"> </span>
++                                                  gen_rtx_PLUS (Pmode,
++                                                                stack_pointer_rtx,
++                                                                GEN_INT (offset))));
++            }
++
++        /* only prologue instructions which set the sp fp or save a
++           register should be marked as frame related */
++          if (op==0)
++          RTX_FRAME_RELATED_P (insn) = 1;
++          offset -= UNITS_PER_WORD;
++        }
++    }
++}
++
++static void<span style="background-color: #FF0000"> </span>
++stack_adjust (HOST_WIDE_INT amount)
++{
++  rtx insn;
++<span style="background-color: #FF0000">  </span>
++  if (!MEDIUM_INT (amount))
++    {
++      /* r10 is caller saved so it can be used as a temp reg */
++      rtx r10;
++      r10 = gen_rtx_REG (word_mode, 10);<span style="background-color: #FF0000">  </span>
++      insn = emit_move_insn (r10, GEN_INT (amount));
++      if (amount < 0)
++      RTX_FRAME_RELATED_P (insn) = 1;
++      insn = emit_add (stack_pointer_rtx, stack_pointer_rtx, r10);
++      if (amount < 0)
++      RTX_FRAME_RELATED_P (insn) = 1;
++    }
++  else
++    {
++      insn = emit_add (stack_pointer_rtx,
++                       stack_pointer_rtx,
++                       GEN_INT (amount));
++      if (amount < 0)
++      RTX_FRAME_RELATED_P (insn) = 1;
++    }
++}
++
++
++/* Create and emit instructions for a functions prologue */
++void
++lm32_expand_prologue (void)
++{
++  rtx insn;
++<span style="background-color: #FF0000">    </span>
++  lm32_compute_frame_size (get_frame_size ());
++<span style="background-color: #FF0000">        </span>
++  if (current_frame_info.total_size > 0)
++    {
++      /* Add space on stack new frame  */
++      stack_adjust (-current_frame_info.total_size);
++<span style="background-color: #FF0000">                                </span>
++      /* Save callee save registers */
++      if (current_frame_info.reg_save_mask != 0)
++        expand_save_restore (&current_frame_info, 0);
++<span style="background-color: #FF0000">        </span>
++      /* Setup frame pointer if it's needed */<span style="background-color: #FF0000">                </span>
++      if (frame_pointer_needed == 1)
++        {
++          /* Load offset - Don't use total_size, as that includes pretend_size, which isn't part of this frame? */
++          insn = emit_move_insn (frame_pointer_rtx, GEN_INT (  current_frame_info.args_size<span style="background-color: #FF0000"> </span>
++                                                             + current_frame_info.callee_size<span style="background-color: #FF0000"> </span>
++                                                             + current_frame_info.locals_size));
++          RTX_FRAME_RELATED_P (insn) = 1;
++<span style="background-color: #FF0000">          </span>
++          /* Add in sp */
++          insn = emit_add (frame_pointer_rtx,<span style="background-color: #FF0000"> </span>
++                           frame_pointer_rtx,
++                           stack_pointer_rtx);
++          RTX_FRAME_RELATED_P (insn) = 1;
++        }<span style="background-color: #FF0000">  </span>
++<span style="background-color: #FF0000">                </span>
++      /* Prevent prologue from being scheduled into function body */
++      emit_insn (gen_blockage ());<span style="background-color: #FF0000">        </span>
++    }
++}
++
++/* Create an emit instructions for a functions epilogue */
++void
++lm32_expand_epilogue (void)
++{
++  rtx ra_rtx = gen_rtx_REG (Pmode, RA_REGNUM);
++<span style="background-color: #FF0000">    </span>
++  lm32_compute_frame_size (get_frame_size ());
++
++  if (current_frame_info.total_size > 0)
++    {<span style="background-color: #FF0000">       </span>
++      /* Prevent stack code from being reordered */
++      emit_insn (gen_blockage ());<span style="background-color: #FF0000">             </span>
++<span style="background-color: #FF0000">           </span>
++      /* Restore callee save registers */
++      if (current_frame_info.reg_save_mask != 0)
++        expand_save_restore (&current_frame_info, 1);<span style="background-color: #FF0000">         </span>
++<span style="background-color: #FF0000">      </span>
++      /* Deallocate stack */
++      stack_adjust (current_frame_info.total_size);
++
++      /* Return to calling function */
++      emit_jump_insn (gen_return_internalsi (ra_rtx));<span style="background-color: #FF0000">                    </span>
++    }
++  else
++    {
++      /* Return to calling function */
++      emit_jump_insn (gen_return_internalsi (ra_rtx));
++    }<span style="background-color: #FF0000">    </span>
++}
++
++/* Return the bytes needed to compute the frame pointer from the current
++   stack pointer. */
++HOST_WIDE_INT
++lm32_compute_frame_size (int size)
++{
++  int regno;
++  HOST_WIDE_INT total_size, locals_size, args_size, pretend_size, callee_size;
++  unsigned int reg_save_mask;
++
++  locals_size = size;
++  args_size = crtl->outgoing_args_size;
++  pretend_size = crtl->args.pretend_args_size;
++  callee_size = 0;
++  reg_save_mask = 0;
++<span style="background-color: #FF0000">    </span>
++  /* Build mask that actually determines which regsiters we save
++     and calculate size required to store them in the stack. */
++  for (regno = 1; regno < SP_REGNUM; regno++)
++    {
++      if (df_regs_ever_live_p(regno) && !call_used_regs[regno])
++        {
++          reg_save_mask |= 1 << regno;
++          callee_size += UNITS_PER_WORD;
++        }
++    }
++  if (df_regs_ever_live_p(RA_REGNUM) || !current_function_is_leaf || !optimize)
++    {
++      reg_save_mask |= 1 << RA_REGNUM;<span style="background-color: #FF0000">       </span>
++      callee_size += UNITS_PER_WORD;
++    }
++  if (!(reg_save_mask & (1 << FP_REGNUM)) && frame_pointer_needed)
++    {
++      reg_save_mask |= 1 << FP_REGNUM;<span style="background-color: #FF0000">       </span>
++      callee_size += UNITS_PER_WORD;
++    }
++
++  /* Compute total frame size */
++  total_size = pretend_size + args_size + locals_size + callee_size;
++<span style="background-color: #FF0000">     </span>
++  /* Align frame to appropriate boundary */
++  total_size = (total_size+3) & ~3;
++<span style="background-color: #FF0000">  </span>
++  /* Save computed information.  */
++  current_frame_info.total_size = total_size;
++  current_frame_info.callee_size = callee_size;
++  current_frame_info.pretend_size = pretend_size;
++  current_frame_info.locals_size = locals_size;
++  current_frame_info.args_size = args_size;
++  current_frame_info.reg_save_mask = reg_save_mask;
++
++  return total_size;
++}
++
++void
++lm32_print_operand (FILE *file, rtx op, int letter)
++{
++  register enum rtx_code code;
++
++  if (! op)
++    {
++      error ("PRINT_OPERAND null pointer");
++      abort ();
++    }
++
++  code = GET_CODE (op);
++
++  if (code == SIGN_EXTEND)
++    op = XEXP (op, 0), code = GET_CODE (op);
++  else if (code == REG || code == SUBREG)
++    {
++      int regnum;
++
++      if (code == REG)
++        regnum = REGNO (op);
++      else
++        regnum = true_regnum (op);
++
++     if (   (letter == 'H' && !WORDS_BIG_ENDIAN)<span style="background-color: #FF0000"> </span>
++         || (letter == 'L' && WORDS_BIG_ENDIAN))
++         {
++         abort();
++            regnum++;
++            }
++
++      fprintf (file, "%s", reg_names[regnum]);
++    }
++  else if (code == MEM)<span style="background-color: #FF0000"> </span>
++      output_address (XEXP (op, 0));
++  else if (letter == 'z' && GET_CODE (op) == CONST_INT && INTVAL (op) == 0)
++    fprintf (file, "%s", reg_names[0]);
++  else if (GET_CODE (op) == CONST_DOUBLE)<span style="background-color: #FF0000"> </span>
++    {
++      if ((CONST_DOUBLE_LOW (op) != 0) || (CONST_DOUBLE_HIGH (op) != 0))
++        output_operand_lossage ("Only 0.0 can be loaded as an immediate");
++      else
++        fprintf (file, "0");
++    }<span style="background-color: #FF0000">        </span>
++  else if (code == EQ)
++    fprintf (file, "e  ");<span style="background-color: #FF0000">  </span>
++  else if (code == NE)
++    fprintf (file, "ne ");<span style="background-color: #FF0000">        </span>
++  else if (code == GT)
++    fprintf (file, "g  ");<span style="background-color: #FF0000">    </span>
++  else if (code == GTU)
++    fprintf (file, "gu ");<span style="background-color: #FF0000">    </span>
++  else if (code == LT)
++    fprintf (file, "l  ");<span style="background-color: #FF0000">        </span>
++  else if (code == LTU)
++    fprintf (file, "lu ");<span style="background-color: #FF0000">        </span>
++  else if (code == GE)
++    fprintf (file, "ge ");<span style="background-color: #FF0000">        </span>
++  else if (code == GEU)
++    fprintf (file, "geu");<span style="background-color: #FF0000">        </span>
++  else if (code == LE)
++    fprintf (file, "le ");<span style="background-color: #FF0000">        </span>
++  else if (code == LEU)
++    fprintf (file, "leu");<span style="background-color: #FF0000">                  </span>
++  else
++    output_addr_const (file, op);
++}
++
++/* A C compound statement to output to stdio stream STREAM the
++   assembler syntax for an instruction operand that is a memory
++   reference whose address is ADDR.  ADDR is an RTL expression.
++
++   On some machines, the syntax for a symbolic address depends on
++   the section that the address refers to.  On these machines,
++   define the macro `ENCODE_SECTION_INFO' to store the information
++   into the `symbol_ref', and then check for it here.  */
++
++void
++lm32_print_operand_address (FILE *file, rtx addr)
++{
++  switch (GET_CODE (addr))
++    {
++    case REG:
++      fprintf (file, "(%s+0)", reg_names [REGNO (addr)]);
++      break;
++
++    case MEM:
++      output_address (XEXP (addr, 0));
++      break;
++
++    case PLUS:
++      {
++        rtx arg0 = XEXP (addr, 0);
++        rtx arg1 = XEXP (addr, 1);
++<span style="background-color: #FF0000">              </span>
++        if (GET_CODE (arg0) == REG && CONSTANT_P (arg1))
++          {
++            if (GET_CODE(arg1) == CONST_INT)
++              fprintf (file, "(%s+%ld)", reg_names [REGNO (arg0)], INTVAL (arg1));
++            else
++              {
++                fprintf (file, "(%s+", reg_names [REGNO (arg0)]);
++                output_addr_const (file, arg1);
++                fprintf (file, ")");
++              }
++          }
++        else if (CONSTANT_P (arg0) && CONSTANT_P (arg1))
++          output_addr_const (file, addr);
++        else
++          abort_with_insn (addr, "bad operand");
++      }
++      break;
++<span style="background-color: #FF0000">    </span>
++    case SYMBOL_REF:
++      if (SYMBOL_REF_SMALL_P (addr))<span style="background-color: #FF0000"> </span>
++        {<span style="background-color: #FF0000">        </span>
++          fprintf (file, "gp(");
++          output_addr_const (file, addr);
++          fprintf (file, ")");
++        }<span style="background-color: #FF0000"> </span>
++      else
++        abort_with_insn (addr, "can't use non gp relative absolute address");
++      break;<span style="background-color: #FF0000">      </span>
++<span style="background-color: #FF0000">        </span>
++    default:
++      abort_with_insn (addr, "invalid addressing mode");
++      break;
++    }
++}
++
++/* Determine where to put an argument to a function.
++   Value is zero to push the argument on the stack,
++   or a hard register in which to store the argument.
++
++   MODE is the argument's machine mode.
++   TYPE is the data type of the argument (as a tree).
++    This is null for libcalls where that information may
++    not be available.
++   CUM is a variable of type CUMULATIVE_ARGS which gives info about
++    the preceding args and about the function being called.
++   NAMED is nonzero if this argument is a named parameter
++    (otherwise it is an extra parameter matching an ellipsis).  */
++
++rtx
++lm32_function_arg (CUMULATIVE_ARGS cum, enum machine_mode mode,<span style="background-color: #FF0000"> </span>
++                   tree type, int named)
++{<span style="background-color: #FF0000">        </span>
++  if (mode == VOIDmode)
++    /* Compute operand 2 of the call insn.  */
++    return GEN_INT (0);
++
++  if (targetm.calls.must_pass_in_stack (mode, type))
++    return NULL_RTX;
++<span style="background-color: #FF0000">    </span>
++  if (!named  || (cum + LM32_NUM_REGS2(mode, type) > LM32_NUM_ARG_REGS))
++    return NULL_RTX;
++
++  return gen_rtx_REG (mode, cum + LM32_FIRST_ARG_REG);
++}
++
++HOST_WIDE_INT
++lm32_compute_initial_elimination_offset (int from, int to)
++{
++  HOST_WIDE_INT offset = 0;
++<span style="background-color: #FF0000">  </span>
++  switch (from)
++    {
++    /*case FRAME_POINTER_REGNUM: - Same as ARG_POINTER_REGNUM */
++    case ARG_POINTER_REGNUM:
++      switch (to)
++        {
++        case FRAME_POINTER_REGNUM:
++          offset = 0;
++          break;
++        case STACK_POINTER_REGNUM:
++          offset = lm32_compute_frame_size (get_frame_size ()) - current_frame_info.pretend_size;
++          break;
++        default:
++          abort ();
++        }
++      break;
++    default:
++      abort ();
++    }
++<span style="background-color: #FF0000">    </span>
++  return offset;<span style="background-color: #FF0000">    </span>
++}
++
++static void
++lm32_setup_incoming_varargs (CUMULATIVE_ARGS *cum, enum machine_mode mode,<span style="background-color: #FF0000"> </span>
++                             tree type, int *pretend_size, int no_rtl)
++{
++  int first_anon_arg;
++  tree fntype;
++  int stdarg_p;
++<span style="background-color: #FF0000">  </span>
++  fntype = TREE_TYPE (current_function_decl);
++  stdarg_p = (TYPE_ARG_TYPES (fntype) != 0
++            && (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype)))
++                != void_type_node));
++<span style="background-color: #FF0000">   </span>
++  if (stdarg_p)
++    first_anon_arg = *cum + LM32_FIRST_ARG_REG;
++  else
++    {
++      /* this is the common case, we have been passed details setup
++         for the last named argument, we want to skip over the
++         registers, if any used in passing this named paramter in
++         order to determine which is the first registers used to pass
++         anonymous arguments */
++      int size;
++
++      if (mode==BLKmode)
++        size = int_size_in_bytes (type);
++      else
++        size = GET_MODE_SIZE (mode);
++<span style="background-color: #FF0000">      </span>
++      first_anon_arg = *cum + LM32_FIRST_ARG_REG + ((size + UNITS_PER_WORD - 1) / UNITS_PER_WORD);
++    }
++
++  if ((first_anon_arg < (LM32_FIRST_ARG_REG + LM32_NUM_ARG_REGS)) && !no_rtl)
++    {
++      int first_reg_offset = first_anon_arg;
++      int size = LM32_FIRST_ARG_REG + LM32_NUM_ARG_REGS - first_anon_arg;
++      rtx regblock;
++
++      regblock = gen_rtx_MEM (BLKmode,
++                              plus_constant (arg_pointer_rtx,<span style="background-color: #FF0000"> </span>
++                                             FIRST_PARM_OFFSET (0)));
++      move_block_from_reg (first_reg_offset, regblock, size);
++
++      *pretend_size = size * UNITS_PER_WORD;
++    }
++}
++
++/* Abort after printing out a specific insn.  */
++static void
++abort_with_insn (rtx insn, const char *reason)
++{
++  error (reason);
++  debug_rtx (insn);
++  abort ();
++}
++
++/* Override command line options */
++void<span style="background-color: #FF0000"> </span>
++lm32_override_options (void)
++{<span style="background-color: #FF0000">          </span>
++  /* We must have sign-extend enabled if barrel-shift isn't */
++  if (!MASK_BARREL_SHIFT_ENABLED)
++    {
++      warning (0, "neither -mbarrel-shift-enabled nor -msign-extend-enabled specified. Assuming -msign-extend-enabled");
++      target_flags |= MASK_SIGN_EXTEND_ENABLED;
++    }
++}
++
++/* Return nonzero if this function is known to have a null epilogue.
++   This allows the optimizer to omit jumps to jumps if no stack
++   was created.  */
++int<span style="background-color: #FF0000"> </span>
++lm32_can_use_return (void)
++{
++  if (!reload_completed)<span style="background-color: #FF0000"> </span>
++    return 0;
++<span style="background-color: #FF0000">  </span>
++  if (df_regs_ever_live_p(RA_REGNUM) || crtl->profile)
++    return 0;
++<span style="background-color: #FF0000">    </span>
++  if (lm32_compute_frame_size (get_frame_size ()) != 0)
++    return 0;
++<span style="background-color: #FF0000">    </span>
++  return 1;
++}
++
++/* Support function to determine the return address of the function
++   'count' frames back up the stack. */
++rtx<span style="background-color: #FF0000"> </span>
++lm32_return_addr_rtx (int count, rtx frame)
++{
++  rtx r;
++  if (count == 0)
++    {
++      /* *mjs* This test originally used leaf_function_p (), we now use
++       the regs_ever_live test which I *think* is more accurate. */
++      if (!df_regs_ever_live_p(RA_REGNUM))
++      {
++        r = gen_rtx_REG (Pmode, RA_REGNUM);
++      }
++      else
++      {
++        r = gen_rtx_MEM (Pmode,<span style="background-color: #FF0000"> </span>
++                         gen_rtx_PLUS (Pmode, frame,
++                                       GEN_INT(- 2 * UNITS_PER_WORD)));
++        set_mem_alias_set (r, get_frame_alias_set ());
++      }
++    }
++  else if (flag_omit_frame_pointer)
++    r = NULL_RTX;
++  else
++    {
++      r = gen_rtx_MEM (Pmode,<span style="background-color: #FF0000"> </span>
++                     gen_rtx_PLUS (Pmode, frame,
++                                   GEN_INT(- 2 * UNITS_PER_WORD)));
++      set_mem_alias_set (r, get_frame_alias_set ());
++    }
++  return r;
++}
++
++/* Return true if EXP should be placed in the small data section.  */
++
++static bool
++lm32_in_small_data_p (const_tree exp)
++{
++  /* We want to merge strings, so we never consider them small data.  */
++  if (TREE_CODE (exp) == STRING_CST)
++    return false;
++
++  /* Functions are never in the small data area.  Duh.  */
++  if (TREE_CODE (exp) == FUNCTION_DECL)
++    return false;
++
++  if (TREE_CODE (exp) == VAR_DECL && DECL_SECTION_NAME (exp))
++    {
++      const char *section = TREE_STRING_POINTER (DECL_SECTION_NAME (exp));
++      if (strcmp (section, ".sdata") == 0
++        || strcmp (section, ".sbss") == 0)
++      return true;
++    }
++  else
++    {
++      HOST_WIDE_INT size = int_size_in_bytes (TREE_TYPE (exp));
++
++      /* If this is an incomplete type with size 0, then we can't put it
++       in sdata because it might be too big when completed.  */
++      if (size > 0 && (unsigned HOST_WIDE_INT) size <= g_switch_value)
++      return true;
++    }
++
++  return false;
++}
++
++/* Emit straight-line code to move LENGTH bytes from SRC to DEST.
++   Assume that the areas do not overlap.  */
++
++static void
++lm32_block_move_inline (rtx dest, rtx src, HOST_WIDE_INT length, HOST_WIDE_INT alignment)
++{
++  HOST_WIDE_INT offset, delta;
++  unsigned HOST_WIDE_INT bits;
++  int i;
++  enum machine_mode mode;
++  rtx *regs;
++
++  /* Work out how many bits to move at a time.  */
++  switch (alignment)
++    {
++      case 1:
++        bits = 8;
++        break;
++      case 2:
++        bits = 16;
++        break;
++      case 4:
++        bits = 32;
++        break;
++      default:<span style="background-color: #FF0000"> </span>
++        abort ();
++    }
++
++  mode = mode_for_size (bits, MODE_INT, 0);
++  delta = bits / BITS_PER_UNIT;
++
++  /* Allocate a buffer for the temporary registers.  */
++  regs = alloca (sizeof (rtx) * length / delta);
++
++  /* Load as many BITS-sized chunks as possible.  */
++  for (offset = 0, i = 0; offset + delta <= length; offset += delta, i++)
++    {
++      regs[i] = gen_reg_rtx (mode);
++      emit_move_insn (regs[i], adjust_address (src, mode, offset));
++    }
++
++  /* Copy the chunks to the destination.  */
++  for (offset = 0, i = 0; offset + delta <= length; offset += delta, i++)
++    emit_move_insn (adjust_address (dest, mode, offset), regs[i]);
++
++  /* Mop up any left-over bytes.  */
++  if (offset < length)
++    {
++      src = adjust_address (src, BLKmode, offset);
++      dest = adjust_address (dest, BLKmode, offset);
++      move_by_pieces (dest, src, length - offset,
++                    MIN (MEM_ALIGN (src), MEM_ALIGN (dest)), 0);
++    }
++}
++
++/* Expand string/block move operations.
++
++   operands[0] is the pointer to the destination.
++   operands[1] is the pointer to the source.
++   operands[2] is the number of bytes to move.
++   operands[3] is the alignment.  */
++
++int
++lm32_expand_block_move (rtx *operands)
++{
++  if ((GET_CODE (operands[2]) == CONST_INT) && (INTVAL (operands[2]) <= 32))
++    {
++      lm32_block_move_inline (operands[0], operands[1], INTVAL (operands[2]), INTVAL (operands[3]));
++      return 1;
++    }
++  return 0;
++}
++
++/* Return TRUE if X references a SYMBOL_REF or LABEL_REF whose symbol
++   isn't protected by a PIC unspec.  */
++int
++nonpic_symbol_mentioned_p (rtx x)
++{
++  register const char *fmt;
++  register int i;
++
++  if (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == LABEL_REF
++      || GET_CODE (x) == PC)
++    return 1;
++
++  /* We don't want to look into the possible MEM location of a
++     CONST_DOUBLE, since we're not going to use it, in general.  */
++  if (GET_CODE (x) == CONST_DOUBLE)
++    return 0;
++
++  if (GET_CODE (x) == UNSPEC)
++    return 0;
++
++  fmt = GET_RTX_FORMAT (GET_CODE (x));
++  for (i = GET_RTX_LENGTH (GET_CODE (x)) - 1; i >= 0; i--)
++    {
++      if (fmt[i] == 'E')
++      {
++        register int j;
++
++        for (j = XVECLEN (x, i) - 1; j >= 0; j--)
++          if (nonpic_symbol_mentioned_p (XVECEXP (x, i, j)))
++            return 1;
++      }
++      else if (fmt[i] == 'e' && nonpic_symbol_mentioned_p (XEXP (x, i)))
++      return 1;
++    }
++
++  return 0;
++}
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/lm32.h gcc-4.4.5/gcc/config/lm32/lm32.h
+--- gcc-4.4.5.orig/gcc/config/lm32/lm32.h      1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/lm32.h   2010-10-03 19:22:15.405316188 +0200
+@@ -0,0 +1,657 @@
++/* Definitions of target machine for GNU compiler, Lattice Mico32 architecture.
++   Contributed by Jon Beniston <jon@beniston.com>
++
++   Copyright (C) 2008 Free Software Foundation, Inc.
++
++   This file is part of GCC.
++
++   GCC is free software; you can redistribute it and/or modify it
++   under the terms of the GNU General Public License as published
++   by the Free Software Foundation; either version 3, or (at your
++   option) any later version.
++
++   GCC is distributed in the hope that it will be useful, but WITHOUT
++   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++   License for more details.
++
++   You should have received a copy of the GNU General Public License
++   along with GCC; see the file COPYING3.  If not see
++   <http://www.gnu.org/licenses/>.  */
++
++/*-------------------------------*/
++/* Run-time Target Specification */
++/*-------------------------------*/
++
++/* Print subsidiary information on the compiler version in use.  */
++#ifndef TARGET_VERSION
++#define TARGET_VERSION fprintf (stderr, " (LatticeMico32)")
++#endif
++
++/* Target CPU builtins.  */
++#define TARGET_CPU_CPP_BUILTINS()               \
++  do                                            \
++    {                                           \
++      builtin_define ("__lm32__");              \
++      builtin_define_std ("lm32");              \
++      builtin_assert ("cpu=lm32");              \
++      builtin_assert ("machine=lm32");          \
++    }                                           \
++  while (0)
++
++#define CPP_SPEC "\
++%{mmultiply-enabled:-D__multiply_enabled__} \
++%{mdivide-enabled:-D__divide_enabled__} \
++%{mbarrel-shift-enabled:-D__barrel_shift_enabled__} \
++%{msign-extend-enabled:-D__sign_extend_enabled__} \
++%{muser-enabled:-D__user_enabled__} \
++"
++
++#undef  ASM_SPEC
++#define ASM_SPEC "\
++%{mmultiply-enabled} \
++%{mdivide-enabled} \
++%{mbarrel-shift-enabled} \
++%{msign-extend-enabled} \
++%{muser-extend-enabled} \
++%{v} \
++"
++
++/* Let link script define all link options.<span style="background-color: #FF0000"> </span>
++   Default to using simulator link script.  */
++
++#undef  STARTFILE_SPEC
++#define STARTFILE_SPEC ""
++#undef  ENDFILE_SPEC
++#define ENDFILE_SPEC ""
++#undef  LIB_SPEC
++#define LIB_SPEC "%{!T*:-T sim.ld}"
++
++#define OVERRIDE_OPTIONS lm32_override_options()
++
++extern int target_flags;
++
++/* Add -G xx support.  */
++
++#undef  SWITCH_TAKES_ARG
++#define SWITCH_TAKES_ARG(CHAR) \
++(DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
++
++#undef  CC1_SPEC
++#define CC1_SPEC "%{G*}"
++
++extern struct rtx_def *lm32_compare_op0;
++extern struct rtx_def *lm32_compare_op1;
++
++/*---------------------------------*/
++/* Target machine storage layout.  */
++/*---------------------------------*/
++
++#define BITS_BIG_ENDIAN 0
++#define BYTES_BIG_ENDIAN 1
++#define WORDS_BIG_ENDIAN 1
++#define LIBGCC2_WORDS_BIG_ENDIAN 1
++
++#define BITS_PER_UNIT 8
++#define BITS_PER_WORD 32
++#define UNITS_PER_WORD 4
++
++#define POINTER_SIZE 32
++
++#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE)               \
++do {                                                    \
++  if (GET_MODE_CLASS (MODE) == MODE_INT                 \
++      && GET_MODE_SIZE (MODE) < UNITS_PER_WORD)         \
++    (MODE) = word_mode;                                 \
++} while (0)
++
++#define PARM_BOUNDARY 32
++
++#define STACK_BOUNDARY 32
++
++#define BIGGEST_ALIGNMENT 64
++
++#define FUNCTION_BOUNDARY  32
++
++#define EMPTY_FIELD_BOUNDARY 32
++
++#define STRICT_ALIGNMENT 1
++
++#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
++
++/* Make strings word-aligned so strcpy from constants will be faster.  */
++#define CONSTANT_ALIGNMENT(EXP, ALIGN)  \
++  (TREE_CODE (EXP) == STRING_CST      \
++   && (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
++
++/* Make arrays and structures word-aligned to allow faster copying etc.  */
++#define DATA_ALIGNMENT(TYPE, ALIGN)                                   \
++  ((((ALIGN) < BITS_PER_WORD)                                              \
++    && (TREE_CODE (TYPE) == ARRAY_TYPE                                        \
++      || TREE_CODE (TYPE) == UNION_TYPE                               \
++      || TREE_CODE (TYPE) == RECORD_TYPE)) ? BITS_PER_WORD : (ALIGN))
++
++/* We need this for the same reason as DATA_ALIGNMENT, namely to cause
++   character arrays to be word-aligned so that `strcpy' calls that copy
++   constants to character arrays can be done inline, and 'strcmp' can be
++   optimised to use word loads. */
++#define LOCAL_ALIGNMENT(TYPE, ALIGN) \
++  DATA_ALIGNMENT (TYPE, ALIGN)
++<span style="background-color: #FF0000">   </span>
++/*----------------------------------------*/
++/* Layout of source language data types.  */
++/*----------------------------------------*/
++
++#define INT_TYPE_SIZE             32
++#define SHORT_TYPE_SIZE                   16
++#define LONG_TYPE_SIZE                    32
++#define LONG_LONG_TYPE_SIZE       64
++
++#define FLOAT_TYPE_SIZE                   32
++#define DOUBLE_TYPE_SIZE          64
++#define LONG_DOUBLE_TYPE_SIZE       64
++
++#define DEFAULT_SIGNED_CHAR         0
++
++#define SIZE_TYPE "unsigned int"
++
++#define PTRDIFF_TYPE "int"
++
++/*---------------------------*/
++/* Standard register usage.  */
++/*---------------------------*/
++
++#define FIRST_PSEUDO_REGISTER  32
++
++#define RV_REGNUM   1
++#define GP_REGNUM   26
++#define FP_REGNUM   27
++#define SP_REGNUM   28
++#define RA_REGNUM   29
++
++#define G_REG_P(X)      ((X)<32)
++#define PSEUDO_REG_P(X) ((X)>=FIRST_PSEUDO_REGISTER)
++
++#define FIXED_REGISTERS   \
++{ 1, 0, 0, 0, 0, 0, 0, 0, \
++  0, 0, 0, 0, 0, 0, 0, 0, \
++  0, 0, 0, 0, 0, 0, 0, 0, \
++  0, 0, 1, 0, 1, 0, 1, 1}
++
++#define CALL_USED_REGISTERS \
++{ 1, 1, 1, 1, 1, 1, 1, 1,   \
++  1, 1, 1, 0, 0, 0, 0, 0,   \
++  0, 0, 0, 0, 0, 0, 0, 0,   \
++  0, 0, 1, 0, 1, 0, 1, 1}
++<span style="background-color: #FF0000">  </span>
++#define HARD_REGNO_NREGS(REGNO, MODE)                                   \
++    ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1) / UNITS_PER_WORD)<span style="background-color: #FF0000">      </span>
++
++#define HARD_REGNO_MODE_OK(REGNO, MODE) G_REG_P(REGNO)
++
++#define MODES_TIEABLE_P(MODE1, MODE2)           \
++(      GET_MODE_CLASS (MODE1) == MODE_INT             \
++    && GET_MODE_CLASS (MODE2) == MODE_INT             \
++    && GET_MODE_SIZE (MODE1) <= UNITS_PER_WORD     \
++    && GET_MODE_SIZE (MODE2) <= UNITS_PER_WORD)
++
++#define AVOID_CCMODE_COPIES
++
++/*----------------------------------*/
++/* Register classes and constants.  */
++/*----------------------------------*/
++
++enum reg_class {
++  NO_REGS,<span style="background-color: #FF0000"> </span>
++  GENERAL_REGS,
++  ALL_REGS,
++  LIM_REG_CLASSES
++};
++
++#define N_REG_CLASSES (int) LIM_REG_CLASSES
++
++#define REG_CLASS_NAMES { "NO_REGS", "GENERAL_REGS", "ALL_REGS" }
++
++#define REG_CLASS_CONTENTS      \
++{ {0x00000000},                 \
++  {0xffffffff},                 \
++  {0xffffffff}                  \
++}
++
++#define REGNO_REG_CLASS(REGNO) \
++    (G_REG_P(REGNO) ? GENERAL_REGS : NO_REGS)
++<span style="background-color: #FF0000">    </span>
++#define CLASS_MAX_NREGS(CLASS, MODE) \
++    ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1) / UNITS_PER_WORD)<span style="background-color: #FF0000">      </span>
++<span style="background-color: #FF0000">    </span>
++#define INDEX_REG_CLASS NO_REGS
++
++#define BASE_REG_CLASS GENERAL_REGS
++
++#define REG_CLASS_FROM_LETTER(C) NO_REGS
++
++#ifdef REG_OK_STRICT
++#define REGNO_OK_FOR_BASE_P(REGNO)<span style="background-color: #FF0000"> </span>                                      \
++(G_REG_P (REGNO) || G_REG_P (reg_renumber[REGNO]))
++#else
++#define REGNO_OK_FOR_BASE_P(REGNO)<span style="background-color: #FF0000"> </span>                                      \
++(G_REG_P (REGNO) || PSEUDO_REG_P (REGNO))
++#endif
++
++#define REGNO_OK_FOR_INDEX_P(REGNO) 0
++
++#define PREFERRED_RELOAD_CLASS(X,CLASS) (CLASS)
++
++/* The letters I, J, K, L, M, N, O, P in a register constraint string
++   can be used to stand for particular ranges of immediate operands.
++   This macro defines what the ranges are.
++   C is the letter, and VALUE is a constant value.
++   Return 1 if VALUE is in the range specified by C.<span style="background-color: #FF0000">  </span>
++<span style="background-color: #FF0000">   </span>
++   Lattice usage:
++<span style="background-color: #FF0000">   </span>
++   J - 0
++   K - 16-bit signed
++   L - 16-bit unsigned
++   M - 32-bit signed<span style="background-color: #FF0000"> </span>
++   */
++#define MEDIUM_INT(X)  ((((HOST_WIDE_INT)(X)) >= -32768) && (((HOST_WIDE_INT)(X)) < 32768))
++#define MEDIUM_UINT(X) (((unsigned HOST_WIDE_INT)(X)) < 65536)
++#define LARGE_INT(X)                                    \
++((X) >= (-(HOST_WIDE_INT) 0x7fffffff - 1)               \
++ && (X) <= (unsigned HOST_WIDE_INT) 0xffffffff)
++<span style="background-color: #FF0000"> </span>
++#define CONST_OK_FOR_LETTER_P(VALUE, C)                 \
++(  (C) == 'J' ? (VALUE) == 0                            \
++ : (C) == 'K' ? MEDIUM_INT (VALUE)                      \
++ : (C) == 'L' ? MEDIUM_UINT (VALUE)                     \
++ : (C) == 'M' ? LARGE_INT (VALUE)                       \
++ : 0                                                    \
++)
++
++#define CONST_DOUBLE_OK_FOR_LETTER_P(VALUE, C)  0
++
++/*----------------------------------------*/
++/* Stack Layout and Calling Conventions.  */
++/*----------------------------------------*/
++
++#define STACK_GROWS_DOWNWARD 1
++
++#define FRAME_GROWS_DOWNWARD 1
++
++#define STACK_POINTER_OFFSET (UNITS_PER_WORD)
++
++#define STARTING_FRAME_OFFSET (UNITS_PER_WORD)
++
++#define FIRST_PARM_OFFSET(FNDECL) (UNITS_PER_WORD)
++
++#define STACK_POINTER_REGNUM SP_REGNUM
++
++#define FRAME_POINTER_REGNUM FP_REGNUM
++
++#define ARG_POINTER_REGNUM FRAME_POINTER_REGNUM
++
++#define FRAME_POINTER_REQUIRED (cfun->calls_alloca)<span style="background-color: #FF0000"> </span>
++
++#define RETURN_ADDR_RTX(count, frame)                               \
++  lm32_return_addr_rtx (count, frame)
++
++/* FIXME! */
++#define STATIC_CHAIN_REGNUM 3
++
++#define ELIMINABLE_REGS \
++{{ FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM },        \
++ { ARG_POINTER_REGNUM, STACK_POINTER_REGNUM },          \
++}
++
++#define CAN_ELIMINATE(FROM, TO)                                                   \
++   (((TO) == STACK_POINTER_REGNUM && frame_pointer_needed) ? 0 : 1)
++
++#define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET)    \
++  (OFFSET) = lm32_compute_initial_elimination_offset (FROM, TO)
++
++/*-----------------------------*/
++/* Function argument passing.  */
++/*-----------------------------*/
++
++#define ACCUMULATE_OUTGOING_ARGS 1
++
++#define RETURN_POPS_ARGS(DECL, FUNTYPE, SIZE) 0
++
++/*--------------------------------*/
++/* Passing Arguments in Registers */
++/*--------------------------------*/
++
++/* The first argument register */
++#define LM32_FIRST_ARG_REG 1
++
++/* The number of (integer) argument register available.  */
++#define LM32_NUM_ARG_REGS 8
++
++#define FUNCTION_ARG(CUM, MODE, TYPE, NAMED) \
++  lm32_function_arg ((CUM), (MODE), (TYPE), (NAMED))
++
++#define CUMULATIVE_ARGS int
++
++#define INIT_CUMULATIVE_ARGS(CUM,FNTYPE,LIBNAME,INDIRECT,N_NAMED_ARGS) \
++  (CUM) = 0
++
++#define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \
++  (CUM) += LM32_NUM_REGS2 (MODE, TYPE)
++
++#define FUNCTION_ARG_REGNO_P(r)       (((r) >= 1) && ((r) <= LM32_NUM_ARG_REGS))
++
++/*--------------------*/
++/* Function results.  */
++/*--------------------*/
++
++#define FUNCTION_VALUE(VALTYPE, FUNC)                                   \
++   gen_rtx_REG ((INTEGRAL_TYPE_P (VALTYPE)                              \
++                 && TYPE_PRECISION (VALTYPE) < BITS_PER_WORD)           \
++                  ? word_mode                                         \
++                  : TYPE_MODE (VALTYPE),                                                  \
++                  RV_REGNUM)
++
++#define LIBCALL_VALUE(MODE) gen_rtx_REG (MODE, RV_REGNUM)
++
++#define FUNCTION_VALUE_REGNO_P(N) ((N) == RV_REGNUM)
++
++#define RETURN_IN_MEMORY(TYPE) lm32_return_in_memory (TYPE)
++
++#define DEFAULT_PCC_STRUCT_RETURN 0
++
++/* Convert from bytes to ints.  */
++#define LM32_NUM_INTS(X) (((X) + UNITS_PER_WORD - 1) / UNITS_PER_WORD)
++
++/* The number of (integer) registers required to hold a quantity of
++   type MODE.  */
++#define LM32_NUM_REGS(MODE) LM32_NUM_INTS (GET_MODE_SIZE (MODE))
++
++/* The number of (integer) registers required to hold a quantity of
++   TYPE MODE.  */
++#define LM32_NUM_REGS2(MODE, TYPE)                       \
++  LM32_NUM_INTS ((MODE) == BLKmode ?                     \
++  int_size_in_bytes (TYPE) : GET_MODE_SIZE (MODE))
++
++#define STRUCT_VALUE 0
++
++/*---------------------------*/
++/* Function entry and exit.  */
++/*---------------------------*/
++
++/*-------------*/
++/* Profiling.  */
++/*-------------*/
++
++#define FUNCTION_PROFILER(FILE, LABELNO)
++
++/*---------------*/
++/* Trampolines.  */
++/*---------------*/
++
++#define INITIALIZE_TRAMPOLINE<span style="background-color: #FF0000"> </span>
++#define TRAMPOLINE_SIZE               0
++
++/*---------------------*/<span style="background-color: #FF0000"> </span>
++/*  Addressing Modes.  */
++/*---------------------*/<span style="background-color: #FF0000"> </span>
++
++#define CONSTANT_ADDRESS_P(X)                                         \
++  ((GET_CODE (X) == LABEL_REF || GET_CODE (X) == SYMBOL_REF           \
++    || GET_CODE (X) == CONST_INT || GET_CODE (X) == HIGH              \
++    || (GET_CODE (X) == CONST)))
++
++#define MAX_REGS_PER_ADDRESS 1
++
++#ifdef REG_OK_STRICT
++#define REG_OK_FOR_FRAME_PTR_P(X) (REGNO (X) == FRAME_POINTER_REGNUM)
++#else
++#define REG_OK_FOR_FRAME_PTR_P(X) (REGNO (X) == FRAME_POINTER_REGNUM)
++#endif
++
++#define RTX_OK_FOR_BASE_P(X)                    (REG_P (X) && REG_OK_FOR_BASE_P (X))
++#define RTX_OK_FOR_STACK_P(X)                   (REG_P (X) && (REGNO (X) == STACK_POINTER_REGNUM))
++#define CONST_OK_FOR_BASE_OFFSET(X, MODE)       const_ok_for_base_offset ((X), (MODE))
++<span style="background-color: #FF0000">               </span>
++#define LEGITIMATE_BASE_INDEX_P(ADDR, MODE)                     \
++(   GET_CODE (ADDR)==PLUS                                       \
++ && RTX_OK_FOR_BASE_P (XEXP (ADDR, 0))                          \
++ && GET_CODE (XEXP (ADDR, 1)) == CONST_INT                      \
++ && CONST_OK_FOR_BASE_OFFSET (XEXP ((ADDR), 1), (MODE)))<span style="background-color: #FF0000">        </span>
++
++#define LEGITIMATE_GPREL_P(ADDR)                                \
++(   GET_CODE (ADDR) == SYMBOL_REF                               \
++ && SYMBOL_REF_SMALL_P (ADDR))
++<span style="background-color: #FF0000"> </span>
++#ifdef REG_OK_STRICT
++#define REG_OK_FOR_BASE_P(X) (G_REG_P (REGNO (X)))
++#else
++#define REG_OK_FOR_BASE_P(X) (G_REG_P (REGNO (X)) || PSEUDO_REG_P (REGNO (X)))
++#endif
++
++#ifdef REG_OK_STRICT
++#define REG_OK_FOR_INDEX_P(X) (G_REG_P (REGNO (X)))
++#else
++#define REG_OK_FOR_INDEX_P(X) (G_REG_P (REGNO (X)) || PSEUDO_REG_P (REGNO (X)))
++#endif
++
++#define GO_IF_LEGITIMATE_ADDRESS(m,x,l)                                                                                                    \
++{                                                                                                                                    \
++  if (RTX_OK_FOR_BASE_P (x)) goto l;                            /* (rM) */                                                      \
++  else if (LEGITIMATE_BASE_INDEX_P (x, m)) goto l;              /* (rM)+literal) */                                            \
++  else if (LEGITIMATE_GPREL_P (x)) goto l;                                                                                      \
++}
++
++#define ARM_LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN)         \
++do {                                                       \
++  if (flag_pic)                                              \
++    X = lm32_legitimize_pic_address (OLDX, MODE, NULL_RTX);  \
++} while (0)
++
++#define GO_IF_MODE_DEPENDENT_ADDRESS(ADDR, LABEL)<span style="background-color: #FF0000"> </span>                       \
++  if (GET_CODE (ADDR) == PLUS) goto LABEL;            <span style="background-color: #FF0000">      </span>             \
++
++#define LEGITIMATE_CONSTANT_P(X) 1
++
++/*-------------------------*/
++/* Condition Code Status.  */
++/*-------------------------*/
++
++#define REVERSIBLE_CC_MODE(MODE) 1
++
++/*---------*/
++/* Costs.  */
++/*---------*/
++
++#define SLOW_BYTE_ACCESS 1
++
++#define NO_FUNCTION_CSE
++
++#define BRANCH_COST(speed_p, predictable_p) 4
++
++#define MOVE_RATIO(speed) (speed ? 24 : 3)
++
++/*------------*/
++/* Sections.  */
++/*------------*/
++
++#define TEXT_SECTION_ASM_OP             "\t.section\t.text"
++#define DATA_SECTION_ASM_OP             "\t.section\t.data"
++#define SDATA_SECTION_ASM_OP            "\t.section\t.sdata,\"aw\""
++#define BSS_SECTION_ASM_OP              "\t.section\t.bss"
++#define SBSS_SECTION_ASM_OP             "\t.section\t.sbss,\"aw\""
++
++/*-------*/
++/* PIC.  */
++/*-------*/
++
++#define PIC_OFFSET_TABLE_REGNUM (flag_pic ? GP_REGNUM : INVALID_REGNUM)
++
++#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
++
++#define LEGITIMATE_PIC_OPERAND_P(X)                                    \
++      (!(nonpic_symbol_mentioned_p (X)))
++
++/*-------------*/
++/* Assembler.  */
++/*-------------*/
++
++#define ASM_COMMENT_START "#"
++
++#define ASM_APP_ON "#APP\n"
++
++#define ASM_APP_OFF "#NO_APP\n"
++
++#define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2)                            \
++ do {                                                                 \
++      fputc ( '\t', FILE);                                            \
++      assemble_name (FILE, LABEL1);                                   \
++      fputs ( " = ", FILE);                                         \
++      assemble_name (FILE, LABEL2);                                   \
++      fputc ( '\n', FILE);                                            \
++ } while (0)
++
++/* Override default implementation in elfos.h to support -G.  */
++#undef  ASM_OUTPUT_ALIGNED_LOCAL
++#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN)             \
++do {                                                                  \
++  if ((SIZE) <= g_switch_value)                                            \
++    switch_to_section (sbss_section);                                 \
++  else                                                                        \
++    switch_to_section (bss_section);                                  \
++  ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object");                 \
++  if (!flag_inhibit_size_directive)                                   \
++    ASM_OUTPUT_SIZE_DIRECTIVE (FILE, NAME, SIZE);                     \
++  ASM_OUTPUT_ALIGN ((FILE), exact_log2((ALIGN) / BITS_PER_UNIT));     \
++  ASM_OUTPUT_LABEL(FILE, NAME);                                               \
++  ASM_OUTPUT_SKIP((FILE), (SIZE) ? (SIZE) : 1);                               \
++} while (0)
++
++/* Override default implementation in elfos.h to support -G.  */
++#undef  ASM_OUTPUT_ALIGNED_COMMON
++#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN)            \
++do<span style="background-color: #FF0000"> </span>                                                                      \
++{                                                                     \
++  if ((SIZE) <= g_switch_value)                                            \
++    {                                                                 \
++      switch_to_section (sbss_section);                                       \
++      (*targetm.asm_out.globalize_label) (FILE, NAME);                        \
++      ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object");                     \
++      if (!flag_inhibit_size_directive)                                       \
++      ASM_OUTPUT_SIZE_DIRECTIVE (FILE, NAME, SIZE);                   \
++      ASM_OUTPUT_ALIGN ((FILE), exact_log2((ALIGN) / BITS_PER_UNIT)); \
++      ASM_OUTPUT_LABEL(FILE, NAME);                                   \
++      ASM_OUTPUT_SKIP((FILE), (SIZE) ? (SIZE) : 1);                   \
++    }                                                                 \
++  else                                                                        \
++    {                                                                 \
++      switch_to_section (bss_section);                                        \
++      fprintf ((FILE), "%s", COMMON_ASM_OP);                                \
++      assemble_name ((FILE), (NAME));                                 \
++      fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", (SIZE), (ALIGN) / BITS_PER_UNIT);  \
++    }                                                                 \
++}                                                                     \
++while (0)
++
++#define ASM_OUTPUT_LABEL(FILE, NAME) \
++  do { assemble_name (FILE, NAME); fputs (":\n", FILE); } while (0)
++
++#define ASM_OUTPUT_LABELREF(FILE,NAME)        \
++  do {                                        \
++    const char *xname = (NAME);               \
++    if (xname[0] == '@')              \
++      xname += 1;                     \
++    if (xname[0] == '*')              \
++      xname += 1;                     \
++    fputs (xname, FILE);              \
++  } while (0)
++
++#define ASM_OUTPUT_SYMBOL_REF(STREAM, SYMBOL)                         \
++  do {                                                                                            \
++    assemble_name (STREAM, XSTR (SYMBOL, 0));                         \
++  } while (0)
++
++#define GLOBAL_ASM_OP "\t.global\t"
++
++#define REGISTER_NAMES<span style="background-color: #FF0000"> </span>                                   \
++{                                                        \
++ "r0",  "r1",  "r2",  "r3",  "r4",  "r5",  "r6",  "r7",        \
++ "r8",  "r9",  "r10", "r11", "r12", "r13", "r14", "r15", \
++ "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", \
++ "r24", "r25",  "gp",  "fp",  "sp",  "ra",  "ea",  "ba"}
++
++#define PRINT_OPERAND_PUNCT_VALID_P(CHAR) \
++  (((CHAR) == '&') || ((CHAR) == '@') || ((CHAR) == '*'))
++
++#define PRINT_OPERAND(FILE, X, CODE)                    \
++  lm32_print_operand (FILE, X, CODE)
++
++#define PRINT_OPERAND_ADDRESS(FILE, ADDR)<span style="background-color: #FF0000"> </span>                               \
++  lm32_print_operand_address (FILE, ADDR)
++
++#ifndef LOCAL_LABEL_PREFIX
++#define LOCAL_LABEL_PREFIX    "."
++#endif
++
++#define ASM_OUTPUT_ALIGN(FILE,LOG)<span style="background-color: #FF0000"> </span>                                      \
++  do { if ((LOG) != 0) fprintf (FILE, "\t.align %d\n", (1 << (LOG))); } while (0)
++
++#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE)                    \
++do {                                                            \
++  char label[64];                                               \
++  ASM_GENERATE_INTERNAL_LABEL (label, "L", VALUE);              \
++  fprintf (FILE, "\n\t.word\t");                                \
++  assemble_name (FILE, label);                                  \
++  fprintf (FILE, "\n");                                         \
++} while (0)
++
++#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL)        \
++do {                                                            \
++  char label[64];                                               \
++  fprintf (FILE, "\t.word\t(");                                 \
++  ASM_GENERATE_INTERNAL_LABEL (label, "L", VALUE);          \
++  assemble_name (FILE, label);                                  \
++  fprintf (FILE, "-");                                          \
++  ASM_GENERATE_INTERNAL_LABEL (label, "L", REL);                \
++  assemble_name (FILE, label);                                  \
++  fprintf (FILE, ")\n");                                        \
++} while (0)
++
++/*-------------*/
++/* Debugging.  */
++/*-------------*/
++
++#define DBX_REGISTER_NUMBER(REGNO) (REGNO)<span style="background-color: #FF0000"> </span>
++
++#define CAN_DEBUG_WITHOUT_FP
++<span style="background-color: #FF0000">     </span>
++#define DEFAULT_GDB_EXTENSIONS 1
++
++/*--------*/
++/* Misc.  */
++/*--------*/
++
++#define CASE_VECTOR_MODE Pmode
++
++#define WORD_REGISTER_OPERATIONS
++
++#define LOAD_EXTEND_OP(MODE) ZERO_EXTEND
++
++#define SHORT_IMMEDIATES_SIGN_EXTEND
++
++#define MOVE_MAX        UNITS_PER_WORD
++#define MAX_MOVE_MAX    4
++
++#define SHIFT_COUNT_TRUNCATED 1
++
++#define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1
++
++#define Pmode SImode
++
++#define FUNCTION_MODE SImode
++
++#ifndef NO_IMPLICIT_EXTERN_C
++#define NO_IMPLICIT_EXTERN_C
++#endif
++
++#define STORE_FLAG_VALUE 1
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/lm32.md gcc-4.4.5/gcc/config/lm32/lm32.md
+--- gcc-4.4.5.orig/gcc/config/lm32/lm32.md     1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/lm32.md  2010-10-03 19:22:15.406316330 +0200
+@@ -0,0 +1,1233 @@
++;; Machine description of the Lattice Mico32 architecture for GNU C compiler.
++;; Contributed by Jon Beniston <jon@beniston.com>
++
++;; This file is part of GCC.
++
++;; GCC is free software; you can redistribute it and/or modify it
++;; under the terms of the GNU General Public License as published
++;; by the Free Software Foundation; either version 3, or (at your
++;; option) any later version.
++
++;; GCC is distributed in the hope that it will be useful, but WITHOUT
++;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++;; License for more details.
++
++;; You should have received a copy of the GNU General Public License
++;; along with GCC; see the file COPYING3.  If not see
++;; <http://www.gnu.org/licenses/>.<span style="background-color: #FF0000">  </span>
++
++;; Include predicate definitions
++(include "predicates.md")
++
++;; Register numbers
++(define_constants
++  [(RA_REGNUM           29)           ; return address register.
++  ]
++)
++
++;; LM32 specific volatile operations
++(define_constants
++  [(UNSPECV_BLOCKAGE    1)]     ; use to prevent scheduler from optimising accross bounaries
++)
++
++;; LM32 specific operations
++(define_constants
++  [(UNSPEC_GOT          2)
++   (UNSPEC_GOTOFF_HI16  3)
++   (UNSPEC_GOTOFF_LO16  4)]<span style="background-color: #FF0000">     </span>
++)
++
++;; ---------------------------------<span style="background-color: #FF0000"> </span>
++;;      instruction types
++;; ---------------------------------
++
++(define_attr "type"
++  "unknown,load,store,arith,compare,shift,multiply,divide,call,icall,ubranch,uibranch,cbranch"
++  (const_string "unknown"))
++<span style="background-color: #FF0000">  </span>
++;; ---------------------------------
++;;      instruction lengths
++;; ---------------------------------
++<span style="background-color: #FF0000">  </span>
++; All instructions are 4 bytes
++; Except for branches that are out of range, and have to be implemented
++; as two instructions
++(define_attr "length" ""<span style="background-color: #FF0000"> </span>
++        (cond [
++                (eq_attr "type" "cbranch")
++                (if_then_else
++                        (lt (abs (minus (match_dup 2) (pc)))
++                                (const_int 32768)
++                        )
++                        (const_int 4)
++                        (const_int 8)<span style="background-color: #FF0000">               </span>
++                )
++              ]<span style="background-color: #FF0000"> </span>
++        (const_int 4))
++)
++<span style="background-color: #FF0000">                    </span>
++;; ---------------------------------
++;;           scheduling<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_automaton "lm32")
++
++(define_cpu_unit "x" "lm32")
++(define_cpu_unit "m" "lm32")
++(define_cpu_unit "w" "lm32")
++
++(define_insn_reservation "singlecycle" 1
++  (eq_attr "type" "store,arith,call,icall,ubranch,uibranch,cbranch")
++ "x")
++
++(define_insn_reservation "twocycle" 2
++  (eq_attr "type" "compare,shift,divide")
++ "x,m")<span style="background-color: #FF0000"> </span>
++
++(define_insn_reservation "threecycle" 3
++  (eq_attr "type" "load,multiply")
++ "x,m,w")
++
++;; ---------------------------------
++;;               mov<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_expand "movqi"
++  [(set (match_operand:QI 0 "general_operand" "")
++        (match_operand:QI 1 "general_operand" ""))]
++  ""
++  "
++{
++  if (can_create_pseudo_p ())
++    {
++      if (GET_CODE (operand0) == MEM)
++        {
++          /* Source operand for store must be in a register */
++          operands[1] = force_reg (QImode, operands[1]);
++        }
++    }
++  if (   GET_CODE (operands[1]) == CONST_INT<span style="background-color: #FF0000"> </span>
++      && GET_CODE (operands[0]) == REG)
++    {
++      operands[0] = gen_rtx_SUBREG (SImode, operands[0], 0);
++      emit_insn (gen_movsi (operands[0], operands[1]));
++      DONE;
++    }
++}")
++
++(define_expand "movhi"
++  [(set (match_operand:HI 0 "general_operand" "")
++        (match_operand:HI 1 "general_operand" ""))]
++  ""
++  "
++{
++  if (can_create_pseudo_p ())
++    {
++      if (GET_CODE (operands[0]) == MEM)
++        {
++          /* Source operand for store must be in a register */
++          operands[1] = force_reg (HImode, operands[1]);
++        }
++    }
++  if (GET_CODE (operands[1]) == CONST_INT)
++    {
++      operands[0] = gen_rtx_SUBREG (SImode, operands[0], 0);<span style="background-color: #FF0000">          </span>
++      if (MEDIUM_INT (INTVAL (operands[1])))<span style="background-color: #FF0000">      </span>
++        emit_insn (gen_movsi_kimm (operands[0], operands[1]));
++      else if (MEDIUM_UINT (INTVAL (operands[1])))<span style="background-color: #FF0000">   </span>
++        emit_insn (gen_movsi_limm (operands[0], operands[1]));
++      else
++        {
++          emit_insn (gen_movsi_imm_hi (operands[0], GEN_INT (INTVAL (operands[1]))));
++          emit_insn (gen_movsi_imm_lo (operands[0], operands[0], GEN_INT (INTVAL (operands[1]))));
++        }
++      DONE;
++    }
++}")
++
++(define_expand "movsi"
++  [(set (match_operand:SI 0 "general_operand" "")
++        (match_operand:SI 1 "general_operand" ""))]
++  ""
++  "
++{
++  if (can_create_pseudo_p ())
++    {
++      if (GET_CODE (operands[0]) == MEM<span style="background-color: #FF0000"> </span>
++        || (GET_CODE (operands[0]) == SUBREG<span style="background-color: #FF0000"> </span>
++            && GET_CODE (SUBREG_REG (operands[0])) == MEM))
++        {
++          /* Source operand for store must be in a register */
++          operands[1] = force_reg (SImode, operands[1]);
++        }
++    }
++
++  if (flag_pic && symbolic_operand (operands[1], SImode))<span style="background-color: #FF0000"> </span>
++    {
++      if (GET_CODE (operands[1]) == LABEL_REF
++          || (GET_CODE (operands[1]) == SYMBOL_REF<span style="background-color: #FF0000"> </span>
++              && SYMBOL_REF_LOCAL_P (operands[1])
++              && !SYMBOL_REF_WEAK (operands[1])))
++        {
++          emit_insn (gen_movsi_gotoff_hi16 (operands[0], operands[1]));
++          emit_insn (gen_addsi3 (operands[0], operands[0], pic_offset_table_rtx));
++          emit_insn (gen_movsi_gotoff_lo16 (operands[0], operands[0], operands[1]));
++        }<span style="background-color: #FF0000"> </span>
++      else<span style="background-color: #FF0000"> </span>
++        {
++          emit_insn (gen_movsi_got (operands[0], operands[1]));
++        }
++      crtl->uses_pic_offset_table = 1;
++      DONE;
++    }
++  else if (flag_pic && GET_CODE (operands[1]) == CONST)<span style="background-color: #FF0000"> </span>
++    {
++      rtx op = XEXP (operands[1], 0);
++      if (GET_CODE (op) == PLUS)
++        {
++          rtx arg0 = XEXP (op, 0);
++          rtx arg1 = XEXP (op, 1);
++          if (GET_CODE (arg0) == LABEL_REF
++              || (GET_CODE (arg0) == SYMBOL_REF<span style="background-color: #FF0000"> </span>
++                  && SYMBOL_REF_LOCAL_P (arg0)
++                  && !SYMBOL_REF_WEAK (arg0)))
++            {
++              emit_insn (gen_movsi_gotoff_hi16 (operands[0], arg0));
++              emit_insn (gen_addsi3 (operands[0], operands[0], pic_offset_table_rtx));
++              emit_insn (gen_movsi_gotoff_lo16 (operands[0], operands[0], arg0));
++            }<span style="background-color: #FF0000"> </span>
++          else<span style="background-color: #FF0000"> </span>
++            {
++              emit_insn (gen_movsi_got (operands[0], arg0));
++            }
++          emit_insn (gen_addsi3 (operands[0], operands[0], arg1));
++          crtl->uses_pic_offset_table = 1;
++          DONE;
++        }<span style="background-color: #FF0000">     </span>
++    }
++  else if (!flag_pic && (   GET_CODE (operands[1]) == SYMBOL_REF
++                         && SYMBOL_REF_SMALL_P (operands[1])
++                        )<span style="background-color: #FF0000"> </span>
++          )<span style="background-color: #FF0000"> </span>
++    {
++      emit_insn (gen_movsi_reloc_gprel (operands[0], operands[1]));
++      DONE;
++    }
++  else if (!flag_pic && (   GET_CODE (operands[1]) == LABEL_REF
++                         || GET_CODE (operands[1]) == SYMBOL_REF
++                         || GET_CODE (operands[1]) == CONST<span style="background-color: #FF0000">                         </span>
++                        )
++          )
++    {
++      emit_insn (gen_movsi_reloc_hi (operands[0], operands[1]));
++      emit_insn (gen_movsi_reloc_lo (operands[0], operands[0], operands[1]));
++      DONE;
++    }
++  else if (GET_CODE (operands[1]) == CONST_INT)
++    {
++      if (MEDIUM_INT (INTVAL (operands[1])))<span style="background-color: #FF0000">      </span>
++        emit_insn (gen_movsi_kimm (operands[0], operands[1]));
++      else if (MEDIUM_UINT (INTVAL (operands[1])))<span style="background-color: #FF0000">   </span>
++        emit_insn (gen_movsi_limm (operands[0], operands[1]));
++      else
++        {
++          emit_insn (gen_movsi_imm_hi (operands[0], GEN_INT (INTVAL (operands[1]))));
++          emit_insn (gen_movsi_imm_lo (operands[0], operands[0], GEN_INT (INTVAL (operands[1]))));
++        }
++      DONE;
++    }<span style="background-color: #FF0000">    </span>
++}")
++
++;;(define_expand "movmemsi"
++;;  [(parallel [(set (match_operand:BLK 0 "general_operand" "")
++;;               (match_operand:BLK 1 "general_operand" ""))
++;;          (use (match_operand:SI 2 "" ""))
++;;          (use (match_operand:SI 3 "const_int_operand" ""))])]
++;;  ""
++;;{
++;;  if (!lm32_expand_block_move (operands))
++;;    FAIL;
++;;  DONE;
++;;})
++
++;; ---------------------------------
++;;        load/stores/moves<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_insn "movsi_kimm"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (match_operand:SI 1 "constant_K_operand" "K"))]
++  ""
++  "addi     %0, r0, %1"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "movsi_limm"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (match_operand:SI 1 "constant_L_operand" "L"))]
++  ""
++  "ori      %0, r0, %1"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "movsi_imm_hi"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (high:SI (match_operand:SI 1 "immediate_operand" "i")))]
++  ""
++  "orhi     %0, r0, hi(%1)"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "movsi_imm_lo"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (lo_sum:SI (match_operand:SI 1 "register_operand" "0")
++                   (match_operand:SI 2 "immediate_operand" "i")))]
++  ""
++  "ori      %0, %0, lo(%2)"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "movsi_reloc_gprel"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (match_operand:SI 1 "reloc_operand" "i"))]
++  "GET_CODE (operands[1]) == SYMBOL_REF && SYMBOL_REF_SMALL_P (operands[1])"
++  "mva      %0, gp(%1)"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "movsi_got"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (unspec:SI [(match_operand 1 "" "")] UNSPEC_GOT))]
++  "flag_pic"
++  "lw       %0, (gp+got(%1))"
++  [(set_attr "type" "load")]
++)
++
++(define_insn "movsi_gotoff_hi16"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (unspec:SI [(match_operand 1 "" "")] UNSPEC_GOTOFF_HI16))]
++  "flag_pic"
++  "orhi     %0, r0, gotoffhi16(%1)"
++  [(set_attr "type" "load")]
++)
++
++(define_insn "movsi_gotoff_lo16"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (unspec:SI [(plus:SI (match_operand:SI 1 "register_operand" "0")
++                             (match_operand 2 "" ""))] UNSPEC_GOTOFF_LO16))]<span style="background-color: #FF0000">        </span>
++  "flag_pic"
++  "addi     %0, %1, gotofflo16(%2)"
++  [(set_attr "type" "arith")]
++)
++<span style="background-color: #FF0000">  </span>
++(define_insn "movsi_reloc_hi"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (high:SI (match_operand:SI 1 "reloc_operand" "i")))]
++  "!flag_pic"
++  "orhi     %0, r0, hi(%1)"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "movsi_reloc_lo"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (lo_sum:SI (match_operand:SI 1 "register_operand" "0")
++                   (match_operand:SI 2 "reloc_operand" "i")))]
++  "!flag_pic"
++  "ori      %0, %0, lo(%2)"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "*movqi_insn"
++  [(set (match_operand:QI 0 "register_or_memory_operand" "=r,r,m")
++        (match_operand:QI 1 "register_or_memory_operand" "m,r,r"))]
++  ""
++  "@
++   lbu      %0, %1
++   or       %0, %1, r0
++   sb       %0, %1"
++  [(set_attr "type" "load,arith,store")]<span style="background-color: #FF0000">   </span>
++)
++<span style="background-color: #FF0000">   </span>
++(define_insn "*movhi_insn"
++  [(set (match_operand:HI 0 "register_or_memory_operand" "=r,r,m")
++        (match_operand:HI 1 "register_or_memory_operand" "m,r,r"))]
++  ""
++  "@
++   lhu      %0, %1
++   or       %0, %1, r0
++   sh       %0, %1"
++  [(set_attr "type" "load,arith,store")]<span style="background-color: #FF0000">   </span>
++)
++
++(define_insn "*movsi_insn"
++  [(set (match_operand:SI 0 "register_or_memory_operand" "=r,r,m")
++        (match_operand:SI 1 "register_or_memory_operand" "m,r,r"))]
++  ""
++  "@
++   lw       %0, %1
++   or       %0, %1, r0
++   sw       %0, %1"
++  [(set_attr "type" "load,arith,store")]<span style="background-color: #FF0000">   </span>
++)
++
++;; ---------------------------------
++;;      sign and zero extension<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_insn "*extendqihi2"
++  [(set (match_operand:HI 0 "register_operand" "=r,r")
++        (sign_extend:HI (match_operand:QI 1 "register_or_memory_operand" "m,r")))]
++  "TARGET_SIGN_EXTEND_ENABLED || (GET_CODE (operands[1]) != REG)"
++  "@
++   lb       %0, %1
++   sextb    %0, %1"
++  [(set_attr "type" "load,arith")]
++)
++
++(define_insn "zero_extendqihi2"
++  [(set (match_operand:HI 0 "register_operand" "=r,r")
++        (zero_extend:HI (match_operand:QI 1 "register_or_memory_operand" "m,r")))]
++  ""
++  "@
++   lbu      %0, %1
++   andi     %0, %1, 0xff"
++  [(set_attr "type" "load,arith")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "*extendqisi2"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (sign_extend:SI (match_operand:QI 1 "register_or_memory_operand" "m,r")))]
++  "TARGET_SIGN_EXTEND_ENABLED || (GET_CODE (operands[1]) != REG)"
++  "@
++   lb       %0, %1
++   sextb    %0, %1"
++  [(set_attr "type" "load,arith")]
++)
++
++(define_insn "zero_extendqisi2"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++          (zero_extend:SI (match_operand:QI 1 "register_or_memory_operand" "m,r")))]
++  ""
++  "@
++   lbu      %0, %1
++   andi     %0, %1, 0xff"
++  [(set_attr "type" "load,arith")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "*extendhisi2"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (sign_extend:SI (match_operand:HI 1 "register_or_memory_operand" "m,r")))]
++  "TARGET_SIGN_EXTEND_ENABLED || (GET_CODE (operands[1]) != REG)"
++  "@
++   lh       %0, %1
++   sexth    %0, %1"
++  [(set_attr "type" "load,arith")]
++)
++
++(define_insn "zero_extendhisi2"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (zero_extend:SI (match_operand:HI 1 "register_or_memory_operand" "m,r")))]
++  ""
++  "@
++   lhu      %0, %1
++   andi     %0, %1, 0xffff"
++  [(set_attr "type" "load,arith")]<span style="background-color: #FF0000">  </span>
++)
++
++;; ---------------------------------
++;;             compare<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_expand "cmpsi"
++  [(set (cc0)
++   (compare:CC (match_operand:SI 0 "register_operand" "")
++               (match_operand:SI 1 "register_or_K_operand" "")))]
++  ""
++  "
++{
++  lm32_compare_op0 = operands[0];
++  lm32_compare_op1 = operands[1];
++  DONE;
++}")
++
++
++(define_expand "tstsi"
++  [(set (cc0)
++   (match_operand:SI 0 "register_operand" ""))]
++  ""
++  "
++{
++  lm32_compare_op0 = operands[0];
++  lm32_compare_op1 = const0_rtx;
++  DONE;
++}")
++
++(define_expand "seq"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (eq:SI (match_dup 1)
++             (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (EQ, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_insn "*seq"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (eq:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++               (match_operand:SI 2 "register_or_K_operand" "r,K")))]
++  ""
++  "@
++   cmpe     %0, %z1, %2
++   cmpei    %0, %z1, %2"
++  [(set_attr "type" "compare")]
++)
++
++(define_expand "sne"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (ne:SI (match_dup 1)
++             (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (NE, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_insn "*sne"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (ne:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++               (match_operand:SI 2 "register_or_K_operand" "r,K")))]
++  ""
++  "@
++   cmpne    %0, %z1, %2
++   cmpnei   %0, %z1, %2"
++  [(set_attr "type" "compare")]
++)
++
++(define_expand "sgt"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (gt:SI (match_dup 1)
++             (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (GT, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_insn "*sgt"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (gt:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++               (match_operand:SI 2 "register_or_K_operand" "r,K")))]
++  ""
++  "@
++   cmpg     %0, %z1, %2
++   cmpgi    %0, %z1, %2"
++  [(set_attr "type" "compare")]
++)
++
++(define_expand "slt"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (lt:SI (match_dup 1)
++             (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (LT, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_expand "sge"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (ge:SI (match_dup 1)
++             (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (GE, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_insn "*sge"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (ge:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++               (match_operand:SI 2 "register_or_K_operand" "r,K")))]
++  ""
++  "@
++   cmpge    %0, %z1, %2
++   cmpgei   %0, %z1, %2"
++  [(set_attr "type" "compare")]
++)
++
++(define_expand "sle"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (le:SI (match_dup 1)
++             (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (LE, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_expand "sgtu"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (gtu:SI (match_dup 1)
++              (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (GTU, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_insn "*sgtu"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (gtu:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                (match_operand:SI 2 "register_or_K_operand" "r,L")))]
++  ""
++  "@
++   cmpgu    %0, %z1, %2
++   cmpgui   %0, %z1, %2"
++  [(set_attr "type" "compare")]
++)
++
++(define_expand "sltu"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (ltu:SI (match_dup 1)
++              (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (LTU, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_expand "sgeu"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (geu:SI (match_dup 1)
++              (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (GEU, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++(define_insn "*sgeu"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (geu:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                (match_operand:SI 2 "register_or_K_operand" "r,L")))]
++  ""
++  "@
++   cmpgeu   %0, %z1, %2
++   cmpgeui  %0, %z1, %2"
++  [(set_attr "type" "compare")]
++)
++
++(define_expand "sleu"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++      (leu:SI (match_dup 1)
++              (match_dup 2)))]
++  ""
++{
++  operands[1] = lm32_compare_op0;
++  operands[2] = lm32_compare_op1;
++  gen_int_relational (LEU, operands[0], operands[1], operands[2], NULL_RTX);
++  DONE;
++})
++
++;; ---------------------------------
++;;       unconditional branch
++;; ---------------------------------
++
++(define_insn "jump"
++  [(set (pc) (label_ref (match_operand 0 "" "")))]
++  ""
++  "bi       %0"
++  [(set_attr "type" "ubranch")]
++)
++
++(define_expand "indirect_jump"
++  [(set (pc) (match_operand 0 "register_operand" ""))]
++  ""
++  "
++{
++  emit_jump_insn (gen_indirect_jumpsi (operands[0]));
++  DONE;
++}")
++
++(define_insn "indirect_jumpsi"
++  [(set (pc) (match_operand:SI 0 "register_operand" "r"))]
++  ""
++  "b        %0"
++  [(set_attr "type" "uibranch")]
++)
++
++;; ---------------------------------
++;;        conditional branch
++;; ---------------------------------
++
++(define_expand "beq"
++  [(set (pc)
++   (if_then_else (eq:CC (cc0)
++                        (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000">   </span>
++  gen_int_relational (EQ, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bne"
++  [(set (pc)
++   (if_then_else (ne:CC (cc0)
++                        (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (NE, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bgt"
++  [(set (pc)
++   (if_then_else (gt:CC (cc0)
++                        (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (GT, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bge"
++  [(set (pc)
++   (if_then_else (ge:CC (cc0)
++                        (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (GE, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "ble"
++  [(set (pc)
++   (if_then_else (le:CC (cc0)
++                        (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (LE, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "blt"
++  [(set (pc)
++   (if_then_else (lt:CC (cc0)
++                        (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (LT, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bgtu"
++  [(set (pc)
++   (if_then_else (gtu:CC (cc0)
++                         (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (GTU, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bgeu"
++  [(set (pc)
++   (if_then_else (geu:CC (cc0)
++                         (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (GEU, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bleu"
++  [(set (pc)
++   (if_then_else (leu:CC (cc0)
++                         (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (LEU, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_expand "bltu"
++  [(set (pc)
++   (if_then_else (ltu:CC (cc0)
++                         (const_int 0))
++                 (label_ref (match_operand 0 "" ""))
++                 (pc)))]
++  ""
++  "
++{<span style="background-color: #FF0000"> </span>
++  gen_int_relational (LTU, NULL_RTX, lm32_compare_op0, lm32_compare_op1, operands[0]);
++  DONE;
++}")
++
++(define_insn "*beq"
++  [(set (pc)
++        (if_then_else (eq:SI (match_operand:SI 0 "register_or_zero_operand" "rJ")
++                             (match_operand:SI 1 "register_or_zero_operand" "rJ"))
++                      (label_ref (match_operand 2 "" ""))
++                      (pc)))]
++  ""
++{
++  return get_attr_length (insn) == 4
++        ? "be     %z0,%z1,%2"
++        : "bne    %z0,%z1,8\n\tbi     %2";
++}<span style="background-color: #FF0000">  </span>
++  [(set_attr "type" "cbranch")])
++
++(define_insn "*bne"
++  [(set (pc)
++        (if_then_else (ne:SI (match_operand:SI 0 "register_or_zero_operand" "rJ")
++                             (match_operand:SI 1 "register_or_zero_operand" "rJ"))
++                      (label_ref (match_operand 2 "" ""))
++                      (pc)))]
++  ""
++{
++  return get_attr_length (insn) == 4
++        ? "bne    %z0,%z1,%2"
++        : "be     %z0,%z1,8\n\tbi     %2";
++}<span style="background-color: #FF0000">  </span>
++  [(set_attr "type" "cbranch")])
++
++(define_insn "*bgt"
++  [(set (pc)
++        (if_then_else (gt:SI (match_operand:SI 0 "register_or_zero_operand" "rJ")
++                             (match_operand:SI 1 "register_or_zero_operand" "rJ"))
++                      (label_ref (match_operand 2 "" ""))
++                      (pc)))]
++  ""
++{
++  return get_attr_length (insn) == 4
++        ? "bg     %z0,%z1,%2"
++        : "bge    %z1,%z0,8\n\tbi     %2";
++}<span style="background-color: #FF0000">  </span>
++  [(set_attr "type" "cbranch")])
++
++(define_insn "*bge"
++  [(set (pc)
++        (if_then_else (ge:SI (match_operand:SI 0 "register_or_zero_operand" "rJ")
++                             (match_operand:SI 1 "register_or_zero_operand" "rJ"))
++                      (label_ref (match_operand 2 "" ""))
++                      (pc)))]
++  ""
++{
++  return get_attr_length (insn) == 4
++        ? "bge    %z0,%z1,%2"
++        : "bg     %z1,%z0,8\n\tbi     %2";
++}<span style="background-color: #FF0000">  </span>
++  [(set_attr "type" "cbranch")])
++
++(define_insn "*bgtu"
++  [(set (pc)
++        (if_then_else (gtu:SI (match_operand:SI 0 "register_or_zero_operand" "rJ")
++                              (match_operand:SI 1 "register_or_zero_operand" "rJ"))
++                      (label_ref (match_operand 2 "" ""))
++                      (pc)))]
++  ""
++{
++  return get_attr_length (insn) == 4
++        ? "bgu    %z0,%z1,%2"
++        : "bgeu   %z1,%z0,8\n\tbi     %2";
++}<span style="background-color: #FF0000">  </span>
++  [(set_attr "type" "cbranch")])
++
++(define_insn "*bgeu"
++  [(set (pc)
++        (if_then_else (geu:SI (match_operand:SI 0 "register_or_zero_operand" "rJ")
++                              (match_operand:SI 1 "register_or_zero_operand" "rJ"))
++                      (label_ref (match_operand 2 "" ""))
++                      (pc)))]
++  ""
++{
++  return get_attr_length (insn) == 4
++        ? "bgeu   %z0,%z1,%2"
++        : "bgu    %z1,%z0,8\n\tbi     %2";
++}<span style="background-color: #FF0000">  </span>
++  [(set_attr "type" "cbranch")])
++
++;; ---------------------------------
++;;               call<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_expand "call"
++  [(parallel [(call (match_operand 0 "memory_operand" "m")
++                    (match_operand 1 "" ""))
++              (clobber (reg:SI RA_REGNUM))
++             ])]
++  ""
++  "
++{
++  rtx addr = XEXP (operands[0], 0);
++  if (!CONSTANT_ADDRESS_P (addr))
++    {
++      emit_call_insn (gen_call_via_regsi (addr, operands[1]));
++      DONE;
++    }
++}")
++
++(define_insn "call_via_regsi"
++  [(call (mem:SI (match_operand:SI 0 "register_operand" "r"))
++         (match_operand 1 "" ""))
++   (clobber (reg:SI RA_REGNUM))]
++  ""
++  "call     %0"
++  [(set_attr "type" "icall")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "*call_via_labelsi"
++  [(call (mem:SI (match_operand:SI 0 "symbolic_operand" "X"))
++         (match_operand 1 "" ""))
++   (clobber (reg:SI RA_REGNUM))]
++  ""
++  "calli    %0"
++  [(set_attr "type" "call")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_expand "call_value"
++  [(parallel [(set (match_operand 0 "register_operand" "=r")
++                   (call (match_operand 1 "memory_operand" "m")
++                         (match_operand 2 "" "")))
++              (clobber (reg:SI RA_REGNUM))
++             ])]
++  ""
++  "
++{
++  rtx addr = XEXP (operands[1], 0);
++  if (!CONSTANT_ADDRESS_P (addr))
++    {
++      emit_call_insn (gen_call_value_via_regsi (operands[0], addr, operands[2]));
++      DONE;
++    }
++}")
++
++(define_insn "call_value_via_regsi"
++  [(set (match_operand 0 "register_operand" "=r")
++        (call (mem:SI (match_operand:SI 1 "register_operand" "r"))
++              (match_operand 2 "" "")))
++   (clobber (reg:SI RA_REGNUM))]
++  ""
++  "call      %1"
++  [(set_attr "type" "icall")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "*call_value_via_labelsi"
++  [(set (match_operand 0 "register_operand" "=r")
++        (call (mem:SI (match_operand:SI 1 "symbolic_operand" "X"))
++              (match_operand 2 "" "")))
++   (clobber (reg:SI RA_REGNUM))]
++  ""
++  "calli    %1"
++  [(set_attr "type" "call")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "return_internalsi"
++  [(use (match_operand:SI 0 "register_operand" "r"))
++   (return)]
++  ""
++  "b        %0"
++  [(set_attr "type" "uibranch")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "return"
++  [(return)]
++  "lm32_can_use_return ()"
++  "ret"
++  [(set_attr "type" "uibranch")]<span style="background-color: #FF0000">  </span>
++)<span style="background-color: #FF0000"> </span>
++
++;; ---------------------------------
++;;       switch/case statements<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++<span style="background-color: #FF0000">  </span>
++(define_expand "tablejump"
++  [(set (pc) (match_operand 0 "register_operand" ""))
++   (use (label_ref (match_operand 1 "" "")))]
++  ""
++  "
++{
++  rtx target = operands[0];
++  if (flag_pic)
++    {
++      /* For PIC, the table entry is relative to the start of the table.  */
++      rtx label = gen_reg_rtx (SImode);
++      target = gen_reg_rtx (SImode);
++      emit_move_insn (label, gen_rtx_LABEL_REF (SImode, operands[1]));
++      emit_insn (gen_addsi3 (target, operands[0], label));
++    }
++  emit_jump_insn (gen_tablejumpsi (target, operands[1]));
++  DONE;
++}")
++
++(define_insn "tablejumpsi"
++  [(set (pc) (match_operand:SI 0 "register_operand" "r"))
++   (use (label_ref (match_operand 1 "" "")))]
++  ""
++  "b        %0"
++  [(set_attr "type" "ubranch")]<span style="background-color: #FF0000">  </span>
++)
++
++;; ---------------------------------
++;;            arithmetic<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_insn "addsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (plus:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                 (match_operand:SI 2 "register_or_K_operand" "r,K")))]
++  ""
++  "@
++   add      %0, %z1, %2
++   addi     %0, %z1, %2"
++  [(set_attr "type" "arith")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "subsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (minus:SI (match_operand:SI 1 "register_or_zero_operand" "rJ")
++                  (match_operand:SI 2 "register_or_zero_operand" "rJ")))]
++  ""
++  "sub      %0, %z1, %z2"
++  [(set_attr "type" "arith")]<span style="background-color: #FF0000">  </span>
++)
++
++(define_insn "mulsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (mult:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                 (match_operand:SI 2 "register_or_K_operand" "r,K")))]
++  "TARGET_MULTIPLY_ENABLED"
++  "@
++   mul      %0, %z1, %2
++   muli     %0, %z1, %2"
++  [(set_attr "type" "multiply")]
++)
++
++(define_insn "udivsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (udiv:SI (match_operand:SI 1 "register_or_zero_operand" "rJ")
++                 (match_operand:SI 2 "register_operand" "r")))]
++  "TARGET_DIVIDE_ENABLED"
++  "divu     %0, %z1, %2"
++  [(set_attr "type" "divide")]
++)
++
++(define_insn "umodsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (umod:SI (match_operand:SI 1 "register_or_zero_operand" "rJ")
++                 (match_operand:SI 2 "register_operand" "r")))]
++  "TARGET_DIVIDE_ENABLED"
++  "modu     %0, %z1, %2"
++  [(set_attr "type" "divide")]
++)
++
++;; ---------------------------------
++;;      negation and inversion<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++<span style="background-color: #FF0000">               </span>
++(define_insn "negsi2"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (neg:SI (match_operand:SI 1 "register_or_zero_operand" "rJ")))]
++  ""
++  "sub      %0, r0, %z1"
++  [(set_attr "type" "arith")]
++)<span style="background-color: #FF0000">      </span>
++
++(define_insn "one_cmplsi2"
++  [(set (match_operand:SI 0 "register_operand" "=r")
++        (not:SI (match_operand:SI 1 "register_or_zero_operand" "rJ")))]
++  ""
++  "not      %0, %z1"
++  [(set_attr "type" "arith")]
++)
++
++;; ---------------------------------
++;;             logical<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_insn "andsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (and:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                (match_operand:SI 2 "register_or_L_operand" "r,L")))]
++  ""
++  "@
++   and      %0, %z1, %2
++   andi     %0, %z1, %2"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "iorsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (ior:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                (match_operand:SI 2 "register_or_L_operand" "r,L")))]
++  ""
++  "@
++   or       %0, %z1, %2
++   ori      %0, %z1, %2"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "xorsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (xor:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                (match_operand:SI 2 "register_or_L_operand" "r,L")))]
++  ""
++  "@
++   xor      %0, %z1, %2
++   xori     %0, %z1, %2"
++  [(set_attr "type" "arith")]
++)
++
++(define_insn "*norsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++      (not:SI (ior:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                      (match_operand:SI 2 "register_or_L_operand" "r,L"))))]
++  ""
++  "@<span style="background-color: #FF0000"> </span>
++   nor      %0, %z1, %2
++   nori     %0, %z1, %2"<span style="background-color: #FF0000"><span style="background-color: #FF0000">     </span>               </span>
++  [(set_attr "type" "arith")]
++)<span style="background-color: #FF0000">                </span>
++
++(define_insn "*xnorsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++      (not:SI (xor:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                      (match_operand:SI 2 "register_or_L_operand" "r,L"))))]
++  ""
++  "@
++   xnor     %0, %z1, %2
++   xnori    %0, %z1, %2"<span style="background-color: #FF0000"><span style="background-color: #FF0000">     </span>               </span>
++  [(set_attr "type" "arith")]
++)<span style="background-color: #FF0000">                </span>
++
++;; ---------------------------------
++;;              shifts<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_insn "ashlsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (ashift:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                   (match_operand:SI 2 "register_or_L_operand" "r,L")))]
++  "TARGET_BARREL_SHIFT_ENABLED"
++  "@<span style="background-color: #FF0000"> </span>
++   sl       %0, %z1, %2
++   sli      %0, %z1, %2"
++  [(set_attr "type" "shift")]
++)
++
++(define_insn "ashrsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (ashiftrt:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                     (match_operand:SI 2 "register_or_L_operand" "r,L")))]
++  "TARGET_BARREL_SHIFT_ENABLED"
++  "@
++   sr       %0, %z1, %2
++   sri      %0, %z1, %2"
++  [(set_attr "type" "shift")]
++)
++
++(define_insn "lshrsi3"
++  [(set (match_operand:SI 0 "register_operand" "=r,r")
++        (lshiftrt:SI (match_operand:SI 1 "register_or_zero_operand" "rJ,rJ")
++                     (match_operand:SI 2 "register_or_L_operand" "r,L")))]
++  "TARGET_BARREL_SHIFT_ENABLED"
++  "@<span style="background-color: #FF0000"> </span>
++   sru      %0, %z1, %2
++   srui     %0, %z1, %2"
++  [(set_attr "type" "shift")]<span style="background-color: #FF0000">   </span>
++)
++
++;; ---------------------------------
++;;     function entry / exit<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_expand "prologue"
++  [(const_int 1)]
++  ""
++  "
++{
++  lm32_expand_prologue ();
++  DONE;
++}")
++
++(define_expand "epilogue"
++  [(return)]
++  ""
++  "
++{
++  lm32_expand_epilogue ();
++  DONE;
++}")
++
++;; ---------------------------------
++;;              nop<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++(define_insn "nop"<span style="background-color: #FF0000">  </span>
++  [(const_int 0)]
++  ""
++  "nop"
++  [(set_attr "type" "arith")]
++)
++
++;; ---------------------------------
++;;             blockage<span style="background-color: #FF0000"> </span>
++;; ---------------------------------
++
++;; used to stop the scheduler from<span style="background-color: #FF0000"> </span>
++;; scheduling code across certain boundaries
++
++(define_insn "blockage"
++  [(unspec_volatile [(const_int 0)] UNSPECV_BLOCKAGE)]
++  ""
++  ""
++  [(set_attr "length" "0")]
++)
++
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/lm32.opt gcc-4.4.5/gcc/config/lm32/lm32.opt
+--- gcc-4.4.5.orig/gcc/config/lm32/lm32.opt    1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/lm32.opt 2010-10-03 19:22:15.406316330 +0200
+@@ -0,0 +1,40 @@
++; Options for the Lattice Mico32 port of the compiler.
++; Contributed by Jon Beniston <jon@beniston.com>
++;
++; Copyright (C) 2008 Free Software Foundation, Inc.
++;
++; This file is part of GCC.
++;
++; GCC is free software; you can redistribute it and/or modify it
++; under the terms of the GNU General Public License as published
++; by the Free Software Foundation; either version 3, or (at your
++; option) any later version.
++;
++; GCC is distributed in the hope that it will be useful, but WITHOUT
++; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++; License for more details.
++;<span style="background-color: #FF0000"> </span>
++; You should have received a copy of the GNU General Public License
++; along with GCC; see the file COPYING3.  If not see
++;  <http://www.gnu.org/licenses/>.<span style="background-color: #FF0000">  </span>
++<span style="background-color: #FF0000">   </span>
++mmultiply-enabled
++Target Report Mask(MULTIPLY_ENABLED)
++Enable multiply instructions
++
++mdivide-enabled
++Target Report Mask(DIVIDE_ENABLED)
++Enable divide and modulus instructions
++
++mbarrel-shift-enabled
++Target Report Mask(BARREL_SHIFT_ENABLED)
++Enable barrel shift instructions
++
++msign-extend-enabled
++Target Report Mask(SIGN_EXTEND_ENABLED)
++Enable sign extend instructions
++
++muser-enabled
++Target Report Mask(USER_ENABLED)
++Enable user-defined instructions
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/lm32-protos.h gcc-4.4.5/gcc/config/lm32/lm32-protos.h
+--- gcc-4.4.5.orig/gcc/config/lm32/lm32-protos.h       1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/lm32-protos.h    2010-10-03 19:22:15.406316330 +0200
+@@ -0,0 +1,52 @@
++/* Prototypes of target machine functions, Lattice Mico32 architecture.
++   Contributed by Jon Beniston <jon@beniston.com>
++
++   Copyright (C) 2008 Free Software Foundation, Inc.
++
++   This file is part of GCC.
++
++   GCC is free software; you can redistribute it and/or modify it
++   under the terms of the GNU General Public License as published
++   by the Free Software Foundation; either version 3, or (at your
++   option) any later version.
++
++   GCC is distributed in the hope that it will be useful, but WITHOUT
++   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++   License for more details.
++
++   You should have received a copy of the GNU General Public License
++   along with GCC; see the file COPYING3.  If not see
++   <http://www.gnu.org/licenses/>.  */
++
++extern int lm32_return_in_memory (tree type);
++extern void lm32_declare_object (FILE *stream, char *name, char *init_string,<span style="background-color: #FF0000"> </span>
++                                 char *final_string, int size);
++extern int symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED);
++extern int register_or_zero_operand (rtx op, enum machine_mode mode);
++extern int register_or_K_operand (rtx op, enum machine_mode mode);
++extern int constant_K_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED);
++extern int register_or_L_operand (rtx op, enum machine_mode mode);
++extern int constant_L_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED);
++extern int register_or_memory_operand (rtx op, enum machine_mode mode);
++extern int register_operand (rtx op, enum machine_mode mode);
++extern int const_ok_for_base_offset (rtx op, enum machine_mode mode);
++extern void lm32_expand_prologue (void);
++extern void lm32_expand_epilogue (void);
++extern HOST_WIDE_INT lm32_compute_frame_size (int size);
++extern void lm32_print_operand (FILE *file, rtx op, int letter);
++extern void lm32_print_operand_address (FILE *file, rtx addr);
++extern rtx lm32_function_arg (CUMULATIVE_ARGS cum, enum machine_mode mode,
++                              tree type, int named);
++extern void lm32_override_options (void);
++extern HOST_WIDE_INT lm32_compute_initial_elimination_offset (int from,<span style="background-color: #FF0000"> </span>
++                                                             int to);
++extern int lm32_can_use_return (void);
++extern rtx lm32_return_addr_rtx (int count, rtx frame);
++#ifdef RTX_CODE
++extern void gen_int_relational (enum rtx_code code, rtx result, rtx cmp0,<span style="background-color: #FF0000"> </span>
++                                rtx cmp1, rtx destination);
++#endif
++extern int lm32_expand_block_move (rtx *);
++extern int nonpic_symbol_mentioned_p (rtx);
++extern rtx lm32_legitimize_pic_address (rtx, enum machine_mode, rtx);
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/predicates.md gcc-4.4.5/gcc/config/lm32/predicates.md
+--- gcc-4.4.5.orig/gcc/config/lm32/predicates.md       1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/predicates.md    2010-10-03 19:22:15.406316330 +0200
+@@ -0,0 +1,58 @@
++;; Predicate definitions for Lattice Mico32.
++;; Contributed by Jon Beniston <jon@beniston.com>
++;;
++;; Copyright (C) 2008 Free Software Foundation, Inc.
++;;
++;; This file is part of GCC.
++;;
++;; GCC is free software; you can redistribute it and/or modify it
++;; under the terms of the GNU General Public License as published
++;; by the Free Software Foundation; either version 3, or (at your
++;; option) any later version.
++;;
++;; GCC is distributed in the hope that it will be useful, but WITHOUT
++;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++;; License for more details.
++;;<span style="background-color: #FF0000"> </span>
++;; You should have received a copy of the GNU General Public License
++;; along with GCC; see the file COPYING3.  If not see
++;;  <http://www.gnu.org/licenses/>.<span style="background-color: #FF0000">  </span>
++
++(define_predicate "const0_operand"
++  (and (match_code "const_int,const_double,const_vector")
++       (match_test "op == CONST0_RTX (GET_MODE (op))")))
++
++(define_predicate "constant_K_operand"
++  (and (match_code "const_int")
++       (match_test "MEDIUM_INT (INTVAL (op))")))
++<span style="background-color: #FF0000">       </span>
++(define_predicate "constant_L_operand"
++  (and (match_code "const_int")
++       (match_test "MEDIUM_UINT (INTVAL (op))")))
++
++(define_predicate "register_or_zero_operand"
++  (ior (match_operand 0 "register_operand")
++       (match_operand 0 "const0_operand")))
++
++(define_predicate "register_or_memory_operand"
++  (ior (match_operand 0 "register_operand")
++       (match_operand 0 "memory_operand")))
++<span style="background-color: #FF0000">       </span>
++(define_predicate "register_or_K_operand"
++  (ior (match_operand 0 "register_operand")
++       (match_operand 0 "constant_K_operand")))
++<span style="background-color: #FF0000">         </span>
++(define_predicate "register_or_L_operand"
++  (ior (match_operand 0 "register_operand")
++       (match_operand 0 "constant_L_operand")))
++
++(define_predicate "reloc_operand"
++  (ior (ior (match_code "label_ref")
++            (match_code "symbol_ref"))
++       (match_code "const")))
++
++(define_predicate "symbolic_operand"
++  (ior (match_code "label_ref")
++       (match_code "symbol_ref")))
++<span style="background-color: #FF0000">       </span>
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/rtems.h gcc-4.4.5/gcc/config/lm32/rtems.h
+--- gcc-4.4.5.orig/gcc/config/lm32/rtems.h     1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/rtems.h  2010-10-03 19:22:15.406316330 +0200
+@@ -0,0 +1,32 @@
++/* Definitions for rtems targeting a lm32 using ELF.
++   Copyright (C) 2009, Free Software Foundation, Inc.
++
++This file is part of GCC.
++
++GCC is free software; you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation; either version 3, or (at your option)
++any later version.
++
++GCC is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with GCC; see the file COPYING3.  If not see
++<http://www.gnu.org/licenses/>.  */
++
++/* Target OS builtins.  */
++#undef TARGET_OS_CPP_BUILTINS
++#define TARGET_OS_CPP_BUILTINS()              \
++  do                                          \
++    {                                         \
++      builtin_define ("__rtems__");         \
++      builtin_define ("__USE_INIT_FINI__"); \
++      builtin_assert ("system=rtems");      \
++    }                                         \
++  while (0)
++
++/* Use the default */
++#undef LINK_GCC_C_SEQUENCE_SPEC
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/sfp-machine.h gcc-4.4.5/gcc/config/lm32/sfp-machine.h
+--- gcc-4.4.5.orig/gcc/config/lm32/sfp-machine.h       1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/sfp-machine.h    2010-10-03 19:22:15.406316330 +0200
+@@ -0,0 +1,51 @@
++#define _FP_W_TYPE_SIZE               32
++#define _FP_W_TYPE            unsigned long
++#define _FP_WS_TYPE           signed long
++#define _FP_I_TYPE            long
++
++#define _FP_MUL_MEAT_S(R,X,Y)                         \
++  _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm)
++#define _FP_MUL_MEAT_D(R,X,Y)                         \
++  _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_D,R,X,Y,umul_ppmm)
++#define _FP_MUL_MEAT_Q(R,X,Y)                         \
++  _FP_MUL_MEAT_4_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm)
++
++#define _FP_DIV_MEAT_S(R,X,Y) _FP_DIV_MEAT_1_loop(S,R,X,Y)
++#define _FP_DIV_MEAT_D(R,X,Y) _FP_DIV_MEAT_2_udiv(D,R,X,Y)
++#define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_4_udiv(Q,R,X,Y)
++
++#define _FP_NANFRAC_S         ((_FP_QNANBIT_S << 1) - 1)
++#define _FP_NANFRAC_D         ((_FP_QNANBIT_D << 1) - 1), -1
++#define _FP_NANFRAC_Q         ((_FP_QNANBIT_Q << 1) - 1), -1, -1, -1
++#define _FP_NANSIGN_S         0
++#define _FP_NANSIGN_D         0
++#define _FP_NANSIGN_Q         0
++
++#define _FP_KEEPNANFRACP 1
++
++/* Someone please check this.  */
++#define _FP_CHOOSENAN(fs, wc, R, X, Y, OP)                    \
++  do {                                                                \
++    if ((_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)            \
++      && !(_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs)) \
++      {                                                               \
++      R##_s = Y##_s;                                          \
++      _FP_FRAC_COPY_##wc(R,Y);                                \
++      }                                                               \
++    else                                                      \
++      {                                                               \
++      R##_s = X##_s;                                          \
++      _FP_FRAC_COPY_##wc(R,X);                                \
++      }                                                               \
++    R##_c = FP_CLS_NAN;                                               \
++  } while (0)
++
++#define       __LITTLE_ENDIAN 1234
++#define       __BIG_ENDIAN    4321
++
++#define __BYTE_ORDER __BIG_ENDIAN
++
++/* Define ALIASNAME as a strong alias for NAME.  */
++# define strong_alias(name, aliasname) _strong_alias(name, aliasname)
++# define _strong_alias(name, aliasname) \
++  extern __typeof (name) aliasname __attribute__ ((alias (#name)));
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/t-fprules-softfp gcc-4.4.5/gcc/config/lm32/t-fprules-softfp
+--- gcc-4.4.5.orig/gcc/config/lm32/t-fprules-softfp    1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/t-fprules-softfp 2010-10-03 19:22:15.407316574 +0200
+@@ -0,0 +1,5 @@
++softfp_float_modes := sf df
++softfp_int_modes := si di
++softfp_extensions := sfdf
++softfp_truncations := dfsf
++softfp_machine_header := lm32/sfp-machine.h
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/t-lm32 gcc-4.4.5/gcc/config/lm32/t-lm32
+--- gcc-4.4.5.orig/gcc/config/lm32/t-lm32      1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/t-lm32   2010-10-03 19:22:15.407316574 +0200
+@@ -0,0 +1,19 @@
++LIB1ASMSRC = lm32/lib1funcs.S
++LIB1ASMFUNCS = _ashlsi3 _ashrsi3 _lshrsi3
++
++LM32_LIB1CSRC = $(srcdir)/config/lm32/arithmetic.c
++LIB2FUNCS_EXTRA = _mulsi3.c \
++                  _udivmodsi4.c _divsi3.c _modsi3.c _udivsi3.c _umodsi3.c<span style="background-color: #FF0000"> </span>
++# Size optimised versions: _ashlsi3.c _ashrsi3.c _lshrsi3.c<span style="background-color: #FF0000"> </span>
++<span style="background-color: #FF0000">      <span style="background-color: #FF0000">          </span>           </span>
++# The fixed-point arithmetic code is in one file
++# similar to libgcc2.c (or the old libgcc1.c).  We need to
++# "split it up" with one file per define.
++$(LIB2FUNCS_EXTRA): $(LM32_LIB1CSRC)
++      name=`echo $@ | sed -e 's,.*/,,' | sed -e 's,.c$$,,'`; \
++      echo "#define L$$name" > tmp-$@ \
++      && echo '#include "$<"' >> tmp-$@ \
++      && mv -f tmp-$@ $@
++
++MULTILIB_OPTIONS = mmultiply-enabled mbarrel-shift-enabled<span style="background-color: #FF0000"> </span>
++# Don't bother building multilib with mdivide-enabled, not much of a gain
+diff -Naur gcc-4.4.5.orig/gcc/config/lm32/uclinux-elf.h gcc-4.4.5/gcc/config/lm32/uclinux-elf.h
+--- gcc-4.4.5.orig/gcc/config/lm32/uclinux-elf.h       1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/gcc/config/lm32/uclinux-elf.h    2010-10-03 19:22:15.407316574 +0200
+@@ -0,0 +1,85 @@
++/* Definitions for LM32 running Linux-based GNU systems using ELF
++   Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
++   2008 Free Software Foundation, Inc.
++   Contributed by Philip Blundell <philb@gnu.org>
++
++   This file is part of GCC.
++
++   GCC is free software; you can redistribute it and/or modify it
++   under the terms of the GNU General Public License as published
++   by the Free Software Foundation; either version 3, or (at your
++   option) any later version.
++
++   GCC is distributed in the hope that it will be useful, but WITHOUT
++   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++   License for more details.
++
++   You should have received a copy of the GNU General Public License
++   along with GCC; see the file COPYING3.  If not see
++   <http://www.gnu.org/licenses/>.  */
++
++/* elfos.h should have already been included.  Now just override
++   any conflicting definitions and add any extras.  */
++
++/* Run-time Target Specification.  */
++#undef  TARGET_VERSION
++#define TARGET_VERSION  fputs (" (LM32 GNU/Linux with ELF)", stderr);
++
++/* Do not assume anything about header files.  */
++#undef NO_IMPLICIT_EXTERN_C
++#define NO_IMPLICIT_EXTERN_C
++
++/* The GNU C++ standard library requires that these macros be defined.  */
++#undef CPLUSPLUS_CPP_SPEC
++#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
++
++/* Now we define the strings used to build the spec file.  */
++#undef  LIB_SPEC
++#define LIB_SPEC \
++  "%{pthread:-lpthread} \
++   %{shared:-lc} \
++   %{!shared:-lc} "
++
++#define LIBGCC_SPEC "-lgcc"
++
++/* Provide a STARTFILE_SPEC appropriate for GNU/Linux.  Here we add
++   the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
++   provides part of the support for getting C++ file-scope static
++   object constructed before entering `main'.  */
++
++#undef  STARTFILE_SPEC
++#define STARTFILE_SPEC \
++  "%{!shared: \
++     %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
++                       %{!p:%{profile:gcrt1.o%s} \
++                         %{!profile:crt1.o%s}}}} \
++   crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
++
++/* Provide a ENDFILE_SPEC appropriate for GNU/Linux.  Here we tack on
++   the GNU/Linux magical crtend.o file (see crtstuff.c) which
++   provides part of the support for getting C++ file-scope static
++   object constructed before entering `main', followed by a normal
++   GNU/Linux "finalizer" file, `crtn.o'.  */
++
++#undef  ENDFILE_SPEC
++#define ENDFILE_SPEC \
++  "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
++
++#undef  LINK_SPEC
++#define LINK_SPEC "%{h*} %{version:-v} \
++   %{b} %{Wl,*:%*} \
++   %{static:-Bstatic} \
++   %{shared:-shared} \
++   %{symbolic:-Bsymbolic} \
++   %{rdynamic:-export-dynamic} \
++   %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}"
++
++#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
++
++#define LINK_GCC_C_SEQUENCE_SPEC \
++  "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
++
++#undef  CC1_SPEC
++#define CC1_SPEC "%{G*} %{!fno-PIC:-fPIC}"
++
+diff -Naur gcc-4.4.5.orig/gcc/config/m32c/rtems.h gcc-4.4.5/gcc/config/m32c/rtems.h
+--- gcc-4.4.5.orig/gcc/config/m32c/rtems.h     2008-12-01 17:34:42.000000000 +0100
++++ gcc-4.4.5/gcc/config/m32c/rtems.h  2010-10-03 19:22:15.407316574 +0200
+@@ -29,5 +29,9 @@
+     }                                         \
+   while (0)
+<span style="background-color: #FF0000"> </span>
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.4.5.orig/gcc/config/m68k/rtemself.h gcc-4.4.5/gcc/config/m68k/rtemself.h
+--- gcc-4.4.5.orig/gcc/config/m68k/rtemself.h  2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.4.5/gcc/config/m68k/rtemself.h       2010-10-03 19:22:15.407316574 +0200
+@@ -31,3 +31,8 @@
+<span style="background-color: #FF0000"> </span> builtin_assert ("system=rtems");      \
+     }                                         \
+   while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.4.5.orig/gcc/config/mips/elf.h gcc-4.4.5/gcc/config/mips/elf.h
+--- gcc-4.4.5.orig/gcc/config/mips/elf.h       2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.4.5/gcc/config/mips/elf.h    2010-10-03 19:22:15.408316499 +0200
+@@ -48,6 +48,4 @@
+ #undef  ENDFILE_SPEC
+ #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
+<span style="background-color: #FF0000"> </span>
+-#define NO_IMPLICIT_EXTERN_C 1
+-
+ #define HANDLE_PRAGMA_PACK_PUSH_POP 1
+diff -Naur gcc-4.4.5.orig/gcc/config/rs6000/rtems.h gcc-4.4.5/gcc/config/rs6000/rtems.h
+--- gcc-4.4.5.orig/gcc/config/rs6000/rtems.h   2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.4.5/gcc/config/rs6000/rtems.h        2010-10-03 19:22:15.408316499 +0200
+@@ -49,8 +49,22 @@
+ %{mcpu=604:  %{!Dppc*: %{!Dmpc*: -Dmpc604}  } } \
+ %{mcpu=750:  %{!Dppc*: %{!Dmpc*: -Dmpc750}  } } \
+ %{mcpu=821:  %{!Dppc*: %{!Dmpc*: -Dmpc821}  } } \
+-%{mcpu=860:  %{!Dppc*: %{!Dmpc*: -Dmpc860}  } }"<span style="background-color: #FF0000"> </span>
++%{mcpu=860:  %{!Dppc*: %{!Dmpc*: -Dmpc860}  } } \
++%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540}  } }"<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span>
+ #undef  SUBSUBTARGET_EXTRA_SPECS
+ #define SUBSUBTARGET_EXTRA_SPECS \
+   { "cpp_os_rtems",         CPP_OS_RTEMS_SPEC }
++
++#undef SUBSUBTARGET_OVERRIDE_OPTIONS
++#define SUBSUBTARGET_OVERRIDE_OPTIONS         \
++  do {                                                \
++    if (TARGET_E500)                          \
++      {                                               \
++      rs6000_float_gprs = 1;                  \
++      }                                               \
++  } while(0)
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.4.5.orig/gcc/config/rs6000/t-rtems gcc-4.4.5/gcc/config/rs6000/t-rtems
+--- gcc-4.4.5.orig/gcc/config/rs6000/t-rtems   2009-03-25 13:54:16.000000000 +0100
++++ gcc-4.4.5/gcc/config/rs6000/t-rtems        2010-10-03 19:22:15.408316499 +0200
+@@ -1,12 +1,12 @@
+ # Multilibs for powerpc RTEMS targets.
+<span style="background-color: #FF0000"> </span>
+ MULTILIB_OPTIONS      = \
+-mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
++mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \
+ Dmpc8260 \
+ msoft-float
+<span style="background-color: #FF0000"> </span>
+ MULTILIB_DIRNAMES     = \
+-m403 m505 m601 m603e m604 m860 m7400 \
++m403 m505 m601 m603e m604 m860 m7400 m8540 \
+ mpc8260 \
+ nof
+<span style="background-color: #FF0000"> </span>
+@@ -29,6 +29,10 @@
+ # Map 750 to .
+ MULTILIB_MATCHES      += mcpu?750=
+<span style="background-color: #FF0000"> </span>
++# Map e500, 8548 to 8540
++MULTILIB_MATCHES      += mcpu?8540=mcpu?e500
++MULTILIB_MATCHES      += mcpu?8540=mcpu?8548
++
+ # Soft-float only, default implies msoft-float
+ # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
+ MULTILIB_SOFTFLOAT_ONLY = \
+@@ -62,3 +66,4 @@
+ MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
+ MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
+ MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
++MULTILIB_EXCEPTIONS += *mcpu=8540/Dmpc*
+diff -Naur gcc-4.4.5.orig/gcc/config/rtems.h gcc-4.4.5/gcc/config/rtems.h
+--- gcc-4.4.5.orig/gcc/config/rtems.h  2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.4.5/gcc/config/rtems.h       2010-10-03 19:22:15.408316499 +0200
+@@ -38,6 +38,5 @@
+ #undef LIB_SPEC
+ #define LIB_SPEC "%{!qrtems: " STD_LIB_SPEC "} " \
+ "%{!nostdlib: %{qrtems: --start-group \
+- %{!qrtems_debug: -lrtemsbsp -lrtemscpu} \
+- %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
++ -lrtemsbsp -lrtemscpu \
+  -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"
+diff -Naur gcc-4.4.5.orig/gcc/config/sh/rtemself.h gcc-4.4.5/gcc/config/sh/rtemself.h
+--- gcc-4.4.5.orig/gcc/config/sh/rtemself.h    2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.4.5/gcc/config/sh/rtemself.h 2010-10-03 19:22:15.408316499 +0200
+@@ -24,3 +24,8 @@
+   builtin_define( "__rtems__" );            \
+   builtin_assert( "system=rtems" );         \
+ } while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.4.5.orig/gcc/config/sparc/rtemself.h gcc-4.4.5/gcc/config/sparc/rtemself.h
+--- gcc-4.4.5.orig/gcc/config/sparc/rtemself.h 2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.4.5/gcc/config/sparc/rtemself.h      2010-10-03 19:22:15.409317794 +0200
+@@ -29,5 +29,9 @@
+     }                                         \
+   while (0)
+<span style="background-color: #FF0000"> </span>
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.4.5.orig/gcc/config.gcc gcc-4.4.5/gcc/config.gcc
+--- gcc-4.4.5.orig/gcc/config.gcc      2010-06-14 00:16:50.000000000 +0200
++++ gcc-4.4.5/gcc/config.gcc   2010-10-03 19:22:15.410316497 +0200
+@@ -1376,6 +1376,23 @@
+         out_file=iq2000/iq2000.c
+         md_file=iq2000/iq2000.md
+         ;;
++lm32-*-elf*)
++      tm_file="dbxelf.h elfos.h ${tm_file}"
++      tmake_file="lm32/t-lm32"
++      tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp"
++        ;;
++lm32-*-rtems*)
++      tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h"
++      tmake_file="lm32/t-lm32"
++      tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp"
++      tmake_file="${tmake_file} t-rtems"
++      extra_parts="crtbegin.o crtend.o crti.o crtn.o"
++        ;;
++lm32-*-uclinux*)
++      tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h"
++      tmake_file="lm32/t-lm32"
++      tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp"
++        ;;
+ m32r-*-elf*)
+<span style="background-color: #FF0000"> </span> tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
+<span style="background-color: #FF0000"> </span> extra_parts="crtinit.o crtfini.o"
+diff -Naur gcc-4.4.5.orig/gcc/doc/contrib.texi gcc-4.4.5/gcc/doc/contrib.texi
+--- gcc-4.4.5.orig/gcc/doc/contrib.texi        2009-02-20 16:20:38.000000000 +0100
++++ gcc-4.4.5/gcc/doc/contrib.texi     2010-10-03 19:22:15.410316497 +0200
+@@ -55,7 +55,7 @@
+ Wolfgang Bangerth for processing tons of bug reports.
+<span style="background-color: #FF0000"> </span>
+ @item
+-Jon Beniston for his Microsoft Windows port of Java.
++Jon Beniston for his Microsoft Windows port of Java and port to Lattice Mico32.
+<span style="background-color: #FF0000"> </span>
+ @item
+ Daniel Berlin for better DWARF2 support, faster/better optimizations,
+diff -Naur gcc-4.4.5.orig/gcc/doc/install.texi gcc-4.4.5/gcc/doc/install.texi
+--- gcc-4.4.5.orig/gcc/doc/install.texi        2010-07-15 11:26:30.000000000 +0200
++++ gcc-4.4.5/gcc/doc/install.texi     2010-10-03 19:22:15.412315512 +0200
+@@ -2660,6 +2660,10 @@
+ @item
+ @uref{#iq2000-x-elf,,iq2000-*-elf}
+ @item
++@uref{#lm32-x-elf,,lm32-*-elf}
++@item
++@uref{#lm32-x-uclinux,,lm32-*-uclinux}
++@item
+ @uref{#m32c-x-elf,,m32c-*-elf}
+ @item
+ @uref{#m32r-x-elf,,m32r-*-elf}
+@@ -3472,6 +3476,20 @@
+ @html
+ <hr />
+ @end html
++@heading @anchor{lm32-x-elf}lm32-*-elf
++Lattice Mico32 processor.
++This configuration is intended for embedded systems.
++
++@html
++<hr />
++@end html
++@heading @anchor{lm32-x-uclinux}lm32-*-uclinux
++Lattice Mico32 processor.
++This configuration is intended for embedded systems running uClinux.
++
++@html
++<hr />
++@end html
+ @heading @anchor{m32c-x-elf}m32c-*-elf
+ Renesas M32C processor.
+ This configuration is intended for embedded systems.
+diff -Naur gcc-4.4.5.orig/gcc/doc/invoke.texi gcc-4.4.5/gcc/doc/invoke.texi
+--- gcc-4.4.5.orig/gcc/doc/invoke.texi 2010-09-08 20:13:03.000000000 +0200
++++ gcc-4.4.5/gcc/doc/invoke.texi      2010-10-03 19:22:15.416316601 +0200
+@@ -606,6 +606,10 @@
+ -mno-sched-prefer-non-control-spec-insns @gol
+ -mno-sched-count-spec-in-critical-path}
+<span style="background-color: #FF0000"> </span>
++@emph{LM32 Options}
++@gccoptlist{-mbarrel-shift-enabled -mdivide-enabled -mmultiply-enabled @gol
++-msign-extend-enabled -muser-enabled}
++
+ @emph{M32R/D Options}
+ @gccoptlist{-m32r2 -m32rx -m32r @gol
+ -mdebug @gol
+@@ -8858,6 +8862,7 @@
+ * i386 and x86-64 Options::
+ * i386 and x86-64 Windows Options::
+ * IA-64 Options::
++* LM32 Options::
+ * M32C Options::
+ * M32R/D Options::
+ * M680x0 Options::
+@@ -11842,6 +11847,35 @@
+<span style="background-color: #FF0000"> </span>
+ @end table
+<span style="background-color: #FF0000"> </span>
++@node LM32 Options
++@subsection LM32 Options
++@cindex LM32 options
++
++These @option{-m} options are defined for the Lattice Mico32 architecture:
++
++@table @gcctabopt
++@item -mbarrel-shift-enabled
++@opindex mbarrel-shift-enabled
++Enable barrel-shift instructions.
++
++@item -mdivide-enabled
++@opindex mdivide-enabled
++Enable divide and modulus instructions.
++
++@item -mmultiply-enabled
++@opindex multiply-enabled
++Enable multiply instructions.
++
++@item -msign-extend-enabled
++@opindex msign-extend-enabled
++Enable sign extend instructions.
++
++@item -muser-enabled
++@opindex muser-enabled
++Enable user-defined instructions.
++
++@end table
++
+ @node M32R/D Options
+ @subsection M32R/D Options
+ @cindex M32R/D options
+diff -Naur gcc-4.4.5.orig/libgcc/ChangeLog.rtems gcc-4.4.5/libgcc/ChangeLog.rtems
+--- gcc-4.4.5.orig/libgcc/ChangeLog.rtems      1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/libgcc/ChangeLog.rtems   2010-10-03 19:22:15.416316601 +0200
+@@ -0,0 +1,5 @@
++              Jon Beniston <jon@beniston.com>
++
++      * libgcc/config/lm32/t-elf, libgcc/config/lm32/t-uclinux,
++      libgcc/config/lm32/t-uclinux: New (lm32 port).
++      * libgcc/config.host: Add lm32* targets.
+diff -Naur gcc-4.4.5.orig/libgcc/config/lm32/t-elf gcc-4.4.5/libgcc/config/lm32/t-elf
+--- gcc-4.4.5.orig/libgcc/config/lm32/t-elf    1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/libgcc/config/lm32/t-elf 2010-10-03 19:22:15.417316574 +0200
+@@ -0,0 +1,12 @@
++# Assemble startup files.
++
++$(T)crti.o: $(gcc_srcdir)/config/lm32/crti.S $(GCC_PASSES)
++      $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
++      -c -o $(T)crti.o -x assembler-with-cpp $(gcc_srcdir)/config/lm32/crti.S
++
++$(T)crtn.o: $(gcc_srcdir)/config/lm32/crtn.S $(GCC_PASSES)
++      $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
++      -c -o $(T)crtn.o -x assembler-with-cpp $(gcc_srcdir)/config/lm32/crtn.S
++
++CRTSTUFF_T_CFLAGS = -G 0
++TARGET_LIBGCC2_CFLAGS = -G 0
+diff -Naur gcc-4.4.5.orig/libgcc/config/lm32/t-uclinux gcc-4.4.5/libgcc/config/lm32/t-uclinux
+--- gcc-4.4.5.orig/libgcc/config/lm32/t-uclinux        1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.5/libgcc/config/lm32/t-uclinux     2010-10-03 19:22:15.417316574 +0200
+@@ -0,0 +1,2 @@
++CRTSTUFF_T_CFLAGS = -fPIC
++TARGET_LIBGCC2_CFLAGS = -fPIC
+diff -Naur gcc-4.4.5.orig/libgcc/config.host gcc-4.4.5/libgcc/config.host
+--- gcc-4.4.5.orig/libgcc/config.host  2009-04-17 13:58:41.000000000 +0200
++++ gcc-4.4.5/libgcc/config.host       2010-10-03 19:22:15.417316574 +0200
+@@ -95,6 +95,9 @@
+ hppa*-*-*)
+<span style="background-color: #FF0000"> </span> cpu_type=pa
+<span style="background-color: #FF0000"> </span> ;;
++lm32*-*-*)
++      cpu_type=lm32
++      ;;
+ m32r*-*-*)
+         cpu_type=m32r
+         ;;
+@@ -355,6 +358,14 @@
+<span style="background-color: #FF0000"> </span> ;;
+ iq2000*-*-elf*)
+         ;;
++lm32-*-elf* | lm32-*-rtems*)
++      extra_parts="crtbegin.o crtend.o crti.o crtn.o"
++      tmake_file="lm32/t-elf"
++      ;;
++lm32-*-uclinux*)
++      extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
++      tmake_file="lm32/t-uclinux"
++      ;;<span style="background-color: #FF0000">      </span>
+ m32r-*-elf*|m32r-*-rtems*)
+<span style="background-color: #FF0000">  </span>        ;;
+ m32rle-*-elf*)
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.11-20101004.diff:1.1
--- /dev/null   Mon Oct  4 18:10:36 2010
+++ rtems/contrib/crossrpms/patches/newlib-1.18.0-rtems4.11-20101004.diff       Mon Oct  4 07:16:35 2010
</font><font color='#997700'>@@ -0,0 +1,1721 @@
</font><font color='#000088'>+diff -Naur newlib-1.18.0.orig/newlib/ChangeLog.rtems newlib-1.18.0/newlib/ChangeLog.rtems
+--- newlib-1.18.0.orig/newlib/ChangeLog.rtems  1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.18.0/newlib/ChangeLog.rtems       2010-10-04 09:26:59.293315653 +0200
+@@ -0,0 +1,252 @@
++2010-09-21  Craig Howland <howland@LGSInnovations.com>
++
++      * libc/string/memcpy.c: Do not assign size_t parameter to int.
++      Use parameter directly, instead.
++      * libc/string/memccpy.c:  Likewise.
++      * libc/string/mempcpy.c:  Likewise.
++      * libc/string/memmove.c:  Likewise.
++
++2010-09-04<span style="background-color: #FF0000">  </span>     Joel Sherrill <joel@OARcorp.com>
++
++      * include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
++      pthread_attr_getguardsize, pthread_attr_setguardsize.
++      * sys/types.h (pthread_attr_t): Add guardsize.
++
++2010-08-24  Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++      * libc/posix/opendir.c: Added missing memory free.
++
++2010-08-10    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      PR 1475/newlib:
++      * libc/include/stdint.h: Fall back to compute SIZE_MAX based on
++      __SIZEOF_SIZE_T__ and __CHAR_BIT__ if available.
++
++2010-08-04    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/string/strcat.c:<span style="background-color: #FF0000"> </span>
++      Include <stdint.h>. Use uintptr_t instead of long in ALIGNED.
++      * libc/string/strchr.c, libc/string/strcmp.c, libc/string/strncmp.c:
++      Include <stdint.h>. Use uintptr_t instead of long in UNALIGNED.
++      * libc/include/sys/unistd.h: Activate decls for<span style="background-color: #FF0000"> </span>
++      getsid, setegid, seteuid.
++
++2010-07-08    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
++      * libc/string/index.c, libc/string/rindex.c: Include <string.h>.
++      * libc/stdlib/putenv_r.c: Include <strings.h>
++
++2010-07-06  Corinna Vinschen  <corinna@vinschen.de>
++
++      * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
++      * libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype.
++      * libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long
++      rather than off_t.
++
++2010-06-17    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/_types.h: Special case for sparc64.
++
++2010-04-23    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/_types.h: Add _mode_t.
++      * libc/include/sys/types.h: Derive mode_t from  _mode_t.
++
++2010-04-02    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/sched.h, libc/include/sys/sched.h:
++      Adopt newlib-cvs's versions.
++
++2010-03-25    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/strings.h: New (split-out from string.h).
++      * libc/include/string.h: Remove bcmp, bcopy, bzero, ffs, index, rindex,
++      strcasecmp, strncasecmp (Moved to strings.h).
++      Remove strcmpi, stricmp, strncmpi, strnicmp.
++      * libc/misc/ffs.c: Use <strings.h> instead of <string.h>.
++      * libc/string/bcmp.c: Use <strings.h> instead of <string.h>.
++      * libc/string/bzero.c: Use <strings.h> instead of <string.h>.
++      * libc/string/rindex.c: Use <strings.h> instead of <string.h>.
++      * libc/string/strcasecmp.c: Use <strings.h> instead of <string.h>.
++      * libc/string/strcasecmp.c: Use <strings.h> instead of <string.h>.
++
++2010-03-23    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/_types.h: Add i386 to 64bit off_t targets.
++
++2010-03-10    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/posix/telldir.c: Adopt newlib-cvs's telldir.c
++
++2010-02-10    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/_types.h: Use __int64_t for _off_t, fpos_t for<span style="background-color: #FF0000"> </span>
++      selected targets.
++
++2010-02-05    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/posix/telldir.c: Remove bogus nested prototype of lseek().
++
++2010-01-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++      * libc/posix/telldir.c (_cleanupdir): Fixed usage of freed memory.
++
++2009-12-18    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/search/db_local.h:
++      Use __uint32_t instead of u_int (prototype mismatches).
++      * libc/search/extern.h (__buf_init):<span style="background-color: #FF0000"> </span>
++      Use __uint32_t instead of int (16 bit target portability).
++      * libc/search/hash_buf.c: Use ptrdiff_t instead of __uint32_t,
++      use __uint32_t instead of int (16 bit target portability).
++      * libc/search/hash.h: Use __uint32_it instead of int
++      (16 bit target portability).
++      * libm/common/modfl.c: Add cast to (double*) to avoid GCC warning.
++      * libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit<span style="background-color: #FF0000"> </span>
++      casts to __uint32_t to avoid overflows on implicit casts.
++
++2009-12-18    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      Merger with newlib-1.18.0.
++
++2009-10-29    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/_types.h: Rework.
++      * libc/sys/rtems/machine/stdint.h: Remove.
++      * libc/include/inttypes.h:<span style="background-color: #FF0000"> </span>
++      Rework logic to determine PRI*PTR.
++      Prefer long64 over longlong64.
++      * libc/include/machine/_default_types.h:<span style="background-color: #FF0000"> </span>
++      Sync logic for __int32 with stdint.h (Prefer long over int).
++      * libc/include/stdint.h:
++      Remove __SPU__ hack.
++      Prefer int for int16_t (sync with _default_types.h).
++      Rework intptr_t determination.
++
++2009-10-28    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/_types.h: New.
++      Add custom time for _ssize_t.
++      * libc/stdlib/assert.c: Sync with newlib-CVS.
++      * configure.host: Add -DHAVE_ASSERT_FUNC to newlib_cflags.
++
++2009-10-27    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/sys/pthread.h:<span style="background-color: #FF0000"> </span>
++      Add pthread_atfork (Mandated by IEEE Std 1003.1-2008).
++      Add pthread_rwlock_unlock (Formerly missing)
++
++2009-10-26    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/sys/signal.h: Sync with newlib-CVS.
++
++2009-10-09    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/sys/signal.h: Use pid_t as 1st arg to kill()
++      (mandated by POSIX).
++
++2009-09-22    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
++      Remove CIRCLEQ_*.
++      * libc/search/hcreate.c: Don't include sys/queue.h.
++
++2009-09-18  Christopher Faylor  <me+cygwin@cgf.cx>
++
++      * libc/include/sys/unistd.h: Declare getpagesize as returning
++      POSIX-mandated int.
++
++2009-09-16    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/crt0.c: Use while(1) in _exit stub to silence GCC "noreturn"
++      warning.
++
++2009-09-15    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/stdlib.h: Add posix_memalign.
++
++2009-09-11    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * configure.host (m32c): Remove -D_ABORT_PROVIDED.
++
++2009-09-10    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * configure.host: Add -D_NO_POPEN.
++      * libc/sys/rtems/crt0.c: Don't provide waitpid unless used.
++
++2009-09-09    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * configure.host: Add -D_NO_WORDEXP.
++
++2009-09-06    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/crt0.c: Add issetugid.
++
++2009-09-02    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
++
++2009-07-27    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/crt0.c: Add _isatty_r.
++
++2009-07-06    Joel Sherrill <joel.sherrill@oarcorp.com>
++
++      * libc/include/sys/features.h: Define _UNIX98_THREAD_MUTEX_ATTRIBUTES.
++
++2009-05-05    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * configure.host: Remove -DMISSING_SYSCALL_NAMES.
++
++2009-03-11    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/stdlib/assert.c: Don't build __assert_func.
++      * libc/sys/rtems/crt0.c: Add __assert_func.
++
++2009-03-09    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/machine/powerpc/times.c: Remove.
++      * libc/machine/powerpc/Makefile.am: Remove times.c.
++      * libc/machine/powerpc/Makefile.in: Regenerate.
++
++2009-02-24    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/unix/ttyname.c: Sync with newlib-cvs.
++      * configure.host: Add -DHAVE_BLKSIZE to newlib_cflags.
++
++2009-02-22    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/machine/stdint.h: Add __lm32__.
++      * libc/machine/lm32/configure.in: Set AC_CONFIG_SRC to setjmp.S.
++      * libc/machine/lm32/configure: Regenerate.
++
++2009-02-20    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/unix/Makefile.in: Regenerate.
++
++2009-02-20  Craig Howland <howland@LGSInnovations.com> on behalf of
++      Sebastian Huber <sebastian.huber@embedded-brains.de>
++
++      * libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
++      coupling ttyname_r() and ttyname() due to the latter's large buffer).
++      * libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
++      ttyname.c.
++      * libc/unix/ttyname.h:  New file (common size definition for the 2
++      ttyname*c files that are now split).
++      * libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
++
++2009-02-16    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/sys/rtems/sys/param.h:
++      Update copyright notice from FreeBSD.
++      Remove HZ.
++      Add #include <sys/priority.h>
++      Remove priority handling (moved to sys/priority.h).
++      Remove CLBYTES (Unused, abandoned in BSD).
++
++2009-02-06    Ralf Corsépius <ralf.corsepius@rtems.org>
++
++      * libc/include/sched.h:
++      Remove (collides with RTEMS's schedul.h).
++
+diff -Naur newlib-1.18.0.orig/newlib/configure.host newlib-1.18.0/newlib/configure.host
+--- newlib-1.18.0.orig/newlib/configure.host   2009-12-10 18:12:11.000000000 +0100
++++ newlib-1.18.0/newlib/configure.host        2010-09-22 06:41:42.989786386 +0200
+@@ -556,6 +556,7 @@
+   *-*-rtems*)
+<span style="background-color: #FF0000"> </span> default_newlib_io_long_long="yes"
+<span style="background-color: #FF0000"> </span> default_newlib_io_c99_formats="yes"
++      newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
+<span style="background-color: #FF0000"> </span> newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC"
+         # turn off unsupported items in posix directory<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span> newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN"
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/inttypes.h newlib-1.18.0/newlib/libc/include/inttypes.h
+--- newlib-1.18.0.orig/newlib/libc/include/inttypes.h  2009-01-19 23:02:06.000000000 +0100
++++ newlib-1.18.0/newlib/libc/include/inttypes.h       2010-09-22 06:41:42.990911271 +0200
+@@ -242,6 +242,20 @@
+ #define SCNxMAX               __SCNMAX(x)
+<span style="background-color: #FF0000"> </span>
+ /* ptr types */
++#if INTPTR_MAX == INT64_MAX
++#define __PRIPTR(x) __PRI64(x)
++#define __SCNPTR(x) __SCN64(x)
++#elif INTPTR_MAX == INT32_MAX
++#define __PRIPTR(x) __PRI32(x)
++#define __SCNPTR(x) __SCN32(x)
++#elif INTPTR_MAX == INT16_MAX
++#define __PRIPTR(x) __PRI16(x)
++#define __SCNPTR(x) __SCN16(x)
++#else
++#error cannot determine PRI*PTR
++#endif
++
++#if 0
+ #if __have_long64
+ #define __PRIPTR(x) __STRINGIFY(l##x)
+ #define __SCNPTR(x) __STRINGIFY(l##x)
+@@ -252,6 +266,7 @@
+ #define __PRIPTR(x) __STRINGIFY(x)
+ #define __SCNPTR(x) __STRINGIFY(x)
+ #endif
++#endif
+<span style="background-color: #FF0000"> </span>
+ #define PRIdPTR               __PRIPTR(d)
+ #define PRIiPTR               __PRIPTR(i)
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/machine/_default_types.h newlib-1.18.0/newlib/libc/include/machine/_default_types.h
+--- newlib-1.18.0.orig/newlib/libc/include/machine/_default_types.h    2008-06-12 00:14:54.000000000 +0200
++++ newlib-1.18.0/newlib/libc/include/machine/_default_types.h 2010-09-22 06:41:42.990911271 +0200
+@@ -54,14 +54,14 @@
+ #endif
+ #endif
+<span style="background-color: #FF0000"> </span>
+-#if __EXP(INT_MAX) == 0x7fffffffL
+-typedef signed int __int32_t;
+-typedef unsigned int __uint32_t;
+-#define ___int32_t_defined 1
+-#elif __EXP(LONG_MAX) == 0x7fffffffL
++#if __EXP(LONG_MAX) == 0x7fffffffL
+ typedef signed long __int32_t;
+ typedef unsigned long __uint32_t;
+ #define ___int32_t_defined 1
++#elif __EXP(INT_MAX) == 0x7fffffffL
++typedef signed int __int32_t;
++typedef unsigned int __uint32_t;
++#define ___int32_t_defined 1
+ #elif __EXP(SHRT_MAX) == 0x7fffffffL
+ typedef signed short __int32_t;
+ typedef unsigned short __uint32_t;
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/pthread.h newlib-1.18.0/newlib/libc/include/pthread.h
+--- newlib-1.18.0.orig/newlib/libc/include/pthread.h   2009-12-17 20:22:23.000000000 +0100
++++ newlib-1.18.0/newlib/libc/include/pthread.h        2010-10-04 09:23:34.964316973 +0200
+@@ -2,7 +2,7 @@
+  *
+  *  Written by Joel Sherrill <joel@OARcorp.com>.
+  *
+- *  COPYRIGHT (c) 1989-2000.
++ *  COPYRIGHT (c) 1989-2010.
+  *  On-Line Applications Research Corporation (OAR).
+  *
+  *  Permission to use, copy, modify, and distribute this software for any
+@@ -185,10 +185,14 @@
+<span style="background-color: #FF0000"> </span>
+ int   _EXFUN(pthread_attr_init, (pthread_attr_t *__attr));
+ int   _EXFUN(pthread_attr_destroy, (pthread_attr_t *__attr));
++int   _EXFUN(pthread_attr_setstack, (pthread_attr_t *attr,
++      void *__stackaddr, size_t __stacksize));
++int   _EXFUN(pthread_attr_getstack, (_CONST pthread_attr_t *attr,
++      void **__stackaddr, size_t *__stacksize));
+ int   _EXFUN(pthread_attr_getstacksize,
+<span style="background-color: #FF0000"> </span> (_CONST pthread_attr_t *__attr, size_t *__stacksize));
+ int   _EXFUN(pthread_attr_setstacksize,
+-      (pthread_attr_t *__attr, size_t stacksize));
++      (pthread_attr_t *__attr, size_t __stacksize));
+ int   _EXFUN(pthread_attr_getstackaddr,
+<span style="background-color: #FF0000"> </span> (_CONST pthread_attr_t *__attr, void **__stackaddr));
+ int   _EXFUN(pthread_attr_setstackaddr,
+@@ -197,6 +201,10 @@
+<span style="background-color: #FF0000"> </span> (_CONST pthread_attr_t *__attr, int *__detachstate));
+ int   _EXFUN(pthread_attr_setdetachstate,
+<span style="background-color: #FF0000"> </span> (pthread_attr_t *__attr, int __detachstate));
++int   _EXFUN(pthread_attr_getguardsize,
++      (_CONST pthread_attr_t *__attr, size_t *__guardsize));
++int   _EXFUN(pthread_attr_setguardsize,
++      (pthread_attr_t *__attr, size_t __guardsize));
+<span style="background-color: #FF0000"> </span>
+ /* Thread Creation, P1003.1c/Draft 10, p. 144 */
+<span style="background-color: #FF0000"> </span>
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/sched.h newlib-1.18.0/newlib/libc/include/sched.h
+--- newlib-1.18.0.orig/newlib/libc/include/sched.h     2007-09-21 23:02:15.000000000 +0200
++++ newlib-1.18.0/newlib/libc/include/sched.h  2010-09-22 06:41:42.990911271 +0200
+@@ -1,11 +1,94 @@
++/*
++ *  Written by Joel Sherrill <joel@OARcorp.com>.
++ *
++ *  COPYRIGHT (c) 1989-2010.
++ *  On-Line Applications Research Corporation (OAR).
++ *
++ *  Permission to use, copy, modify, and distribute this software for any
++ *  purpose without fee is hereby granted, provided that this entire notice
++ *  is included in all copies of any software which is or includes a copy
++ *  or modification of this software.
++ *
++ *  THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
++ *  WARRANTY.  IN PARTICULAR,  THE AUTHOR MAKES NO REPRESENTATION
++ *  OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
++ *  SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
++ *
++ *  $Id$
++ */
++
+ #ifndef _SCHED_H_
+ #define _SCHED_H_
+<span style="background-color: #FF0000"> </span>
++#include <sys/types.h>
++#include <sys/sched.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+<span style="background-color: #FF0000"> </span>
+-#include <sys/sched.h>
++#if defined(_POSIX_PRIORITY_SCHEDULING)
++/*
++ *  XBD 13 - Set Scheduling Parameters, P1003.1b-2008, p. 1803
++ */
++int sched_setparam(
++  pid_t                     __pid,
++  const struct sched_param *__param
++);
++
++/*
++ *  XBD 13 - Set Scheduling Parameters, P1003.1b-2008, p. 1800
++ */
++int sched_getparam(
++  pid_t                     __pid,
++  struct sched_param       *__param
++);
++
++/*
++ *  XBD 13 - Set Scheduling Policy and Scheduling Parameters,
++ *         P1003.1b-2008, p. 1805
++ */
++int sched_setscheduler(
++  pid_t                     __pid,
++  int                       __policy,
++  const struct sched_param *__param
++);
++
++/*
++ *  XBD 13 - Get Scheduling Policy, P1003.1b-2008, p. 1801
++ */
++int sched_getscheduler(
++  pid_t                     __pid
++);
++
++/*
++ *  XBD 13 - Get Scheduling Parameter Limits, P1003.1b-2008, p. 1799
++ */
++int sched_get_priority_max(
++  int __policy
++);
++
++int sched_get_priority_min(
++  int  __policy
++);
++
++/*
++ *  XBD 13 - Get Scheduling Parameter Limits, P1003.1b-2008, p. 1802
++ */
++int sched_rr_get_interval(
++  pid_t             __pid,
++  struct timespec  *__interval
++);
++#endif /* _POSIX_PRIORITY_SCHEDULING */
++
++#if defined(_POSIX_THREADS) || defined(_POSIX_PRIORITY_SCHEDULING)
++
++/*
++ *  XBD 13 - Yield Processor, P1003.1b-2008, p. 1807
++ */
++int sched_yield( void );
++
++#endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */
+<span style="background-color: #FF0000"> </span>
+ #ifdef __cplusplus
+ }
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/stdint.h newlib-1.18.0/newlib/libc/include/stdint.h
+--- newlib-1.18.0.orig/newlib/libc/include/stdint.h    2009-04-24 23:55:07.000000000 +0200
++++ newlib-1.18.0/newlib/libc/include/stdint.h 2010-09-22 06:41:42.990911271 +0200
+@@ -33,7 +33,7 @@
+ /* Check if "long" is 64bit or 32bit wide */
+ #if __STDINT_EXP(LONG_MAX) > 0x7fffffff
+ #define __have_long64 1
+-#elif __STDINT_EXP(LONG_MAX) == 0x7fffffff && !defined(__SPU__)
++#elif __STDINT_EXP(LONG_MAX) == 0x7fffffff
+ #define __have_long32 1
+ #endif
+<span style="background-color: #FF0000"> </span>
+@@ -49,14 +49,14 @@
+ #define __int_least8_t_defined 1
+ #endif
+<span style="background-color: #FF0000"> </span>
+-#if __STDINT_EXP(SHRT_MAX) == 0x7fff
+-typedef signed short int16_t;
+-typedef unsigned short uint16_t;
+-#define __int16_t_defined 1
+-#elif __STDINT_EXP(INT_MAX) == 0x7fff
++#if __STDINT_EXP(INT_MAX) == 0x7fff
+ typedef signed int int16_t;
+ typedef unsigned int uint16_t;
+ #define __int16_t_defined 1
++#elif __STDINT_EXP(SHRT_MAX) == 0x7fff
++typedef signed short int16_t;
++typedef unsigned short uint16_t;
++#define __int16_t_defined 1
+ #elif __STDINT_EXP(SCHAR_MAX) == 0x7fff
+ typedef signed char int16_t;
+ typedef unsigned char uint16_t;
+@@ -239,6 +239,29 @@
+  * GCC doesn't provide an appropriate macro for [u]intptr_t
+  * For now, use __PTRDIFF_TYPE__
+  */
++#if defined(__SIZEOF_POINTER__)
++#if __SIZEOF_POINTER__ == 8
++  typedef int64_t intptr_t;
++  typedef uint64_t uintptr_t;
++#define INTPTR_MAX INT64_MAX
++#define INTPTR_MIN INT64_MIN
++#define UINTPTR_MAX UINT64_MAX
++#elif __SIZEOF_POINTER__ == 4
++  typedef int32_t intptr_t;
++  typedef uint32_t uintptr_t;
++#define INTPTR_MAX INT32_MAX
++#define INTPTR_MIN INT32_MIN
++#define UINTPTR_MAX UINT32_MAX
++#elif __SIZEOF_POINTER__ == 2
++  typedef int16_t intptr_t;
++  typedef uint16_t uintptr_t;
++#define INTPTR_MAX INT16_MAX
++#define INTPTR_MIN INT16_MIN
++#define UINTPTR_MAX UINT16_MAX
++#else
++#error cannot determine intptr_t
++#endif
++#else
+ #if defined(__PTRDIFF_TYPE__)
+ typedef signed __PTRDIFF_TYPE__ intptr_t;
+ typedef unsigned __PTRDIFF_TYPE__ uintptr_t;
+@@ -260,6 +283,7 @@
+ #define INTPTR_MIN (-__STDINT_EXP(LONG_MAX) - 1)
+ #define UINTPTR_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
+ #endif
++#endif
+<span style="background-color: #FF0000"> </span>
+ /* Limits of Specified-Width Integer Types */
+<span style="background-color: #FF0000"> </span>
+@@ -408,6 +432,8 @@
+ /* This must match size_t in stddef.h, currently long unsigned int */
+ #ifdef __SIZE_MAX__
+ #define SIZE_MAX __SIZE_MAX__
++#elif defined(__SIZEOF_SIZE_T__) && defined(__CHAR_BIT__)
++#define SIZE_MAX (__SIZEOF_SIZE_T__ * __CHAR_BIT__)
+ #else
+ #define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1)
+ #endif
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/string.h newlib-1.18.0/newlib/libc/include/string.h
+--- newlib-1.18.0.orig/newlib/libc/include/string.h    2008-06-18 17:27:27.000000000 +0200
++++ newlib-1.18.0/newlib/libc/include/string.h 2010-09-22 06:41:42.991911281 +0200
+@@ -49,18 +49,11 @@
+ #ifndef __STRICT_ANSI__
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(strtok_r,(char *, const char *, char **));
+<span style="background-color: #FF0000"> </span>
+-int    _EXFUN(bcmp,(const void *, const void *, size_t));
+-void   _EXFUN(bcopy,(const void *, void *, size_t));
+-void   _EXFUN(bzero,(void *, size_t));
+-int    _EXFUN(ffs,(int));
+-char<span style="background-color: #FF0000"> </span>    *_EXFUN(index,(const char *, int));
+ _PTR   _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
+ _PTR   _EXFUN(mempcpy,(_PTR, const _PTR, size_t));
+ _PTR   _EXFUN(memmem, (const _PTR, size_t, const _PTR, size_t));
+-char<span style="background-color: #FF0000"> </span>    *_EXFUN(rindex,(const char *, int));
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(stpcpy,(char *, const char *));
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(stpncpy,(char *, const char *, size_t));
+-int    _EXFUN(strcasecmp,(const char *, const char *));
+ char  *_EXFUN(strcasestr,(const char *, const char *));
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(strdup,(const char *));
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(_strdup_r,(struct _reent *, const char *));
+@@ -69,7 +62,6 @@
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(strerror_r,(int, char *, size_t));
+ size_t         _EXFUN(strlcat,(char *, const char *, size_t));
+ size_t         _EXFUN(strlcpy,(char *, const char *, size_t));
+-int    _EXFUN(strncasecmp,(const char *, const char *, size_t));
+ size_t         _EXFUN(strnlen,(const char *, size_t));
+ char<span style="background-color: #FF0000"> </span>    *_EXFUN(strsep,(char **, const char *));
+ char  *_EXFUN(strlwr,(char *));
+@@ -81,20 +73,6 @@
+ int     _EXFUN(strtosigno, (const char *__name));
+ #endif
+<span style="background-color: #FF0000"> </span>
+-/* These function names are used on Windows and perhaps other systems.  */
+-#ifndef strcmpi
+-#define strcmpi strcasecmp
+-#endif
+-#ifndef stricmp
+-#define stricmp strcasecmp
+-#endif
+-#ifndef strncmpi
+-#define strncmpi strncasecmp
+-#endif
+-#ifndef strnicmp
+-#define strnicmp strncasecmp
+-#endif
+-
+ #endif /* ! __STRICT_ANSI__ */
+<span style="background-color: #FF0000"> </span>
+ #include <sys/string.h>
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/strings.h newlib-1.18.0/newlib/libc/include/strings.h
+--- newlib-1.18.0.orig/newlib/libc/include/strings.h   1970-01-01 01:00:00.000000000 +0100
++++ newlib-1.18.0/newlib/libc/include/strings.h        2010-09-22 06:41:42.991911281 +0200
+@@ -0,0 +1,44 @@
++/*
++ * strings.h
++ *
++ * Definitions for string operations.
++ */
++
++#ifndef _STRINGS_H_
++#define _STRINGS_H_
++
++#include "_ansi.h"
++#include <sys/reent.h>
++
++#include <sys/types.h> /* for size_t */
++#include <locale.h> /* for locale_t */
++
++_BEGIN_STD_C
++
++#ifndef __STRICT_ANSI__
++/*<span style="background-color: #FF0000"> </span>
++ * Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
++ * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
++ */
++int    _EXFUN(bcmp,(const void *, const void *, size_t));
++void   _EXFUN(bcopy,(const void *, void *, size_t));
++void   _EXFUN(bzero,(void *, size_t));
++char<span style="background-color: #FF0000"> </span>    *_EXFUN(index,(const char *, int));
++char<span style="background-color: #FF0000"> </span>    *_EXFUN(rindex,(const char *, int));
++#endif /* ! __STRICT_ANSI__ */
++
++int    _EXFUN(ffs,(int));
++int    _EXFUN(strcasecmp,(const char *, const char *));
++#if 0
++/* Not implemented */
++int    _EXFUN(strcasecmp_l,(const char *, const char *, locale_t));
++#endif
++int    _EXFUN(strncasecmp,(const char *, const char *, size_t));
++#if 0
++/* Not implemented */
++int    _EXFUN(strncasecmp_l,(const char *, const char *, size_t, locale_t));
++#endif
++
++_END_STD_C
++
++#endif /* _STRINGS_H_ */
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/sys/sched.h newlib-1.18.0/newlib/libc/include/sys/sched.h
+--- newlib-1.18.0.orig/newlib/libc/include/sys/sched.h 2002-06-20 21:51:24.000000000 +0200
++++ newlib-1.18.0/newlib/libc/include/sys/sched.h      2010-09-22 06:41:42.991911281 +0200
+@@ -1,7 +1,7 @@
+ /*
+  *  Written by Joel Sherrill <joel@OARcorp.com>.
+  *
+- *  COPYRIGHT (c) 1989-2000.
++ *  COPYRIGHT (c) 1989-2010.
+  *  On-Line Applications Research Corporation (OAR).
+  *
+  *  Permission to use, copy, modify, and distribute this software for any
+@@ -14,51 +14,53 @@
+  *  OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
+  *  SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+  *
+- *  $Id$
++ *  $Id$
+  */
+<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span>
+-#ifndef __POSIX_SYS_SCHEDULING_h
+-#define __POSIX_SYS_SCHEDULING_h
++#ifndef _SYS_SCHED_H_
++#define _SYS_SCHED_H_
+<span style="background-color: #FF0000"> </span>
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+<span style="background-color: #FF0000"> </span>
+-#include <sys/unistd.h>
+-
+-#include <sys/types.h>
+-#include <sys/time.h>
+-
+-/* Scheduling Policies, P1003.1b-1993, p. 250
+-   NOTE:  SCHED_SPORADIC added by P1003.4b/D8, p. 34.  */
+-
++/* Scheduling Policies */
++/* Open Group Specifications Issue 6 */
++#if defined(__CYGWIN__)
++#define SCHED_OTHER    3
++#else
+ #define SCHED_OTHER    0
++#endif
++
+ #define SCHED_FIFO     1
+ #define SCHED_RR       2
+<span style="background-color: #FF0000"> </span>
+ #if defined(_POSIX_SPORADIC_SERVER)
+-#define SCHED_SPORADIC 3<span style="background-color: #FF0000"> </span>
++#define SCHED_SPORADIC 4
+ #endif
+<span style="background-color: #FF0000"> </span>
+-/* Scheduling Parameters, P1003.1b-1993, p. 249
+-   NOTE:  Fields whose name begins with "ss_" added by P1003.4b/D8, p. 33.  */
++/* Scheduling Parameters */
++/* Open Group Specifications Issue 6 */
+<span style="background-color: #FF0000"> </span>
+ struct sched_param {
+   int sched_priority;           /* Process execution scheduling priority */
+<span style="background-color: #FF0000"> </span>
+-#if defined(_POSIX_SPORADIC_SERVER)
+-  int ss_low_priority;          /* Low scheduling priority for sporadic */
++#if defined(_POSIX_SPORADIC_SERVER) || defined(_POSIX_THREAD_SPORADIC_SERVER)
++  int sched_ss_low_priority;    /* Low scheduling priority for sporadic */
+                                 /*   server */
+-  struct timespec ss_replenish_period;<span style="background-color: #FF0000"> </span>
++  struct timespec sched_ss_repl_period;
+                                 /* Replenishment period for sporadic server */
+-  struct timespec ss_initial_budget;   /* Initial budget for sporadic server */
++  struct timespec sched_ss_init_budget;
++                               /* Initial budget for sporadic server */
++  int sched_ss_max_repl;       /* Maximum pending replenishments for */
++                               /* sporadic server */
+ #endif
+ };
+<span style="background-color: #FF0000"> </span>
+ #ifdef __cplusplus
+ }
+-#endif<span style="background-color: #FF0000"> </span>
++#endif
+<span style="background-color: #FF0000"> </span>
+ #endif
+ /* end of include file */
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/sys/types.h newlib-1.18.0/newlib/libc/include/sys/types.h
+--- newlib-1.18.0.orig/newlib/libc/include/sys/types.h 2009-09-28 18:42:21.000000000 +0200
++++ newlib-1.18.0/newlib/libc/include/sys/types.h      2010-10-04 09:23:34.965316864 +0200
+@@ -176,7 +176,11 @@
+ #endif
+ typedef _ssize_t ssize_t;
+<span style="background-color: #FF0000"> </span>
+-#ifndef __CYGWIN__
++#if defined(__rtems__)
++typedef _mode_t mode_t;
++#endif
++
++#if !defined(__CYGWIN__) && !defined(__rtems__)
+ #ifdef __MS_types__
+ typedef       char *  addr_t;
+ typedef int mode_t;
+@@ -349,6 +353,7 @@
+   int inheritsched;
+   int schedpolicy;
+   struct sched_param schedparam;
++  size_t guardsize;
+ #endif /* !defined(__XMK__) */
+<span style="background-color: #FF0000"> </span>
+   /* P1003.4b/D8, p. 54 adds cputime_clock_allowed attribute.  */
+diff -Naur newlib-1.18.0.orig/newlib/libc/include/sys/unistd.h newlib-1.18.0/newlib/libc/include/sys/unistd.h
+--- newlib-1.18.0.orig/newlib/libc/include/sys/unistd.h        2009-12-17 20:43:43.000000000 +0100
++++ newlib-1.18.0/newlib/libc/include/sys/unistd.h     2010-09-22 06:41:42.992911566 +0200
+@@ -93,7 +93,7 @@
+ pid_t   _EXFUN(getpgrp, (void ));
+ pid_t   _EXFUN(getpid, (void ));
+ pid_t   _EXFUN(getppid, (void ));
+-#ifdef __CYGWIN__
++#if defined(__CYGWIN__) || defined(__rtems__)
+ pid_t   _EXFUN(getsid, (pid_t));
+ #endif
+ #if !defined(__INSIDE_CYGWIN__)
+@@ -142,7 +142,7 @@
+ #endif
+ void *  _EXFUN(sbrk,  (ptrdiff_t __incr));
+ #if !defined(__INSIDE_CYGWIN__)
+-#if defined(__CYGWIN__)
++#if defined(__CYGWIN__) || defined(__rtems__)
+ int     _EXFUN(setegid, (gid_t __gid ));
+ int     _EXFUN(seteuid, (uid_t __uid ));
+ #endif
+diff -Naur newlib-1.18.0.orig/newlib/libc/machine/powerpc/Makefile.am newlib-1.18.0/newlib/libc/machine/powerpc/Makefile.am
+--- newlib-1.18.0.orig/newlib/libc/machine/powerpc/Makefile.am 2007-05-24 19:33:35.000000000 +0200
++++ newlib-1.18.0/newlib/libc/machine/powerpc/Makefile.am      2010-09-22 06:41:42.992911566 +0200
+@@ -10,7 +10,7 @@
+<span style="background-color: #FF0000"> </span>
+ AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
+<span style="background-color: #FF0000"> </span>
+-lib_a_SOURCES = setjmp.S times.c
++lib_a_SOURCES = setjmp.S
+ lib_a_CCASFLAGS=$(AM_CCASFLAGS)
+ lib_a_CFLAGS=$(AM_CFLAGS)
+ lib_a_LIBADD = @extra_objs@
+diff -Naur newlib-1.18.0.orig/newlib/libc/machine/powerpc/Makefile.in newlib-1.18.0/newlib/libc/machine/powerpc/Makefile.in
+--- newlib-1.18.0.orig/newlib/libc/machine/powerpc/Makefile.in 2009-10-21 00:44:03.000000000 +0200
++++ newlib-1.18.0/newlib/libc/machine/powerpc/Makefile.in      2010-09-22 06:41:42.992911566 +0200
+@@ -51,7 +51,7 @@
+ LIBRARIES = $(noinst_LIBRARIES)
+ ARFLAGS = cru
+ lib_a_AR = $(AR) $(ARFLAGS)
+-am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT) lib_a-times.$(OBJEXT)
++am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
+ lib_a_OBJECTS = $(am_lib_a_OBJECTS)
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp =
+@@ -173,7 +173,7 @@
+ AM_CCASFLAGS = $(INCLUDES)
+ noinst_LIBRARIES = lib.a
+ AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
+-lib_a_SOURCES = setjmp.S times.c
++lib_a_SOURCES = setjmp.S
+ lib_a_CCASFLAGS = $(AM_CCASFLAGS)
+ lib_a_CFLAGS = $(AM_CFLAGS)
+ lib_a_LIBADD = @extra_objs@
+@@ -184,7 +184,7 @@
+ all: all-am
+<span style="background-color: #FF0000"> </span>
+ .SUFFIXES:
+-.SUFFIXES: .S .c .o .obj
++.SUFFIXES: .S .o .obj
+ am--refresh:
+<span style="background-color: #FF0000"> </span> @:
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+@@ -245,18 +245,6 @@
+ lib_a-setjmp.obj: setjmp.S
+<span style="background-color: #FF0000"> </span> $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
+<span style="background-color: #FF0000"> </span>
+-.c.o:
+-      $(COMPILE) -c $<
+-
+-.c.obj:
+-      $(COMPILE) -c `$(CYGPATH_W) '$<'`
+-
+-lib_a-times.o: times.c
+-      $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-times.o `test -f 'times.c' || echo '$(srcdir)/'`times.c
+-
+-lib_a-times.obj: times.c
+-      $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-times.obj `if test -f 'times.c'; then $(CYGPATH_W) 'times.c'; else $(CYGPATH_W) '$(srcdir)/times.c'; fi`
+-
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+<span style="background-color: #FF0000"> </span> list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+<span style="background-color: #FF0000"> </span> unique=`for i in $$list; do \
+diff -Naur newlib-1.18.0.orig/newlib/libc/machine/powerpc/times.c newlib-1.18.0/newlib/libc/machine/powerpc/times.c
+--- newlib-1.18.0.orig/newlib/libc/machine/powerpc/times.c     2002-07-22 22:26:51.000000000 +0200
++++ newlib-1.18.0/newlib/libc/machine/powerpc/times.c  1970-01-01 01:00:00.000000000 +0100
+@@ -1,36 +0,0 @@
+-/* Time support routines for PowerPC.
+- *
+- * Written by Aldy Hernandez.
+- */
+-
+-#include <_ansi.h>
+-#include <reent.h>
+-#include <sys/time.h>
+-#include <sys/times.h>
+-#include <sys/resource.h>
+-
+-clock_t
+-times (struct tms *tp)
+-{
+-  struct rusage usage;
+-  union {
+-    struct rusage r;
+-    /* Newlib's rusage has only 2 fields.  We need to make room for
+-       when we call the system's rusage.  This should be enough.  */
+-    int filler[32];
+-  } host_ru;
+-
+-  getrusage (RUSAGE_SELF, (void *)&host_ru);
+-
+-  if (tp)
+-    {
+-      tp->tms_utime = host_ru.r.ru_utime.tv_sec * 1000
+-      + host_ru.r.ru_utime.tv_usec;
+-      tp->tms_stime = host_ru.r.ru_stime.tv_sec * 1000
+-      + host_ru.r.ru_stime.tv_usec;
+-      tp->tms_cutime = 0;  /* user time, children */
+-      tp->tms_cstime = 0;  /* system time, children */
+-    }
+-
+-  return tp->tms_utime;
+-}
+diff -Naur newlib-1.18.0.orig/newlib/libc/misc/ffs.c newlib-1.18.0/newlib/libc/misc/ffs.c
+--- newlib-1.18.0.orig/newlib/libc/misc/ffs.c  2003-06-06 21:57:51.000000000 +0200
++++ newlib-1.18.0/newlib/libc/misc/ffs.c       2010-09-22 06:41:42.995911299 +0200
+@@ -24,7 +24,7 @@
+<span style="background-color: #FF0000"> </span>
+ No supporting OS subroutines are required.  */
+<span style="background-color: #FF0000"> </span>
+-#include <_ansi.h>
++#include <strings.h>
+<span style="background-color: #FF0000"> </span>
+ int
+ _DEFUN(ffs, (word),
+diff -Naur newlib-1.18.0.orig/newlib/libc/posix/opendir.c newlib-1.18.0/newlib/libc/posix/opendir.c
+--- newlib-1.18.0.orig/newlib/libc/posix/opendir.c     2003-06-06 21:57:51.000000000 +0200
++++ newlib-1.18.0/newlib/libc/posix/opendir.c  2010-09-22 06:41:42.996911555 +0200
+@@ -74,6 +74,7 @@
+<span style="background-color: #FF0000"> </span> dirp->dd_len = 512;
+<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span> if (dirp->dd_buf == NULL) {
++              free(dirp);
+<span style="background-color: #FF0000"> </span>         close (fd);
+<span style="background-color: #FF0000"> </span>         return NULL;
+<span style="background-color: #FF0000"> </span> }
+diff -Naur newlib-1.18.0.orig/newlib/libc/posix/rewinddir.c newlib-1.18.0/newlib/libc/posix/rewinddir.c
+--- newlib-1.18.0.orig/newlib/libc/posix/rewinddir.c   2003-06-06 21:57:51.000000000 +0200
++++ newlib-1.18.0/newlib/libc/posix/rewinddir.c        2010-09-22 06:41:42.996911555 +0200
+@@ -48,7 +48,7 @@
+ #ifdef HAVE_DD_LOCK
+<span style="background-color: #FF0000"> </span> __lock_acquire_recursive(dirp->dd_lock);
+ #endif
+-      _seekdir((dirp), (off_t)0);
++      _seekdir((dirp), 0L);
+ #ifdef HAVE_DD_LOCK
+<span style="background-color: #FF0000"> </span> __lock_release_recursive(dirp->dd_lock);
+ #endif
+diff -Naur newlib-1.18.0.orig/newlib/libc/posix/telldir.c newlib-1.18.0/newlib/libc/posix/telldir.c
+--- newlib-1.18.0.orig/newlib/libc/posix/telldir.c     2008-11-27 22:01:40.000000000 +0100
++++ newlib-1.18.0/newlib/libc/posix/telldir.c  2010-09-22 06:41:42.996911555 +0200
+@@ -67,7 +67,7 @@
+ #define       NDIRHASH        32      /* Num of hash lists, must be a power of 2 */
+ #define       LOCHASH(i)      ((i)&(NDIRHASH-1))
+<span style="background-color: #FF0000"> </span>
+-static long   dd_loccnt;      /* Index of entry for sequential readdir's */
++static long   dd_loccnt = 1;  /* Index of entry for sequential readdir's */
+ static struct ddloc *dd_hash[NDIRHASH];   /* Hash list heads for ddlocs */
+ __LOCK_INIT(static, dd_hash_lock);
+<span style="background-color: #FF0000"> </span>
+@@ -119,40 +119,46 @@
+<span style="background-color: #FF0000"> </span> register struct ddloc *lp;
+<span style="background-color: #FF0000"> </span> register struct ddloc **prevlp;
+<span style="background-color: #FF0000"> </span> struct dirent *dp;
+-      extern long lseek();
+<span style="background-color: #FF0000"> </span>
+ #ifdef HAVE_DD_LOCK
+<span style="background-color: #FF0000"> </span> __lock_acquire(dd_hash_lock);
+ #endif
+-      prevlp = &dd_hash[LOCHASH(loc)];
+-      lp = *prevlp;
+-      while (lp != NULL) {
+-              if (lp->loc_index == loc)
+-                      break;
+-              prevlp = &lp->loc_next;
+-              lp = lp->loc_next;
+-      }
+-      if (lp == NULL) {
++      if (loc != 0) {
++              prevlp = &dd_hash[LOCHASH(loc)];
++              lp = *prevlp;
++              while (lp != NULL) {
++                      if (lp->loc_index == loc)
++                              break;
++                      prevlp = &lp->loc_next;
++                      lp = lp->loc_next;
++              }
++              if (lp == NULL) {
+ #ifdef HAVE_DD_LOCK
+-              __lock_release(dd_hash_lock);
++                      __lock_release(dd_hash_lock);
+ #endif
+-              return;
+-      }
+-      if (lp->loc_loc == dirp->dd_loc && lp->loc_seek == dirp->dd_seek)
+-              goto found;
+-      (void) lseek(dirp->dd_fd, lp->loc_seek, 0);
+-      dirp->dd_seek = lp->loc_seek;
+-      dirp->dd_loc = 0;
+-      while (dirp->dd_loc < lp->loc_loc) {
+-              dp = readdir(dirp);
+-              if (dp == NULL)
+-                      break;
+-      }
++                      return;
++              }
++              if (lp->loc_loc == dirp->dd_loc && lp->loc_seek == dirp->dd_seek)
++                      goto found;
++              (void) lseek(dirp->dd_fd, lp->loc_seek, 0);
++              dirp->dd_seek = lp->loc_seek;
++              dirp->dd_loc = 0;
++              while (dirp->dd_loc < lp->loc_loc) {
++                      dp = readdir(dirp);
++                      if (dp == NULL)
++                              break;
++              }
+ found:
+ #ifdef SINGLEUSE
+-      *prevlp = lp->loc_next;
+-      free((caddr_t)lp);
++              *prevlp = lp->loc_next;
++              free((caddr_t)lp);
+ #endif
++      } else {
++              // loc 0 means rewinding
++              (void) lseek(dirp->dd_fd, 0, 0);
++              dirp->dd_seek = 0;
++              dirp->dd_loc = 0;
++      }
+ #ifdef HAVE_DD_LOCK
+<span style="background-color: #FF0000"> </span> __lock_release(dd_hash_lock);
+ #endif
+@@ -169,26 +175,26 @@
+<span style="background-color: #FF0000"> </span> __lock_acquire(dd_hash_lock);
+ #endif
+<span style="background-color: #FF0000"> </span> for (i = 0; i < NDIRHASH; ++i) {
++              struct ddloc head;
+<span style="background-color: #FF0000"> </span>         register struct ddloc *lp;
+<span style="background-color: #FF0000"> </span>         register struct ddloc *prevlp;
++
+<span style="background-color: #FF0000"> </span>         lp = dd_hash[i];
+-              while (lp != NULL && lp->loc_dirp == dirp) {
+-                      dd_hash[i] = lp->loc_next;
+-                      prevlp = lp;
+-                      free((caddr_t)lp);
+-                      lp = prevlp->loc_next;
+-              }
+-              prevlp = lp;
++              head.loc_next = lp;
++              prevlp = &head;
+<span style="background-color: #FF0000"> </span>         while (lp != NULL) {
+-                      lp = lp->loc_next;
+-                      if (lp != NULL && lp->loc_dirp == dirp) {
+-                              prevlp->loc_next = lp->loc_next;
++                      struct ddloc *nextlp;
++
++                      nextlp = lp->loc_next;
++                      if (lp->loc_dirp == dirp) {
++                              prevlp->loc_next = nextlp;
+<span style="background-color: #FF0000"> </span>                         free((caddr_t)lp);
+-                              lp = prevlp;
+<span style="background-color: #FF0000"> </span>                 }
+<span style="background-color: #FF0000"> </span>                 else
+<span style="background-color: #FF0000"> </span>                         prevlp = lp;
++                      lp = nextlp;
+<span style="background-color: #FF0000"> </span>         }
++              dd_hash[i] = head.loc_next;
+<span style="background-color: #FF0000"> </span> }
+ #ifdef HAVE_DD_LOCK
+<span style="background-color: #FF0000"> </span> __lock_release(dd_hash_lock);
+diff -Naur newlib-1.18.0.orig/newlib/libc/search/db_local.h newlib-1.18.0/newlib/libc/search/db_local.h
+--- newlib-1.18.0.orig/newlib/libc/search/db_local.h   2002-06-25 01:05:08.000000000 +0200
++++ newlib-1.18.0/newlib/libc/search/db_local.h        2010-09-22 06:41:42.997911326 +0200
+@@ -102,11 +102,11 @@
+ typedef struct __db {
+<span style="background-color: #FF0000"> </span> DBTYPE type;                    /* Underlying db type. */
+<span style="background-color: #FF0000"> </span> int (*close)(struct __db *);
+-      int (*del)(const struct __db *, const DBT *, u_int);
+-      int (*get)(const struct __db *, const DBT *, DBT *, u_int);
+-      int (*put)(const struct __db *, DBT *, const DBT *, u_int);
+-      int (*seq)(const struct __db *, DBT *, DBT *, u_int);
+-      int (*sync)(const struct __db *, u_int);
++      int (*del)(const struct __db *, const DBT *, __uint32_t);
++      int (*get)(const struct __db *, const DBT *, DBT *, __uint32_t);
++      int (*put)(const struct __db *, DBT *, const DBT *, __uint32_t);
++      int (*seq)(const struct __db *, DBT *, DBT *, __uint32_t);
++      int (*sync)(const struct __db *, __uint32_t);
+<span style="background-color: #FF0000"> </span> void *internal;                 /* Access method private. */
+<span style="background-color: #FF0000"> </span> int (*fd)(const struct __db *);
+ } DB;
+diff -Naur newlib-1.18.0.orig/newlib/libc/search/extern.h newlib-1.18.0/newlib/libc/search/extern.h
+--- newlib-1.18.0.orig/newlib/libc/search/extern.h     2002-06-20 21:51:31.000000000 +0200
++++ newlib-1.18.0/newlib/libc/search/extern.h  2010-09-22 06:41:42.997911326 +0200
+@@ -43,7 +43,7 @@
+ int    __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
+<span style="background-color: #FF0000"> </span>         int, __uint32_t, SPLIT_RETURN *);
+ int    __buf_free(HTAB *, int, int);
+-void   __buf_init(HTAB *, int);
++void   __buf_init(HTAB *, __uint32_t);
+ __uint32_t     __call_hash(HTAB *, char *, int);
+ int    __delpair(HTAB *, BUFHEAD *, int);
+ int    __expand_table(HTAB *);
+diff -Naur newlib-1.18.0.orig/newlib/libc/search/hash_buf.c newlib-1.18.0/newlib/libc/search/hash_buf.c
+--- newlib-1.18.0.orig/newlib/libc/search/hash_buf.c   2004-05-26 19:57:10.000000000 +0200
++++ newlib-1.18.0/newlib/libc/search/hash_buf.c        2010-09-22 06:41:42.997911326 +0200
+@@ -118,7 +118,7 @@
+<span style="background-color: #FF0000"> </span> int newpage;    /* If prev_bp set, indicates a new overflow page. */
+ {
+<span style="background-color: #FF0000"> </span> BUFHEAD *bp;
+-      __uint32_t is_disk_mask;
++      ptrdiff_t is_disk_mask;
+<span style="background-color: #FF0000"> </span> int is_disk, segment_ndx;
+<span style="background-color: #FF0000"> </span> SEGMENT segp;
+<span style="background-color: #FF0000"> </span>
+@@ -298,7 +298,7 @@
+ extern void
+ __buf_init(hashp, nbytes)
+<span style="background-color: #FF0000"> </span> HTAB *hashp;
+-      int nbytes;
++      __uint32_t nbytes;
+ {
+<span style="background-color: #FF0000"> </span> BUFHEAD *bfp;
+<span style="background-color: #FF0000"> </span> int npages;
+diff -Naur newlib-1.18.0.orig/newlib/libc/search/hash.h newlib-1.18.0/newlib/libc/search/hash.h
+--- newlib-1.18.0.orig/newlib/libc/search/hash.h       2008-07-02 20:38:45.000000000 +0200
++++ newlib-1.18.0/newlib/libc/search/hash.h    2010-09-22 06:41:42.997911326 +0200
+@@ -82,7 +82,7 @@
+<span style="background-color: #FF0000"> </span>
+ /* Hash Table Information */
+ typedef struct hashhdr {              /* Disk resident portion */
+-      int             magic;          /* Magic NO for hash tables */
++      __uint32_t      magic;          /* Magic NO for hash tables */
+<span style="background-color: #FF0000"> </span> int             version;        /* Version ID */
+<span style="background-color: #FF0000"> </span> __uint32_t      lorder;         /* Byte Order */
+<span style="background-color: #FF0000"> </span> int             bsize;          /* Bucket/Page Size */
+@@ -97,7 +97,7 @@
+<span style="background-color: #FF0000"> </span> int             high_mask;      /* Mask to modulo into entire table */
+<span style="background-color: #FF0000"> </span> int             low_mask;       /* Mask to modulo into lower half of<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span>                                  * table */
+-      int             ffactor;        /* Fill factor */
++      __uint32_t      ffactor;        /* Fill factor */
+<span style="background-color: #FF0000"> </span> int             nkeys;          /* Number of keys in hash table */
+<span style="background-color: #FF0000"> </span> int             hdrpages;       /* Size of table header */
+<span style="background-color: #FF0000"> </span> int             h_charkey;      /* value of hash(CHARKEY) */
+diff -Naur newlib-1.18.0.orig/newlib/libc/stdlib/putenv_r.c newlib-1.18.0/newlib/libc/stdlib/putenv_r.c
+--- newlib-1.18.0.orig/newlib/libc/stdlib/putenv_r.c   2004-11-24 23:34:14.000000000 +0100
++++ newlib-1.18.0/newlib/libc/stdlib/putenv_r.c        2010-09-22 06:41:42.998911276 +0200
+@@ -24,6 +24,7 @@
+ #include <reent.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+<span style="background-color: #FF0000"> </span>
+ #include "envlock.h"
+<span style="background-color: #FF0000"> </span>
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/bcmp.c newlib-1.18.0/newlib/libc/string/bcmp.c
+--- newlib-1.18.0.orig/newlib/libc/string/bcmp.c       2005-10-28 23:21:07.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/bcmp.c    2010-09-22 06:41:42.998911276 +0200
+@@ -6,11 +6,11 @@
+<span style="background-color: #FF0000"> </span> bcmp
+<span style="background-color: #FF0000"> </span>
+ ANSI_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> int bcmp(const void *<[s1]>, const void *<[s2]>, size_t <[n]>);
+<span style="background-color: #FF0000"> </span>
+ TRAD_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> int bcmp(<[s1]>, <[s2]>, <[n]>)
+<span style="background-color: #FF0000"> </span> const void *<[s1]>;
+<span style="background-color: #FF0000"> </span> const void *<[s2]>;
+@@ -35,7 +35,7 @@
+<span style="background-color: #FF0000"> </span> bcmp ansi pure
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
+<span style="background-color: #FF0000"> </span>
+ int
+ _DEFUN (bcmp, (m1, m2, n),
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/bcopy.c newlib-1.18.0/newlib/libc/string/bcopy.c
+--- newlib-1.18.0.orig/newlib/libc/string/bcopy.c      2002-05-23 20:46:04.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/bcopy.c   2010-09-22 06:41:42.999911328 +0200
+@@ -3,7 +3,7 @@
+<span style="background-color: #FF0000"> </span> <<bcopy>>---copy memory regions
+<span style="background-color: #FF0000"> </span>
+ ANSI_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> void bcopy(const void *<[in]>, void *<[out]>, size_t <[n]>);
+<span style="background-color: #FF0000"> </span>
+ TRAD_SYNOPSIS
+@@ -26,7 +26,7 @@
+<span style="background-color: #FF0000"> </span> bcopy - pure
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
+<span style="background-color: #FF0000"> </span>
+ void
+ _DEFUN (bcopy, (b1, b2, length),
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/bzero.c newlib-1.18.0/newlib/libc/string/bzero.c
+--- newlib-1.18.0.orig/newlib/libc/string/bzero.c      2002-05-23 20:46:04.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/bzero.c   2010-09-22 06:41:42.999911328 +0200
+@@ -6,11 +6,11 @@
+<span style="background-color: #FF0000"> </span> bzero
+<span style="background-color: #FF0000"> </span>
+ ANSI_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> void bzero(void *<[b]>, size_t <[length]>);
+<span style="background-color: #FF0000"> </span>
+ TRAD_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> void bzero(<[b]>, <[length]>)
+<span style="background-color: #FF0000"> </span> void *<[b]>;
+<span style="background-color: #FF0000"> </span> size_t <[length]>;
+@@ -30,7 +30,7 @@
+ <<bzero>> requires no supporting OS subroutines.
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
+<span style="background-color: #FF0000"> </span>
+ _VOID
+ _DEFUN (bzero, (b, length),
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/index.c newlib-1.18.0/newlib/libc/string/index.c
+--- newlib-1.18.0.orig/newlib/libc/string/index.c      2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/index.c   2010-09-22 06:41:42.999911328 +0200
+@@ -10,7 +10,7 @@
+<span style="background-color: #FF0000"> </span> char * index(const char *<[string]>, int <[c]>);
+<span style="background-color: #FF0000"> </span>
+ TRAD_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> char * index(<[string]>, <[c]>);
+<span style="background-color: #FF0000"> </span> char *<[string]>;
+<span style="background-color: #FF0000"> </span> int *<[c]>;
+@@ -33,7 +33,8 @@
+<span style="background-color: #FF0000"> </span> index - pure
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
++#include <string.h> /* strchr */
+<span style="background-color: #FF0000"> </span>
+ char *
+ _DEFUN (index, (s, c),
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/memccpy.c newlib-1.18.0/newlib/libc/string/memccpy.c
+--- newlib-1.18.0.orig/newlib/libc/string/memccpy.c    2002-07-23 23:38:00.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/memccpy.c 2010-09-22 06:42:08.242911422 +0200
+@@ -92,12 +92,11 @@
+   _CONST char *src = src0;
+   long *aligned_dst;
+   _CONST long *aligned_src;
+-  int   len =  len0;
+   char endchar = endchar0 & 0xff;
+<span style="background-color: #FF0000"> </span>
+   /* If the size is small, or either SRC or DST is unaligned,
+      then punt into the byte copy loop.  This should be rare.  */
+-  if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
++  if (!TOO_SMALL(len0) && !UNALIGNED (src, dst))
+     {
+       int i;
+       unsigned long mask = 0;
+@@ -116,14 +115,14 @@
+<span style="background-color: #FF0000"> </span>
+<span style="background-color: #FF0000"> </span>
+       /* Copy one long word at a time if possible.  */
+-      while (len >= LITTLEBLOCKSIZE)
++      while (len0 >= LITTLEBLOCKSIZE)
+         {
+           unsigned long buffer = (unsigned long)(*aligned_src);
+           buffer ^=  mask;
+           if (DETECTNULL (buffer))
+             break; /* endchar is found, go byte by byte from here */
+           *aligned_dst++ = *aligned_src++;
+-          len -= LITTLEBLOCKSIZE;
++          len0 -= LITTLEBLOCKSIZE;
+         }
+<span style="background-color: #FF0000"> </span>
+        /* Pick up any residual with a byte copier.  */
+@@ -131,7 +130,7 @@
+       src = (char*)aligned_src;
+     }
+<span style="background-color: #FF0000"> </span>
+-  while (len--)
++  while (len0--)
+     {
+       if ((*dst++ = *src++) == endchar)
+         {
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/memcpy.c newlib-1.18.0/newlib/libc/string/memcpy.c
+--- newlib-1.18.0.orig/newlib/libc/string/memcpy.c     2008-12-11 18:27:56.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/memcpy.c  2010-09-22 06:42:08.242911422 +0200
+@@ -72,30 +72,29 @@
+   _CONST char *src = src0;
+   long *aligned_dst;
+   _CONST long *aligned_src;
+-  int   len =  len0;
+<span style="background-color: #FF0000"> </span>
+   /* If the size is small, or either SRC or DST is unaligned,
+      then punt into the byte copy loop.  This should be rare.  */
+-  if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
++  if (!TOO_SMALL(len0) && !UNALIGNED (src, dst))
+     {
+       aligned_dst = (long*)dst;
+       aligned_src = (long*)src;
+<span style="background-color: #FF0000"> </span>
+       /* Copy 4X long words at a time if possible.  */
+-      while (len >= BIGBLOCKSIZE)
++      while (len0 >= BIGBLOCKSIZE)
+         {
+           *aligned_dst++ = *aligned_src++;
+           *aligned_dst++ = *aligned_src++;
+           *aligned_dst++ = *aligned_src++;
+           *aligned_dst++ = *aligned_src++;
+-          len -= BIGBLOCKSIZE;
++          len0 -= BIGBLOCKSIZE;
+         }
+<span style="background-color: #FF0000"> </span>
+       /* Copy one long word at a time if possible.  */
+-      while (len >= LITTLEBLOCKSIZE)
++      while (len0 >= LITTLEBLOCKSIZE)
+         {
+           *aligned_dst++ = *aligned_src++;
+-          len -= LITTLEBLOCKSIZE;
++          len0 -= LITTLEBLOCKSIZE;
+         }
+<span style="background-color: #FF0000"> </span>
+        /* Pick up any residual with a byte copier.  */
+@@ -103,7 +102,7 @@
+       src = (char*)aligned_src;
+     }
+<span style="background-color: #FF0000"> </span>
+-  while (len--)
++  while (len0--)
+     *dst++ = *src++;
+<span style="background-color: #FF0000"> </span>
+   return dst0;
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/memmove.c newlib-1.18.0/newlib/libc/string/memmove.c
+--- newlib-1.18.0.orig/newlib/libc/string/memmove.c    2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/memmove.c 2010-09-22 06:42:08.243911169 +0200
+@@ -88,14 +88,13 @@
+   _CONST char *src = src_void;
+   long *aligned_dst;
+   _CONST long *aligned_src;
+-  int   len =  length;
+<span style="background-color: #FF0000"> </span>
+-  if (src < dst && dst < src + len)
++  if (src < dst && dst < src + length)
+     {
+       /* Destructive overlap...have to copy backwards */
+-      src += len;
+-      dst += len;
+-      while (len--)
++      src += length;
++      dst += length;
++      while (length--)
+<span style="background-color: #FF0000"> </span> {
+<span style="background-color: #FF0000"> </span>   *--dst = *--src;
+<span style="background-color: #FF0000"> </span> }
+@@ -105,26 +104,26 @@
+       /* Use optimizing algorithm for a non-destructive copy to closely<span style="background-color: #FF0000"> </span>
+          match memcpy. If the size is small or either SRC or DST is unaligned,
+          then punt into the byte copy loop.  This should be rare.  */
+-      if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
++      if (!TOO_SMALL(length) && !UNALIGNED (src, dst))
+         {
+           aligned_dst = (long*)dst;
+           aligned_src = (long*)src;
+<span style="background-color: #FF0000"> </span>
+           /* Copy 4X long words at a time if possible.  */
+-          while (len >= BIGBLOCKSIZE)
++          while (length >= BIGBLOCKSIZE)
+             {
+               *aligned_dst++ = *aligned_src++;
+               *aligned_dst++ = *aligned_src++;
+               *aligned_dst++ = *aligned_src++;
+               *aligned_dst++ = *aligned_src++;
+-              len -= BIGBLOCKSIZE;
++              length -= BIGBLOCKSIZE;
+             }
+<span style="background-color: #FF0000"> </span>
+           /* Copy one long word at a time if possible.  */
+-          while (len >= LITTLEBLOCKSIZE)
++          while (length >= LITTLEBLOCKSIZE)
+             {
+               *aligned_dst++ = *aligned_src++;
+-              len -= LITTLEBLOCKSIZE;
++              length -= LITTLEBLOCKSIZE;
+             }
+<span style="background-color: #FF0000"> </span>
+           /* Pick up any residual with a byte copier.  */
+@@ -132,7 +131,7 @@
+           src = (char*)aligned_src;
+         }
+<span style="background-color: #FF0000"> </span>
+-      while (len--)
++      while (length--)
+         {
+           *dst++ = *src++;
+         }
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/mempcpy.c newlib-1.18.0/newlib/libc/string/mempcpy.c
+--- newlib-1.18.0.orig/newlib/libc/string/mempcpy.c    2002-07-23 23:38:00.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/mempcpy.c 2010-09-22 06:42:08.243911169 +0200
+@@ -69,30 +69,29 @@
+   _CONST char *src = src0;
+   long *aligned_dst;
+   _CONST long *aligned_src;
+-  int   len =  len0;
+<span style="background-color: #FF0000"> </span>
+   /* If the size is small, or either SRC or DST is unaligned,
+      then punt into the byte copy loop.  This should be rare.  */
+-  if (!TOO_SMALL(len) && !UNALIGNED (src, dst))
++  if (!TOO_SMALL(len0) && !UNALIGNED (src, dst))
+     {
+       aligned_dst = (long*)dst;
+       aligned_src = (long*)src;
+<span style="background-color: #FF0000"> </span>
+       /* Copy 4X long words at a time if possible.  */
+-      while (len >= BIGBLOCKSIZE)
++      while (len0 >= BIGBLOCKSIZE)
+         {
+           *aligned_dst++ = *aligned_src++;
+           *aligned_dst++ = *aligned_src++;
+           *aligned_dst++ = *aligned_src++;
+           *aligned_dst++ = *aligned_src++;
+-          len -= BIGBLOCKSIZE;
++          len0 -= BIGBLOCKSIZE;
+         }
+<span style="background-color: #FF0000"> </span>
+       /* Copy one long word at a time if possible.  */
+-      while (len >= LITTLEBLOCKSIZE)
++      while (len0 >= LITTLEBLOCKSIZE)
+         {
+           *aligned_dst++ = *aligned_src++;
+-          len -= LITTLEBLOCKSIZE;
++          len0 -= LITTLEBLOCKSIZE;
+         }
+<span style="background-color: #FF0000"> </span>
+        /* Pick up any residual with a byte copier.  */
+@@ -100,7 +99,7 @@
+       src = (char*)aligned_src;
+     }
+<span style="background-color: #FF0000"> </span>
+-  while (len--)
++  while (len0--)
+     *dst++ = *src++;
+<span style="background-color: #FF0000"> </span>
+   return dst;
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/rindex.c newlib-1.18.0/newlib/libc/string/rindex.c
+--- newlib-1.18.0.orig/newlib/libc/string/rindex.c     2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/rindex.c  2010-09-22 06:41:42.999911328 +0200
+@@ -10,7 +10,7 @@
+<span style="background-color: #FF0000"> </span> char * rindex(const char *<[string]>, int <[c]>);
+<span style="background-color: #FF0000"> </span>
+ TRAD_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> char * rindex(<[string]>, <[c]>);
+<span style="background-color: #FF0000"> </span> char *<[string]>;
+<span style="background-color: #FF0000"> </span> int *<[c]>;
+@@ -33,7 +33,8 @@
+<span style="background-color: #FF0000"> </span> rindex - pure
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
++#include <string.h> /* strchr */
+<span style="background-color: #FF0000"> </span>
+ char *
+ _DEFUN (rindex, (s, c),
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/strcasecmp.c newlib-1.18.0/newlib/libc/string/strcasecmp.c
+--- newlib-1.18.0.orig/newlib/libc/string/strcasecmp.c 2009-04-23 20:11:22.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/strcasecmp.c      2010-09-22 06:41:42.999911328 +0200
+@@ -38,7 +38,7 @@
+<span style="background-color: #FF0000"> </span> strcasecmp
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
+ #include <ctype.h>
+<span style="background-color: #FF0000"> </span>
+ int
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/strcat.c newlib-1.18.0/newlib/libc/string/strcat.c
+--- newlib-1.18.0.orig/newlib/libc/string/strcat.c     2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/strcat.c  2010-09-22 06:41:43.000911965 +0200
+@@ -33,12 +33,13 @@
+<span style="background-color: #FF0000"> </span> strcat ansi pure
+ */
+<span style="background-color: #FF0000"> </span>
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+<span style="background-color: #FF0000"> </span>
+ /* Nonzero if X is aligned on a "long" boundary.  */
+ #define ALIGNED(X) \
+-  (((long)X & (sizeof (long) - 1)) == 0)
++  (((uintptr_t)X & (sizeof (long) - 1)) == 0)
+<span style="background-color: #FF0000"> </span>
+ #if LONG_MAX == 2147483647L
+ #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/strchr.c newlib-1.18.0/newlib/libc/string/strchr.c
+--- newlib-1.18.0.orig/newlib/libc/string/strchr.c     2008-05-22 04:31:46.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/strchr.c  2010-09-22 06:41:43.000911965 +0200
+@@ -33,11 +33,12 @@
+<span style="background-color: #FF0000"> </span> strchr ansi pure
+ */
+<span style="background-color: #FF0000"> </span>
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+<span style="background-color: #FF0000"> </span>
+ /* Nonzero if X is not aligned on a "long" boundary.  */
+-#define UNALIGNED(X) ((long)X & (sizeof (long) - 1))
++#define UNALIGNED(X) ((uintptr_t)X & (sizeof (long) - 1))
+<span style="background-color: #FF0000"> </span>
+ /* How many bytes are loaded each iteration of the word copy loop.  */
+ #define LBLOCKSIZE (sizeof (long))
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/strcmp.c newlib-1.18.0/newlib/libc/string/strcmp.c
+--- newlib-1.18.0.orig/newlib/libc/string/strcmp.c     2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/strcmp.c  2010-09-22 06:41:43.000911965 +0200
+@@ -35,12 +35,13 @@
+<span style="background-color: #FF0000"> </span> strcmp ansi pure
+ */
+<span style="background-color: #FF0000"> </span>
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+<span style="background-color: #FF0000"> </span>
+ /* Nonzero if either X or Y is not aligned on a "long" boundary.  */
+ #define UNALIGNED(X, Y) \
+-  (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++  (((uintptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
+<span style="background-color: #FF0000"> </span>
+ /* DETECTNULL returns nonzero if (long)X contains a NULL byte. */
+ #if LONG_MAX == 2147483647L
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/strncasecmp.c newlib-1.18.0/newlib/libc/string/strncasecmp.c
+--- newlib-1.18.0.orig/newlib/libc/string/strncasecmp.c        2009-04-23 20:11:22.000000000 +0200
++++ newlib-1.18.0/newlib/libc/string/strncasecmp.c     2010-09-22 06:41:43.000911965 +0200
+@@ -6,11 +6,11 @@
+<span style="background-color: #FF0000"> </span> strncasecmp
+<span style="background-color: #FF0000"> </span>
+ ANSI_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> int strncasecmp(const char *<[a]>, const char * <[b]>, size_t <[length]>);
+<span style="background-color: #FF0000"> </span>
+ TRAD_SYNOPSIS
+-      #include <string.h>
++      #include <strings.h>
+<span style="background-color: #FF0000"> </span> int strncasecmp(<[a]>, <[b]>, <[length]>)
+<span style="background-color: #FF0000"> </span> char *<[a]>;
+<span style="background-color: #FF0000"> </span> char *<[b]>;
+@@ -40,7 +40,7 @@
+<span style="background-color: #FF0000"> </span> strncasecmp
+ */
+<span style="background-color: #FF0000"> </span>
+-#include <string.h>
++#include <strings.h>
+ #include <ctype.h>
+<span style="background-color: #FF0000"> </span>
+ int<span style="background-color: #FF0000"> </span>
+diff -Naur newlib-1.18.0.orig/newlib/libc/string/strncmp.c newlib-1.18.0/newlib/libc/string/strncmp.c
+--- newlib-1.18.0.orig/newlib/libc/string/strncmp.c    2000-02-17 20:39:48.000000000 +0100
++++ newlib-1.18.0/newlib/libc/string/strncmp.c 2010-09-22 06:41:43.001911396 +0200
+@@ -36,12 +36,13 @@
+<span style="background-color: #FF0000"> </span> strncmp ansi pure
+ */
+<span style="background-color: #FF0000"> </span>
++#include <stdint.h>
+ #include <string.h>
+ #include <limits.h>
+<span style="background-color: #FF0000"> </span>
+ /* Nonzero if either X or Y is not aligned on a "long" boundary.  */
+ #define UNALIGNED(X, Y) \
+-  (((long)X & (sizeof (long) - 1)) | ((long)Y & (sizeof (long) - 1)))
++  (((uintptr_t)X & (sizeof (long) - 1)) | ((uintptr_t)Y & (sizeof (long) - 1)))
+<span style="background-color: #FF0000"> </span>
+ /* DETECTNULL returns nonzero if (long)X contains a NULL byte. */
+ #if LONG_MAX == 2147483647L
+diff -Naur newlib-1.18.0.orig/newlib/libc/sys/linux/sys/dirent.h newlib-1.18.0/newlib/libc/sys/linux/sys/dirent.h
+--- newlib-1.18.0.orig/newlib/libc/sys/linux/sys/dirent.h      2008-11-19 21:55:52.000000000 +0100
++++ newlib-1.18.0/newlib/libc/sys/linux/sys/dirent.h   2010-09-22 06:41:43.001911396 +0200
+@@ -40,7 +40,7 @@
+ int closedir(DIR *);
+<span style="background-color: #FF0000"> </span>
+ /* internal prototype */
+-void _seekdir(DIR *dir,off_t offset);
++void _seekdir(DIR *dir, long offset);
+ DIR *_opendir(const char *);
+<span style="background-color: #FF0000"> </span>
+ #ifndef _POSIX_SOURCE
+diff -Naur newlib-1.18.0.orig/newlib/libc/sys/rtems/machine/_types.h newlib-1.18.0/newlib/libc/sys/rtems/machine/_types.h
+--- newlib-1.18.0.orig/newlib/libc/sys/rtems/machine/_types.h  2009-12-17 17:10:41.000000000 +0100
++++ newlib-1.18.0/newlib/libc/sys/rtems/machine/_types.h       2010-09-22 06:41:43.001911396 +0200
+@@ -20,6 +20,9 @@
+ typedef long signed int _ssize_t;
+ #endif
+ #define __ssize_t_defined 1
++#elif defined(__sparc__) && defined(__LP64__)
++typedef long signed int _ssize_t;
++#define __ssize_t_defined 1
+ #elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__)
+ typedef signed int _ssize_t;
+ #define __ssize_t_defined 1
+@@ -31,4 +34,25 @@
+<span style="background-color: #FF0000"> </span>
+ typedef __int32_t blksize_t;
+ typedef __int32_t blkcnt_t;
++
++/* EXPERIMENTAL: Use 64bit types */
++#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__)
++/* Use 64bit types */
++typedef __int64_t _off_t;
++#define __off_t_defined 1
++
++typedef __int64_t _fpos_t;
++#define __fpos_t_defined 1
++#else
++/* Use 32bit types */
++typedef __int32_t _off_t;
++#define __off_t_defined 1
++
++typedef __int32_t _fpos_t;
++#define __fpos_t_defined 1
++#endif
++
++typedef __uint32_t _mode_t;
++#define __mode_t_defined 1
++
+ #endif
+diff -Naur newlib-1.18.0.orig/newlib/libc/sys/rtems/sys/dirent.h newlib-1.18.0/newlib/libc/sys/rtems/sys/dirent.h
+--- newlib-1.18.0.orig/newlib/libc/sys/rtems/sys/dirent.h      2004-01-08 20:25:21.000000000 +0100
++++ newlib-1.18.0/newlib/libc/sys/rtems/sys/dirent.h   2010-09-22 06:41:43.001911396 +0200
+@@ -31,6 +31,10 @@
+ void seekdir(DIR *dir, long loc);
+ long telldir(DIR *dir);
+<span style="background-color: #FF0000"> </span>
++#ifdef _COMPILING_NEWLIB
++void _seekdir(DIR *dir, long offset);
++#endif
++
+ #include <sys/types.h>
+<span style="background-color: #FF0000"> </span>
+ #include <limits.h>
+diff -Naur newlib-1.18.0.orig/newlib/libm/common/modfl.c newlib-1.18.0/newlib/libm/common/modfl.c
+--- newlib-1.18.0.orig/newlib/libm/common/modfl.c      2009-04-18 00:15:43.000000000 +0200
++++ newlib-1.18.0/newlib/libm/common/modfl.c   2010-09-22 06:41:43.002911214 +0200
+@@ -36,7 +36,7 @@
+ long double
+ modfl (long double x, long double *iptr)
+ {
+-  return modf(x, iptr);
++  return modf(x, (double*) iptr);
+ }
+ #endif
+<span style="background-color: #FF0000"> </span>
+diff -Naur newlib-1.18.0.orig/newlib/libm/common/sf_llrint.c newlib-1.18.0/newlib/libm/common/sf_llrint.c
+--- newlib-1.18.0.orig/newlib/libm/common/sf_llrint.c  2009-04-03 19:39:24.000000000 +0200
++++ newlib-1.18.0/newlib/libm/common/sf_llrint.c       2010-09-22 06:41:43.002911214 +0200
+@@ -71,7 +71,7 @@
+           GET_FLOAT_WORD (i0, t);
+           /* Detect the all-zeros representation of plus and
+              minus zero, which fails the calculation below. */
+-          if ((i0 & ~(1 << 31)) == 0)
++          if ((i0 & ~((__uint32_t)1 << 31)) == 0)
+               return 0;
+           j0 = ((i0 >> 23) & 0xff) - 0x7f;
+           i0 &= 0x7fffff;
+diff -Naur newlib-1.18.0.orig/newlib/libm/common/sf_round.c newlib-1.18.0/newlib/libm/common/sf_round.c
+--- newlib-1.18.0.orig/newlib/libm/common/sf_round.c   2005-02-24 20:02:35.000000000 +0100
++++ newlib-1.18.0/newlib/libm/common/sf_round.c        2010-09-22 06:41:43.002911214 +0200
+@@ -38,7 +38,7 @@
+           w &= 0x80000000;
+           if (exponent_less_127 == -1)
+             /* Result is +1.0 or -1.0. */
+-            w |= (127 << 23);
++            w |= ((__uint32_t)127 << 23);
+         }
+       else
+         {
+diff -Naur newlib-1.18.0.orig/newlib/Makefile.am newlib-1.18.0/newlib/Makefile.am
+--- newlib-1.18.0.orig/newlib/Makefile.am      2009-08-18 23:48:05.000000000 +0200
++++ newlib-1.18.0/newlib/Makefile.am   2010-09-22 06:41:43.002911214 +0200
+@@ -81,7 +81,7 @@
+<span style="background-color: #FF0000"> </span> libc.a
+ endif
+<span style="background-color: #FF0000"> </span>
+-noinst_DATA = stmp-targ-include
++BUILT_SOURCES = stmp-targ-include
+<span style="background-color: #FF0000"> </span>
+ toollib_DATA = $(CRT0) $(CRT1)
+<span style="background-color: #FF0000"> </span>
+diff -Naur newlib-1.18.0.orig/newlib/Makefile.in newlib-1.18.0/newlib/Makefile.in
+--- newlib-1.18.0.orig/newlib/Makefile.in      2009-10-21 00:43:45.000000000 +0200
++++ newlib-1.18.0/newlib/Makefile.in   2010-09-22 06:41:43.003911219 +0200
+@@ -122,7 +122,7 @@
+<span style="background-color: #FF0000"> </span> install-pdf-recursive install-ps-recursive install-recursive \
+<span style="background-color: #FF0000"> </span> installcheck-recursive installdirs-recursive pdf-recursive \
+<span style="background-color: #FF0000"> </span> ps-recursive uninstall-recursive
+-DATA = $(noinst_DATA) $(toollib_DATA)
++DATA = $(toollib_DATA)
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive       \
+   distclean-recursive maintainer-clean-recursive
+ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+@@ -351,7 +351,7 @@
+ @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
+ @USE_LIBTOOL_FALSE@   libc.a
+<span style="background-color: #FF0000"> </span>
+-noinst_DATA = stmp-targ-include
++BUILT_SOURCES = stmp-targ-include
+ toollib_DATA = $(CRT0) $(CRT1)
+<span style="background-color: #FF0000"> </span>
+ # The functions ldexp, frexp and modf are traditionally supplied in
+@@ -411,7 +411,7 @@
+<span style="background-color: #FF0000"> </span>
+ # dejagnu support
+ RUNTESTFLAGS =<span style="background-color: #FF0000"> </span>
+-all: newlib.h
++all: $(BUILT_SOURCES) newlib.h
+<span style="background-color: #FF0000"> </span> $(MAKE) $(AM_MAKEFLAGS) all-recursive
+<span style="background-color: #FF0000"> </span>
+ .SUFFIXES:
+@@ -725,14 +725,16 @@
+<span style="background-color: #FF0000"> </span> done
+ check-am:
+<span style="background-color: #FF0000"> </span> $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
+-check: check-recursive
++check: $(BUILT_SOURCES)
++      $(MAKE) $(AM_MAKEFLAGS) check-recursive
+ all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
+ installdirs: installdirs-recursive
+ installdirs-am:
+<span style="background-color: #FF0000"> </span> for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
+<span style="background-color: #FF0000"> </span>   test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+<span style="background-color: #FF0000"> </span> done
+-install: install-recursive
++install: $(BUILT_SOURCES)
++      $(MAKE) $(AM_MAKEFLAGS) install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+ uninstall: uninstall-recursive
+@@ -758,6 +760,7 @@
+ maintainer-clean-generic:
+<span style="background-color: #FF0000"> </span> @echo "This command is intended for maintainers to use"
+<span style="background-color: #FF0000"> </span> @echo "it deletes files that may require special tools to rebuild."
++      -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ clean: clean-recursive
+<span style="background-color: #FF0000"> </span>
+ clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
+@@ -833,8 +836,9 @@
+ uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
+<span style="background-color: #FF0000"> </span> uninstall-toollibLTLIBRARIES
+<span style="background-color: #FF0000"> </span>
+-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
+-      ctags-recursive install-am install-strip tags-recursive
++.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
++      check-am ctags-recursive install install-am install-strip \
++      tags-recursive
+<span style="background-color: #FF0000"> </span>
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+<span style="background-color: #FF0000"> </span> all all-am am--refresh check check-DEJAGNU check-am clean \
</font></pre>
<p> </p>
<a name='cs31'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Bump GCC_RPMREL.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>contrib/crossrpms/rtems4.11/arm/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am.diff?r1=text&tr1=1.28&r2=text&tr2=1.29&diff_format=h">M</a></td><td width='1%'>1.29</td><td width='100%'>contrib/crossrpms/rtems4.11/avr/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>contrib/crossrpms/rtems4.11/bfin/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>contrib/crossrpms/rtems4.11/h8300/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>contrib/crossrpms/rtems4.11/i386/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am.diff?r1=text&tr1=1.30&r2=text&tr2=1.31&diff_format=h">M</a></td><td width='1%'>1.31</td><td width='100%'>contrib/crossrpms/rtems4.11/lm32/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am.diff?r1=text&tr1=1.30&r2=text&tr2=1.31&diff_format=h">M</a></td><td width='1%'>1.31</td><td width='100%'>contrib/crossrpms/rtems4.11/m32c/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>contrib/crossrpms/rtems4.11/m32r/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>contrib/crossrpms/rtems4.11/m68k/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>contrib/crossrpms/rtems4.11/mips/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>contrib/crossrpms/rtems4.11/powerpc/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>contrib/crossrpms/rtems4.11/sh/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc64/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.27 rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.28
--- rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.27      Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am   Mon Oct  4 07:17:21 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> 
 NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.28 rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.29
--- rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.28      Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am   Mon Oct  4 07:17:21 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am:1.26 rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am:1.27
--- rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am:1.26     Wed Aug 25 21:16:19 2010
+++ rtems/contrib/crossrpms/rtems4.11/bfin/Makefile.am  Mon Oct  4 07:17:21 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.29 rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.30
--- rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.29    Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am Mon Oct  4 07:17:21 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.29 rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.30
--- rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.29     Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am  Mon Oct  4 07:17:21 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.30 rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.31
--- rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.30     Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am  Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.30 rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.31
--- rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.30     Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am  Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.27 rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.28
--- rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.27     Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am  Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.29 rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.30
--- rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.29     Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am  Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.29 rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.30
--- rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.29     Fri Sep  3 00:47:30 2010
+++ rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am  Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.31 rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.32
--- rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.31  Tue Sep  7 12:04:44 2010
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am       Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.29 rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.30
--- rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.29       Fri Sep  3 00:47:31 2010
+++ rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am    Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.31 rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.32
--- rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.31    Fri Sep  3 00:47:31 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.18 rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.19
--- rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.18  Fri Sep  3 00:47:31 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am       Mon Oct  4 07:17:22 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> 
 GCC_VERS = 4.5.1
 GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 6
</font><font color='#000088'>+GCC_RPMREL = 7
</font> NEWLIB_VERS = 1.18.0
 NEWLIB_PKGVERS = $(NEWLIB_VERS)
 NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15`
</pre>
<p> </p>
<a name='cs32'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>newlib-1.18.0-rtems4.11-20101004.diff
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/arm/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/avr/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/avr/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/bfin/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/bfin/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/h8300/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/h8300/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/i386/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/i386/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/lm32/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/lm32/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32c/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/m32c/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/m32r/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m68k/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/m68k/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/mips/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/mips/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/powerpc/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/powerpc/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sh/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/sh/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/arm/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/arm/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/arm/gcc-sources.add:1.22  Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/arm/gcc-sources.add       Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/avr/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/avr/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/avr/gcc-sources.add:1.22  Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/avr/gcc-sources.add       Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/bfin/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/bfin/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/bfin/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/bfin/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/h8300/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/h8300/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/h8300/gcc-sources.add:1.22        Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/h8300/gcc-sources.add     Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/i386/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/i386/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/i386/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/i386/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/lm32/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/lm32/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/lm32/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/lm32/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32c/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/m32c/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/m32c/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32c/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m68k/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/m68k/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/m68k/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/m68k/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/mips/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/mips/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/mips/gcc-sources.add:1.22 Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/mips/gcc-sources.add      Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/powerpc/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/powerpc/gcc-sources.add:1.22      Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/gcc-sources.add   Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sh/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/sh/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/sh/gcc-sources.add:1.22   Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/sh/gcc-sources.add        Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add:1.22 rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add:1.23
--- rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add:1.22        Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add     Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add:1.13 rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add:1.14
--- rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add:1.13      Wed Aug 25 07:46:01 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add   Mon Oct  4 07:18:00 2010
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> %if %build_newlib
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 %endif
</pre>
<p> </p>
<a name='cs33'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Regenerate.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec.diff?r1=text&tr1=1.8.2.1&r2=text&tr2=1.8.2.2&diff_format=h">M</a></td><td width='1%'>1.8.2.2</td><td width='100%'>contrib/crossrpms/autotools/rtems-4.10-autoconf.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/autotools/rtems-4.11-autoconf.spec.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>contrib/crossrpms/autotools/rtems-4.11-autoconf.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec.diff?r1=text&tr1=1.72.2.3&r2=text&tr2=1.72.2.4&diff_format=h">M</a></td><td width='1%'>1.72.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec.diff?r1=text&tr1=1.78.2.3&r2=text&tr2=1.78.2.4&diff_format=h">M</a></td><td width='1%'>1.78.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec.diff?r1=text&tr1=1.75.2.3&r2=text&tr2=1.75.2.4&diff_format=h">M</a></td><td width='1%'>1.75.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec.diff?r1=text&tr1=1.77.2.3&r2=text&tr2=1.77.2.4&diff_format=h">M</a></td><td width='1%'>1.77.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec.diff?r1=text&tr1=1.75.2.3&r2=text&tr2=1.75.2.4&diff_format=h">M</a></td><td width='1%'>1.75.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec.diff?r1=text&tr1=1.51.2.3&r2=text&tr2=1.51.2.4&diff_format=h">M</a></td><td width='1%'>1.51.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec.diff?r1=text&tr1=1.74.2.3&r2=text&tr2=1.74.2.4&diff_format=h">M</a></td><td width='1%'>1.74.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec.diff?r1=text&tr1=1.73.2.3&r2=text&tr2=1.73.2.4&diff_format=h">M</a></td><td width='1%'>1.73.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec.diff?r1=text&tr1=1.75.2.3&r2=text&tr2=1.75.2.4&diff_format=h">M</a></td><td width='1%'>1.75.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec.diff?r1=text&tr1=1.77.2.3&r2=text&tr2=1.77.2.4&diff_format=h">M</a></td><td width='1%'>1.77.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec.diff?r1=text&tr1=1.78.2.3&r2=text&tr2=1.78.2.4&diff_format=h">M</a></td><td width='1%'>1.78.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec.diff?r1=text&tr1=1.75.2.3&r2=text&tr2=1.75.2.4&diff_format=h">M</a></td><td width='1%'>1.75.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec.diff?r1=text&tr1=1.75.2.3&r2=text&tr2=1.75.2.4&diff_format=h">M</a></td><td width='1%'>1.75.2.4</td><td width='100%'>contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec.diff?r1=text&tr1=1.32&r2=text&tr2=1.33&diff_format=h">M</a></td><td width='1%'>1.33</td><td width='100%'>contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec.diff?r1=text&tr1=1.32&r2=text&tr2=1.33&diff_format=h">M</a></td><td width='1%'>1.33</td><td width='100%'>contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec.diff?r1=text&tr1=1.34&r2=text&tr2=1.35&diff_format=h">M</a></td><td width='1%'>1.35</td><td width='100%'>contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec.diff?r1=text&tr1=1.32&r2=text&tr2=1.33&diff_format=h">M</a></td><td width='1%'>1.33</td><td width='100%'>contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&diff_format=h">M</a></td><td width='1%'>1.36</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec:1.8.2.1 rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec:1.8.2.2
--- rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec:1.8.2.1  Fri Sep 24 08:17:15 2010
+++ rtems/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec  Wed Sep 29 09:17:19 2010
</font><font color='#997700'>@@ -50,13 +50,15 @@
</font> 
 %define name                   rtems-4.10-autoconf
 
<font color='#000088'>+# --with alltests  enable all tests
+%bcond_with            alltests
</font> 
 Name:          %{name}
 License:       GPL
 URL:           http://www.gnu.org/software/autoconf
 Group:         Development/Tools
 Version:       %{rpmvers}
<font color='#880000'>-Release:   1%{?dist}
</font><font color='#000088'>+Release:      2%{?dist}
</font> Summary:  Tool for automatically generating GNU style Makefile.in's
 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -136,7 +138,7 @@
</font> TESTSUITEFLAGS='-204 206-'
 %endif
 
<font color='#880000'>-make check TESTSUITEFLAGS="${TESTSUITEFLAGS}"
</font><font color='#000088'>+make check %{!?with_alltests:TESTSUITEFLAGS="${TESTSUITEFLAGS}"}
</font> %endif
 
 %install

<font color='#006600'>diff -u rtems/contrib/crossrpms/autotools/rtems-4.11-autoconf.spec:1.5 rtems/contrib/crossrpms/autotools/rtems-4.11-autoconf.spec:1.6
--- rtems/contrib/crossrpms/autotools/rtems-4.11-autoconf.spec:1.5      Thu Sep 23 10:48:57 2010
+++ rtems/contrib/crossrpms/autotools/rtems-4.11-autoconf.spec  Wed Sep 29 09:16:26 2010
</font><font color='#997700'>@@ -50,13 +50,15 @@
</font> 
 %define name                   rtems-4.11-autoconf
 
<font color='#000088'>+# --with alltests  enable all tests
+%bcond_with            alltests
</font> 
 Name:          %{name}
 License:       GPL
 URL:           http://www.gnu.org/software/autoconf
 Group:         Development/Tools
 Version:       %{rpmvers}
<font color='#880000'>-Release:   1%{?dist}
</font><font color='#000088'>+Release:      2%{?dist}
</font> Summary:  Tool for automatically generating GNU style Makefile.in's
 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -136,7 +138,7 @@
</font> TESTSUITEFLAGS='-204 206-'
 %endif
 
<font color='#880000'>-make check TESTSUITEFLAGS="${TESTSUITEFLAGS}"
</font><font color='#000088'>+make check %{!?with_alltests:TESTSUITEFLAGS="${TESTSUITEFLAGS}"}
</font> %endif
 
 %install

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec:1.72.2.3 rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec:1.72.2.4
--- rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec:1.72.2.3    Sat Aug 28 01:17:57 2010
+++ rtems/contrib/crossrpms/rtems4.10/arm/rtems-4.10-arm-rtems4.10-gcc.spec     Sun Oct  3 22:36:30 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-arm-rtems4.10-binutils
 Requires:      rtems-4.10-arm-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-arm-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-arm-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec:1.78.2.3 rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec:1.78.2.4
--- rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec:1.78.2.3    Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gcc.spec     Sun Oct  3 22:36:30 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-avr-rtems4.10-binutils
 Requires:      rtems-4.10-avr-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,6 +260,10 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -339,7 +343,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -608,7 +612,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-avr-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -626,7 +630,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-avr-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -739,7 +743,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -760,7 +764,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec:1.75.2.3 rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec:1.75.2.4
--- rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec:1.75.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec   Sun Oct  3 22:36:30 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-bfin-rtems4.10-binutils
 Requires:      rtems-4.10-bfin-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-bfin-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec:1.77.2.3 rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec:1.77.2.4
--- rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec:1.77.2.3        Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec Sun Oct  3 22:36:30 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-h8300-rtems4.10-binutils
 Requires:      rtems-4.10-h8300-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-h8300-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec:1.75.2.3 rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec:1.75.2.4
--- rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec:1.75.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/i386/rtems-4.10-i386-rtems4.10-gcc.spec   Sun Oct  3 22:36:30 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-i386-rtems4.10-binutils
 Requires:      rtems-4.10-i386-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-i386-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-i386-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec:1.51.2.3 rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec:1.51.2.4
--- rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec:1.51.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gcc.spec   Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-lm32-rtems4.10-binutils
 Requires:      rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-lm32-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec:1.74.2.3 rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec:1.74.2.4
--- rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec:1.74.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gcc.spec   Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-m32c-rtems4.10-binutils
 Requires:      rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,6 +260,10 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -339,7 +343,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -608,7 +612,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-m32c-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -626,7 +630,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -740,7 +744,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -761,7 +765,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec:1.73.2.3 rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec:1.73.2.4
--- rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec:1.73.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/m32r/rtems-4.10-m32r-rtems4.10-gcc.spec   Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-m32r-rtems4.10-binutils
 Requires:      rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,6 +260,10 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
<font color='#997700'>@@ -339,7 +343,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -608,7 +612,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-m32r-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -626,7 +630,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -740,7 +744,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -761,7 +765,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec:1.75.2.3 rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec:1.75.2.4
--- rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec:1.75.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/m68k/rtems-4.10-m68k-rtems4.10-gcc.spec   Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-m68k-rtems4.10-binutils
 Requires:      rtems-4.10-m68k-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-m68k-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec:1.77.2.3 rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec:1.77.2.4
--- rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec:1.77.2.3  Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec   Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-mips-rtems4.10-binutils
 Requires:      rtems-4.10-mips-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-mips-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-mips-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec:1.78.2.3 rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec:1.78.2.4
--- rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec:1.78.2.3    Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gcc.spec     Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-powerpc-rtems4.10-binutils
 Requires:      rtems-4.10-powerpc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-powerpc-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec:1.75.2.3 rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec:1.75.2.4
--- rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec:1.75.2.3      Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/sh/rtems-4.10-sh-rtems4.10-gcc.spec       Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-sh-rtems4.10-binutils
 Requires:      rtems-4.10-sh-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-sh-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-sh-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec:1.75.2.3 rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec:1.75.2.4
--- rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec:1.75.2.3        Sat Aug 28 01:17:58 2010
+++ rtems/contrib/crossrpms/rtems4.10/sparc/rtems-4.10-sparc-rtems4.10-gcc.spec Sun Oct  3 22:36:31 2010
</font><font color='#997700'>@@ -46,9 +46,9 @@
</font> %endif
 
 
<font color='#880000'>-%define gcc_pkgvers 4.4.4
-%define gcc_version 4.4.4
-%define gcc_rpmvers %{expand:%(echo "4.4.4" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.4.5
+%define gcc_version 4.4.5
+%define gcc_rpmvers %{expand:%(echo "4.4.5" | tr - _ )}
</font> 
 %define newlib_pkgvers         1.18.0
 %define newlib_version         1.18.0
<font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        4%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   1%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -248,7 +248,7 @@
</font> Requires: rtems-4.10-gcc-common
 Requires:      rtems-4.10-sparc-rtems4.10-binutils
 Requires:      rtems-4.10-sparc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -260,12 +260,19 @@
</font> 
 %global _gcclibdir %{_prefix}/lib
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"
+Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20101003.diff
+%endif
</font> %if "%{gcc_version}" == "4.4.4"
 Source0:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
 Patch0:                ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.4-rtems4.10-20100429.diff
 %endif
 %{?_without_sources:NoSource:  0}
 
<font color='#000088'>+%if "%{gcc_version}" == "4.4.5"<span style="background-color: #FF0000"> </span>
+Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%endif
</font> %if "%{gcc_version}" == "4.4.4"<span style="background-color: #FF0000"> </span>
 Source1:       ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
 %endif
<font color='#997700'>@@ -348,7 +355,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-4%{?dist}/newlib-%{newlib_version}-15%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-16%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -618,7 +625,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.10-sparc-rtems4.10-binutils
<font color='#880000'>-# Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -636,7 +643,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-15%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-16%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc
<font color='#997700'>@@ -810,7 +817,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.10-newlib-common
<font color='#997700'>@@ -831,7 +838,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        15%{?dist}
</font><font color='#000088'>+Release:        16%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec:1.32 rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec:1.33
--- rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec:1.32        Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gcc.spec     Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-arm-rtems4.11-binutils
 Requires:      rtems-4.11-arm-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-arm-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-arm-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec:1.32 rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec:1.33
--- rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec:1.32        Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec     Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-avr-rtems4.11-binutils
 Requires:      rtems-4.11-avr-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -276,7 +276,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -354,7 +354,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -623,7 +623,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-avr-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -641,7 +641,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-avr-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -754,7 +754,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -775,7 +775,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec:1.34 rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec:1.35
--- rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec:1.34      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-bfin-rtems4.11-binutils
 Requires:      rtems-4.11-bfin-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-bfin-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-bfin-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -827,7 +827,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -848,7 +848,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec:1.33    Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-h8300-rtems4.11-binutils
 Requires:      rtems-4.11-h8300-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-h8300-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-h8300-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec:1.33      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-i386-rtems4.11-binutils
 Requires:      rtems-4.11-i386-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-i386-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-i386-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec:1.33      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-lm32-rtems4.11-binutils
 Requires:      rtems-4.11-lm32-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-lm32-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-lm32-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec:1.32 rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec:1.33
--- rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec:1.32      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-m32c-rtems4.11-binutils
 Requires:      rtems-4.11-m32c-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -276,7 +276,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -354,7 +354,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -623,7 +623,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-m32c-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -641,7 +641,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-m32c-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -755,7 +755,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -776,7 +776,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec:1.31 rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec:1.32
--- rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec:1.31      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-m32r-rtems4.11-binutils
 Requires:      rtems-4.11-m32r-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -276,7 +276,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -354,7 +354,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -623,7 +623,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-m32r-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -641,7 +641,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-m32r-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -755,7 +755,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -776,7 +776,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec:1.33      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-m68k-rtems4.11-binutils
 Requires:      rtems-4.11-m68k-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-m68k-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-m68k-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec:1.33      Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec   Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-mips-rtems4.11-binutils
 Requires:      rtems-4.11-mips-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-mips-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-mips-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec:1.33        Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec     Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-powerpc-rtems4.11-binutils
 Requires:      rtems-4.11-powerpc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-powerpc-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-powerpc-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec:1.33 rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec:1.34
--- rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec:1.33  Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec       Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-sh-rtems4.11-binutils
 Requires:      rtems-4.11-sh-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-sh-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-sh-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec:1.35 rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec:1.36
--- rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec:1.35    Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-sparc-rtems4.11-binutils
 Requires:      rtems-4.11-sparc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-sparc-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-sparc-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 

<font color='#006600'>diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec:1.17 rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec:1.18
--- rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec:1.17        Tue Sep 21 00:46:53 2010
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec     Mon Oct  4 07:19:07 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> 
 Group: <span style="background-color: #FF0000">      </span>     Development/Tools
 Version:        %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000">      </span>        6%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000">      </span>   7%{?dist}
</font> License:<span style="background-color: #FF0000">      </span>       GPL
 URL:           http://gcc.gnu.org
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -252,7 +252,7 @@
</font> Requires: rtems-4.11-gcc-common
 Requires:      rtems-4.11-sparc64-rtems4.11-binutils
 Requires:      rtems-4.11-sparc64-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
<font color='#880000'>-Requires:  rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:     rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
<font color='#997700'>@@ -284,7 +284,7 @@
</font> 
 %if "%{newlib_version}" == "1.18.0"
 Source50:      ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
<font color='#880000'>-Patch50:   ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20100825.diff
</font><font color='#000088'>+Patch50:      ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101004.diff
</font> %endif
 %{?_without_sources:NoSource:  50}
 
<font color='#997700'>@@ -366,7 +366,7 @@
</font>   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
<font color='#880000'>-echo "RTEMS gcc-%{gcc_version}-6%{?dist}/newlib-%{newlib_version}-21%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font><font color='#000088'>+echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
</font> 
 
   # Fix timestamps
<font color='#997700'>@@ -636,7 +636,7 @@
</font> # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-sparc64-rtems4.11-binutils
<font color='#880000'>-# Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+# Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> # License:        GPL
 
 # %if %build_infos
<font color='#997700'>@@ -654,7 +654,7 @@
</font> Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
<font color='#880000'>-Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-21%{?dist}
</font><font color='#000088'>+Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-22%{?dist}
</font> License:  GPL
 
 %description -n rtems-4.11-sparc64-rtems4.11-gcc-libgcc
<font color='#997700'>@@ -828,7 +828,7 @@
</font> Group:<span style="background-color: #FF0000"> </span>              Development/Tools
 License:       Distributable
 Version:       %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:      rtems-4.11-newlib-common
<font color='#997700'>@@ -849,7 +849,7 @@
</font> Summary:  Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
<font color='#880000'>-Release:        21%{?dist}
</font><font color='#000088'>+Release:        22%{?dist}
</font> %{?_with_noarch_subpackages:BuildArch: noarch}
 License:       Distributable
 
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>