<!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-05-29)</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        PR 1531/newlib:
        * libmisc/shell/fts.c:
        Add local copy of ALIGN().
</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.2337&r2=text&tr2=1.2338&diff_format=h">M</a></td><td width='1%'>1.2338</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libmisc/shell/fts.c.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/libmisc/shell/fts.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2337 rtems/cpukit/ChangeLog:1.2338
--- rtems/cpukit/ChangeLog:1.2337       Fri May 28 23:35:28 2010
+++ rtems/cpukit/ChangeLog      Sat May 29 00:17:11 2010
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2010-05-29        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   PR 1531/newlib:
+       * libmisc/shell/fts.c:
+       Add local copy of ALIGN().
+
+2010-05-29     Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font>   * libnetworking/net/if.c:
        Use uintptr_t and void* in _offsetof().
        * libnetworking/netinet/raw_ip.c:

<font color='#006600'>diff -u rtems/cpukit/libmisc/shell/fts.c:1.11 rtems/cpukit/libmisc/shell/fts.c:1.12
--- rtems/cpukit/libmisc/shell/fts.c:1.11       Sat May 22 11:48:41 2010
+++ rtems/cpukit/libmisc/shell/fts.c    Sat May 29 00:17:11 2010
</font><font color='#997700'>@@ -87,6 +87,10 @@
</font> 
 #if defined(ALIGNBYTES) && defined(ALIGN)
 #define        FTS_ALLOC_ALIGNED       1
<font color='#000088'>+/* FIXME: Redefine because some versions of<span style="background-color: #FF0000"> </span>
+ * RTEMS newlib and the BSDs ship a broken ALIGN */
+#undef ALIGN
+#define ALIGN(p)       (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES)
</font> #else
 #undef FTS_ALLOC_ALIGNED
 #endif
<font color='#997700'>@@ -1055,8 +1059,7 @@
</font>           return (NULL);
 
        if (!ISSET(FTS_NOSTAT))
<font color='#880000'>-           p->fts_statp = (__fts_stat_t *)ALIGN(
-                   (uintptr_t)(p->fts_name + namelen + 2));
</font><font color='#000088'>+              p->fts_statp = (__fts_stat_t *)ALIGN(p->fts_name + namelen + 2);
</font> #else
        if ((p = malloc(sizeof(FTSENT) + namelen)) == NULL)
                return (NULL);
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        * irq.c: Change _exception_stack_frame into void*.
</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.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/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/lm32/irq.c.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%'>cpukit/score/cpu/lm32/irq.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.11 rtems/cpukit/score/cpu/lm32/ChangeLog:1.12
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.11  Sun Apr 25 09:58:27 2010
+++ rtems/cpukit/score/cpu/lm32/ChangeLog       Sat May 29 00:19:12 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-29    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * irq.c: Change _exception_stack_frame into void*.
+
</font> 2010-04-25        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.

<font color='#006600'>diff -u rtems/cpukit/score/cpu/lm32/irq.c:1.3 rtems/cpukit/score/cpu/lm32/irq.c:1.4
--- rtems/cpukit/score/cpu/lm32/irq.c:1.3       Sat Mar 27 10:01:51 2010
+++ rtems/cpukit/score/cpu/lm32/irq.c   Sat May 29 00:19:13 2010
</font><font color='#997700'>@@ -32,7 +32,7 @@
</font>   unsigned long    *_old_stack_ptr;
 #endif
 
<font color='#880000'>-unsigned long *_exception_stack_frame;
</font><font color='#000088'>+void *_exception_stack_frame;
</font> 
 register unsigned long  *stack_ptr asm("sp");
 
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        * support/include/tmacros.h: Remove PRIdoff_t.
</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.163&r2=text&tr2=1.164&diff_format=h">M</a></td><td width='1%'>1.164</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/support/include/tmacros.h.diff?r1=text&tr1=1.53&r2=text&tr2=1.54&diff_format=h">M</a></td><td width='1%'>1.54</td><td width='100%'>testsuites/support/include/tmacros.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.163 rtems/testsuites/ChangeLog:1.164
--- rtems/testsuites/ChangeLog:1.163    Wed Apr 28 11:37:20 2010
+++ rtems/testsuites/ChangeLog  Sat May 29 00:29:33 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-29    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * support/include/tmacros.h: Remove PRIdoff_t.
+
</font> 2010-04-22        Sebastian Huber <Sebastian.Huber@embedded-brains.de>
 
        * support/include/tmacros.h: Changed check_dispatch_disable_level() to

