# HG changeset patch # User lost # Date 1259359445 0 # Node ID f6af5791472c0920e1a230683cd20ac81c03654e # Parent 0986834ec7d37c558b29b6a94a2b67c92238f204 Fixed default LWEX0 linkscript to include .ctors and .dtors sections diff -r 0986834ec7d3 -r f6af5791472c ChangeLog --- a/ChangeLog Thu Nov 26 21:12:45 2009 +0000 +++ b/ChangeLog Fri Nov 27 22:04:05 2009 +0000 @@ -28,6 +28,8 @@ in the future if a reasonable model for such is determined; currently this is just provided for compatibility with the gcc6809 build process [LWASM] +[b] Fixed default linkscript for LWEX0 format to include the .ctors, .dtors, + and related section [LWLINK] Version 2.5 diff -r 0986834ec7d3 -r f6af5791472c lwlink/script.c --- a/lwlink/script.c Thu Nov 26 21:12:45 2009 +0000 +++ b/lwlink/script.c Fri Nov 27 22:04:05 2009 +0000 @@ -51,6 +51,12 @@ static char *lwex0_script = "section init load 0100\n" "section .text\n" + "section .ctors_start\n" + "section .ctors\n" + "section .ctors_end\n" + "section .dtors_start\n" + "section .dtors\n" + "section .dtors_end\n" "section .data\n" "section *,!bss\n" "section *,bss\n"