changeset 78:19df13313b27

Updated default linkscript for lwex target
author lost@l-w.ca
date Sat, 23 Apr 2011 21:02:04 -0600
parents 35f6d6a5510f
children 17d82b46f4c9
files lwlink/script.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwlink/script.c	Wed Apr 20 21:42:02 2011 -0600
+++ b/lwlink/script.c	Sat Apr 23 21:02:04 2011 -0600
@@ -53,6 +53,12 @@
 	"section init load 0100\n"
 	"section .text\n"
 	"section .data\n"
+	"section .ctors_start\n"
+	"section .ctors\n"
+	"section .ctors_end\n"
+	"section .dtors_start\n"
+	"section .dtors\n"
+	"section .dtors_end\n"
 	"section *,!bss\n"
 	"section *,bss\n"
 	"entry __start\n"