]> git.wh0rd.org Git - elf2flt.git/commitdiff
put in the full contructor support by default.
authorDavid McCullough <davidm@snapgear.com>
Thu, 13 Mar 2003 06:14:40 +0000 (06:14 +0000)
committerDavid McCullough <davidm@snapgear.com>
Thu, 13 Mar 2003 06:14:40 +0000 (06:14 +0000)
For arm-elf remove all lines containing __[CD]TOR_END__, I'm not sure why
it is different yet.

elf2flt.ld

index dcefc0c5f78a26c9f1d6a70472824008c10579cf..7bb70863bdca1099f007c2865ffb288e84795f95 100644 (file)
@@ -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 = . ;