Support for constructors.
authorSteve Chamberlain <sac@cygnus>
Thu, 17 Jun 1993 21:49:48 +0000 (21:49 +0000)
committerSteve Chamberlain <sac@cygnus>
Thu, 17 Jun 1993 21:49:48 +0000 (21:49 +0000)
ld/scripttempl/sh.sc

index b941359b9b8a8b790de8d2a283bd83754351420d..3eefa62157b46b4ad3050a6106f04a1329a53786 100644 (file)
@@ -14,6 +14,17 @@ SECTIONS
          *(.strings)
         ${RELOCATING+ _etext = . ; }
        } ${RELOCATING+ > ram}
+
+
+.tors   : {
+       ___ctors = . ;
+       *(.ctors)
+       ___ctors_end = . ;
+       ___dtors = . ;
+       *(.dtors)
+       ___dtors_end = . ;
+}  ${RELOCATING+ > ram}
+
 .data  :
        {
        *(.data)