aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfm68hc11.sc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-12 20:19:49 +0000
committerRichard Henderson <rth@redhat.com>2001-08-12 20:19:49 +0000
commit24098abb6ce00287bc14c26fb9ec296a9ecc7f21 (patch)
treecff2db93419ba3212946c6067b8377a0ce6fd372 /ld/scripttempl/elfm68hc11.sc
parentfc7bc88384beca1d62919c19120cc0e70c0d1e4e (diff)
downloadgdb-24098abb6ce00287bc14c26fb9ec296a9ecc7f21.zip
gdb-24098abb6ce00287bc14c26fb9ec296a9ecc7f21.tar.gz
gdb-24098abb6ce00287bc14c26fb9ec296a9ecc7f21.tar.bz2
* scripttempl/elf.sc, scripttempl/elfd30v.sc,
scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, scripttempl/v850.sc: Keep .jcr data.
Diffstat (limited to 'ld/scripttempl/elfm68hc11.sc')
-rw-r--r--ld/scripttempl/elfm68hc11.sc7
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/scripttempl/elfm68hc11.sc b/ld/scripttempl/elfm68hc11.sc
index 50183b5..f40e32c 100644
--- a/ld/scripttempl/elfm68hc11.sc
+++ b/ld/scripttempl/elfm68hc11.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 = .);}