From: David McCullough Date: Thu, 13 Mar 2003 06:14:40 +0000 (+0000) Subject: put in the full contructor support by default. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7370fafe78bd9b13fb74e550655b2afe12474e57;p=uclinux-h8%2Felf2flt.git put in the full contructor support by default. For arm-elf remove all lines containing __[CD]TOR_END__, I'm not sure why it is different yet. --- diff --git a/elf2flt.ld b/elf2flt.ld index dcefc0c..7bb7086 100644 --- a/elf2flt.ld +++ b/elf2flt.ld @@ -68,16 +68,16 @@ R_RODAT *(.rodata.*) *(.note.ABI-tag) . = ALIGN(4) ; - /* LATER __CTOR_LIST__ = .; */ - /* LATER LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) */ + __CTOR_LIST__ = .; + LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) *(.ctors) LONG(0) - /* LATER __CTOR_END__ = .; */ - /* LATER __DTOR_LIST__ = .; */ - /* LATER LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) */ + __CTOR_END__ = .; + __DTOR_LIST__ = .; + LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) *(.dtors) LONG(0) - /* LATER __DTOR_END__ = .; */ + __DTOR_END__ = .; . = ALIGN(0x10) ; _edata = . ;