<!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-11-30)</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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
previous commit due to too many broken linker command files. The
HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
only few linker command files respect this.
</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.2660&r2=text&tr2=1.2661&diff_format=h">M</a></td><td width='1%'>1.2661</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/newlibc_exit.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>cpukit/libcsupport/src/newlibc_exit.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadhandler.c.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%'>cpukit/score/src/threadhandler.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2660 rtems/cpukit/ChangeLog:1.2661
--- rtems/cpukit/ChangeLog:1.2660 Mon Nov 29 08:14:27 2010
+++ rtems/cpukit/ChangeLog Tue Nov 30 02:15:35 2010
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
+ previous commit due to too many broken linker command files. The
+ HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
+ only few linker command files respect this.
+
</font> 2010-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/newlibc_exit.c:1.10 rtems/cpukit/libcsupport/src/newlibc_exit.c:1.11
--- rtems/cpukit/libcsupport/src/newlibc_exit.c:1.10 Mon Nov 29 08:14:27 2010
+++ rtems/cpukit/libcsupport/src/newlibc_exit.c Tue Nov 30 02:15:35 2010
</font><font color='#997700'>@@ -118,13 +118,10 @@
</font> */
#include <unistd.h>
<font color='#880000'>-#include <newlib.h>
-
-#if defined(HAVE_INITFINI_ARRAY)
- extern void __libc_fini_array(void);
-#endif
</font>
/* FIXME: These defines are a blatant hack */
<font color='#000088'>+ #define EXIT_SYMBOL _exit
+
</font> #if defined(__AVR__)
#undef __USE_INIT_FINI__
#endif
<font color='#997700'>@@ -138,22 +135,8 @@
</font> extern void FINI_SYMBOL( void );
#endif
<font color='#880000'>-void _exit(int status)
</font><font color='#000088'>+void EXIT_SYMBOL(int status)
</font> {
<font color='#880000'>- #if defined(HAVE_INITFINI_ARRAY)
- /*
- * According to
- *
- * System V Application Binary Interface
- * Chapter 5
- * Initialization and Termination Functions
- *
- * we have to call the functions referenced by the .fini_array before the
- * one referenced by the .fini section.
- */
- __libc_fini_array();
- #endif
-
</font> /*
* If the toolset uses init/fini sections, then we need to
* run the global destructors now.
<font color='#006600'>diff -u rtems/cpukit/score/src/threadhandler.c:1.30 rtems/cpukit/score/src/threadhandler.c:1.31
--- rtems/cpukit/score/src/threadhandler.c:1.30 Mon Nov 29 08:14:27 2010
+++ rtems/cpukit/score/src/threadhandler.c Tue Nov 30 02:15:35 2010
</font><font color='#997700'>@@ -30,14 +30,6 @@
</font> #include <rtems/score/userext.h>
#include <rtems/score/wkspace.h>
<font color='#880000'>-#if defined(RTEMS_NEWLIB)
- #include <newlib.h>
-#endif
-
-#if defined(HAVE_INITFINI_ARRAY)
- extern void __libc_init_array(void);
-#endif
-
</font> #if defined(__AVR__)
#undef __USE_INIT_FINI__
#endif
<font color='#997700'>@@ -146,20 +138,6 @@
</font> */
if (!doneCons) /* && (volatile void *)_init) */ {
INIT_NAME ();
<font color='#880000'>-
- #if defined(HAVE_INITFINI_ARRAY)
- /*
- * According to
- *
- * System V Application Binary Interface
- * Chapter 5
- * Initialization and Termination Functions
- *
- * we have to call the functions referenced by the .init_array after
- * the one referenced by the .init section.
- */
- __libc_init_array();
- #endif
</font> }
#endif
</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>