From 7370fafe78bd9b13fb74e550655b2afe12474e57 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 13 Mar 2003 06:14:40 +0000 Subject: [PATCH] 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. --- elf2flt.ld | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 = . ; -- 2.11.0