comparison lwlink/script.c @ 251:f6af5791472c 2.x

Fixed default LWEX0 linkscript to include .ctors and .dtors sections
author lost
date Fri, 27 Nov 2009 22:04:05 +0000
parents d8b5ff5c4ef9
children
comparison
equal deleted inserted replaced
250:0986834ec7d3 251:f6af5791472c
49 ; 49 ;
50 50
51 static char *lwex0_script = 51 static char *lwex0_script =
52 "section init load 0100\n" 52 "section init load 0100\n"
53 "section .text\n" 53 "section .text\n"
54 "section .ctors_start\n"
55 "section .ctors\n"
56 "section .ctors_end\n"
57 "section .dtors_start\n"
58 "section .dtors\n"
59 "section .dtors_end\n"
54 "section .data\n" 60 "section .data\n"
55 "section *,!bss\n" 61 "section *,!bss\n"
56 "section *,bss\n" 62 "section *,bss\n"
57 "entry __start\n" 63 "entry __start\n"
58 "stacksize 0400\n" // default 1024 byte stack 64 "stacksize 0400\n" // default 1024 byte stack