* 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 e7592cf..a2414bb 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 4bd0dc6..dc0956e 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 50e9241..a0bc4e0 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="