<font color='#006600'>diff -u rtems/testsuites/support/include/tmacros.h:1.53 rtems/testsuites/support/include/tmacros.h:1.54
--- rtems/testsuites/support/include/tmacros.h:1.53     Wed Apr 28 11:37:20 2010
+++ rtems/testsuites/support/include/tmacros.h  Sat May 29 00:29:33 2010
</font><font color='#997700'>@@ -304,9 +304,6 @@
</font> /* newlib's ino_t is a typedef to "unsigned long" */
 #define PRIxino_t "lx"
 
<font color='#880000'>-/* newlib's off_t is a typedef to "long" */
-#define PRIdoff_t "ld"
-
</font> /* IEEE Std 1003.1-2008 defines a type blksize_t,
  * newlib currently doesn't have this type, but uses "long" */
 #define PRIxblksize_t "lx"
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.ac: Add AC_CHECK_SIZEOF(off_t).
        * include/pmacros.h: Add PRIdoff_t.
</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.262&r2=text&tr2=1.263&diff_format=h">M</a></td><td width='1%'>1.263</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.60&r2=text&tr2=1.61&diff_format=h">M</a></td><td width='1%'>1.61</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/include/pmacros.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%'>testsuites/psxtests/include/pmacros.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.262 rtems/testsuites/psxtests/ChangeLog:1.263
--- rtems/testsuites/psxtests/ChangeLog:1.262   Mon May 17 12:56:12 2010
+++ rtems/testsuites/psxtests/ChangeLog Sat May 29 00:31:45 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-05-29    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * configure.ac: Add AC_CHECK_SIZEOF(off_t).
+       * include/pmacros.h: Add PRIdoff_t.
+
</font> 2010-05-17        Bharath Suri <bharath.s.jois@gmail.com>
 
        * psxfile01/test.c, psxfile01/psxfile01.scn: This file now

<font color='#006600'>diff -u rtems/testsuites/psxtests/configure.ac:1.60 rtems/testsuites/psxtests/configure.ac:1.61
--- rtems/testsuites/psxtests/configure.ac:1.60 Thu Dec  3 11:15:01 2009
+++ rtems/testsuites/psxtests/configure.ac      Sat May 29 00:31:45 2010
</font><font color='#997700'>@@ -53,6 +53,9 @@
</font> # RTEMS provides a stub, despite newlib doesn't have sys/mman.h
 AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]])
 
<font color='#000088'>+# FIXME: We should get rid of this. It's a cludge.
+AC_CHECK_SIZEOF([off_t])
+
</font> # Explicitly list all Makefiles here
 AC_CONFIG_FILES([Makefile
 psx01/Makefile

<font color='#006600'>diff -u rtems/testsuites/psxtests/include/pmacros.h:1.11 rtems/testsuites/psxtests/include/pmacros.h:1.12
--- rtems/testsuites/psxtests/include/pmacros.h:1.11    Tue Dec  8 11:52:52 2009
+++ rtems/testsuites/psxtests/include/pmacros.h Sat May 29 00:31:46 2010
</font><font color='#997700'>@@ -93,6 +93,14 @@
</font> 
 #define empty_line() puts( "" )
 
<font color='#000088'>+#if SIZEOF_OFF_T == 8
+#define PRIdoff_t PRIo64
+#elif SIZEOF_OFF_T == 4
+#define PRIdoff_t PRIo32
+#else
+#error "unsupported size of off_t"
+#endif
+
</font> #endif
 
 /* end of file */
</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>