change log for rtems (2011-12-12)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Dec 12 19:10:51 UTC 2011


 *gedare*:
2011-12-12	Gedare Bloom <gedare at rtems.org>

	PR bsps/1988
	* shared/startup/linkcmds: Relocate .init and .fini sections closer to
	.text.

M   1.16  c/src/lib/libbsp/sparc64/ChangeLog
M    1.5  c/src/lib/libbsp/sparc64/shared/startup/linkcmds

diff -u rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.15 rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.16
--- rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.15	Sun Nov  6 14:12:19 2011
+++ rtems/c/src/lib/libbsp/sparc64/ChangeLog	Mon Dec 12 12:52:18 2011
@@ -1,3 +1,9 @@
+2011-12-12	Gedare Bloom <gedare at rtems.org>
+
+	PR bsps/1988
+	* shared/startup/linkcmds: Relocate .init and .fini sections closer to
+	.text.
+
 2011-11-06	Gedare Bloom <gedare at rtems.org>
 
 	* shared/console/conscfg.c: Whitespace and style fixes.

diff -u rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.4 rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.5
--- rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.4	Thu Oct  6 11:46:36 2011
+++ rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds	Mon Dec 12 12:52:18 2011
@@ -94,6 +94,9 @@
     *(BOOTSTRAP);
     *(.text*)
 
+    KEEP (*(.init))
+    KEEP (*(.fini))
+
     /*
      * Special FreeBSD sysctl sections.
      */
@@ -142,17 +145,12 @@
     *(.gnu.linkonce.r*)
     _erodata = ALIGN( 0x10 ) ;
 
-    etext = ALIGN(2);
-    _etext = . ;
-
-    *(.init)
-    PROVIDE (_fini = .);
-    KEEP (*(.fini))
     *(.lit)
     *(.shdata)
 
      . = ALIGN (16);
     _endtext = . ;
+    _etext = . ;
   } > ram 
   
   .data	  : AT (ADDR (.text) + SIZEOF (.text))


 *gedare*:
2011-12-12	Gedare Bloom <gedare at rtems.org>

	PR bsps/1988
	* shared/start/start.S: Add _init and _fini to .init and .fini sections

M   1.17  c/src/lib/libbsp/sparc64/ChangeLog
M    1.3  c/src/lib/libbsp/sparc64/shared/start/start.S

diff -u rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.16 rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.17
--- rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.16	Mon Dec 12 12:52:18 2011
+++ rtems/c/src/lib/libbsp/sparc64/ChangeLog	Mon Dec 12 13:00:47 2011
@@ -1,6 +1,11 @@
 2011-12-12	Gedare Bloom <gedare at rtems.org>
 
 	PR bsps/1988
+	* shared/start/start.S: Add _init and _fini to .init and .fini sections
+
+2011-12-12	Gedare Bloom <gedare at rtems.org>
+
+	PR bsps/1988
 	* shared/startup/linkcmds: Relocate .init and .fini sections closer to
 	.text.
 

diff -u rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.2 rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.3
--- rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.2	Thu Oct  6 11:46:36 2011
+++ rtems/c/src/lib/libbsp/sparc64/shared/start/start.S	Mon Dec 12 13:00:48 2011
@@ -166,12 +166,16 @@
   param_space:
   	.space 8
 
-    .global _fini
-    _fini:
+.section .fini
+  .global _fini
+  _fini:
     nop
+    retl
     nop
 
-    .global _init
-    _init:
+.section .init
+  .global _init
+  _init:
     nop
+    retl
     nop



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111212/900f42cc/attachment-0001.html>


More information about the vc mailing list