diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-11-25 17:29:27 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-11-25 17:29:27 +0000 |
commit | ecfdd20ccea64a0358dfb8896d7cc15f559de389 (patch) | |
tree | 3e46f502c172681c7e99eb27ca8106d6704b0089 /ld/scripttempl | |
parent | 373f2697a8c05463bcf2a9214f4d1a0ea474e65b (diff) | |
download | gdb-ecfdd20ccea64a0358dfb8896d7cc15f559de389.zip gdb-ecfdd20ccea64a0358dfb8896d7cc15f559de389.tar.gz gdb-ecfdd20ccea64a0358dfb8896d7cc15f559de389.tar.bz2 |
* scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
destructor in rom.
* scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elfm68hc11.sc | 4 | ||||
-rw-r--r-- | ld/scripttempl/elfm68hc12.sc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ld/scripttempl/elfm68hc11.sc b/ld/scripttempl/elfm68hc11.sc index 4bd0dc6..dc0956e 100644 --- a/ld/scripttempl/elfm68hc11.sc +++ b/ld/scripttempl/elfm68hc11.sc @@ -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=" diff --git a/ld/scripttempl/elfm68hc12.sc b/ld/scripttempl/elfm68hc12.sc index 50e9241..a0bc4e0 100644 --- a/ld/scripttempl/elfm68hc12.sc +++ b/ld/scripttempl/elfm68hc12.sc @@ -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=" |