* scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 25 Nov 2001 17:29:27 +0000 (17:29 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 25 Nov 2001 17:29:27 +0000 (17:29 +0000)
destructor in rom.
* scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.

ld/ChangeLog
ld/scripttempl/elfm68hc11.sc
ld/scripttempl/elfm68hc12.sc

index e7592cf250a1157d1ecaf8363d64d52753bb1315..a2414bba4c3490977a3c6535f13d92643952db2c 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
+       destructor in rom.
+       * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.     
+
 2001-11-22  H.J. Lu  <hjl@gnu.org>
 
        * Makefile.in: Regenerated with automake based on automake
index 4bd0dc69370b3f5d53be7def7cb09ea676684f6e..dc0956e4dada3b8f2966c646a5a6e1041a7c8ad2 100644 (file)
@@ -40,7 +40,7 @@ CTOR=".ctors ${CONSTRUCTING-0} :
 
     ${CONSTRUCTING+${CTOR_END}}
     ${CONSTRUCTING+ PROVIDE(__CTOR_END__ = .); }
-  } ${RELOCATING+ > ${DATA_MEMORY}}"
+  } ${RELOCATING+ > ${TEXT_MEMORY}}"
 
 DTOR="  .dtors ${CONSTRUCTING-0} :
   {
@@ -52,7 +52,7 @@ DTOR="  .dtors        ${CONSTRUCTING-0} :
     KEEP (*(SORT(.dtors.*)))
     KEEP (*(.dtors)) */
     ${CONSTRUCTING+ PROVIDE(__DTOR_END__ = .); }
-  } ${RELOCATING+ > ${DATA_MEMORY}}"
+  } ${RELOCATING+ > ${TEXT_MEMORY}}"
 
 
 VECTORS="
index 50e9241abdcfcc03884c226347d71228a30310ce..a0bc4e0d0b63edd2aaa96da024c65a848b36cdd0 100644 (file)
@@ -40,7 +40,7 @@ CTOR=".ctors ${CONSTRUCTING-0} :
 
     ${CONSTRUCTING+${CTOR_END}}
     ${CONSTRUCTING+ PROVIDE(__CTOR_END__ = .); }
-  } ${RELOCATING+ > ${DATA_MEMORY}}"
+  } ${RELOCATING+ > ${TEXT_MEMORY}}"
 
 DTOR="  .dtors ${CONSTRUCTING-0} :
   {
@@ -52,7 +52,7 @@ DTOR="  .dtors        ${CONSTRUCTING-0} :
     KEEP (*(SORT(.dtors.*)))
     KEEP (*(.dtors)) */
     ${CONSTRUCTING+ PROVIDE(__DTOR_END__ = .); }
-  } ${RELOCATING+ > ${DATA_MEMORY}}"
+  } ${RELOCATING+ > ${TEXT_MEMORY}}"
 
 
 VECTORS="