[rtems commit] bsp/h8sim: Fix linker command file

Sebastian Huber sebh at rtems.org
Tue Apr 29 06:00:10 UTC 2014


Module:    rtems
Branch:    master
Commit:    6741427a3b8f0c4f8ef79ef84e3502311e639aa4
Changeset: http://git.rtems.org/rtems/commit/?id=6741427a3b8f0c4f8ef79ef84e3502311e639aa4

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr 28 16:55:38 2014 +0200

bsp/h8sim: Fix linker command file

---

 c/src/lib/libbsp/h8300/h8sim/startup/linkcmds |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
index c951557..53ed639 100644
--- a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
+++ b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
@@ -37,6 +37,8 @@ SECTIONS
     {
 	*(.text*)
 	*(.gnu.linkonce.t*)
+	KEEP (*(.init))
+	KEEP (*(.fini))
 	
         /*
          * Special FreeBSD sysctl sections.




More information about the vc mailing list