aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfm68hc12.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/elfm68hc12.sc')
-rw-r--r--ld/scripttempl/elfm68hc12.sc7
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/scripttempl/elfm68hc12.sc b/ld/scripttempl/elfm68hc12.sc
index 546fe54..d7898bb 100644
--- a/ld/scripttempl/elfm68hc12.sc
+++ b/ld/scripttempl/elfm68hc12.sc
@@ -331,7 +331,7 @@ SECTIONS
.eh_frame ${RELOCATING-0} :
{
- *(.eh_frame)
+ KEEP (*(.eh_frame))
} ${RELOCATING+ > ${TEXT_MEMORY}}
.rodata ${RELOCATING-0} :
@@ -350,6 +350,11 @@ SECTIONS
${RELOCATING+${CTOR}}
${RELOCATING+${DTOR}}
+ .jcr ${RELOCATING-0} :
+ {
+ KEEP (*(.jcr))
+ } ${RELOCATING+ > ${TEXT_MEMORY}}
+
/* Start of the data section image in ROM. */
${RELOCATING+__data_image = .;}
${RELOCATING+PROVIDE (__data_image = .);}