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 b941359..3eefa62 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)