+2001-08-12 Richard Henderson <rth@redhat.com>
+
+ * scripttempl/elf.sc, scripttempl/elfd30v.sc,
+ scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
+ scripttempl/v850.sc: Keep .jcr data.
+
2001-08-12 H.J. Lu <hjl@gnu.org>
Andrew Haley <aph@cambridge.redhat.com>
Nick Clifton <nickc@redhat.com>
${TEXT_DYNAMIC-${DYNAMIC}}
${RELOCATING+${CTOR}}
${RELOCATING+${DTOR}}
+ .jcr : { KEEP (*(.jcr)) }
${DATA_PLT+${PLT}}
${RELOCATING+${OTHER_GOT_SYMBOLS}}
.got ${RELOCATING-0} : { *(.got.plt) *(.got) }
.eh_frame ${RELOCATING-0} : { KEEP (*(.eh_frame)) } ${RELOCATING+ > ${DATA_MEMORY}}
.gcc_except_table ${RELOCATING-0} : { *(.gcc_except_table) } ${RELOCATING+ > ${DATA_MEMORY}}
+ /* Java class registration support. */
+ .jcr ${RELOCATING-0} : { KEEP (*(.jcr)) } ${RELOCATING+ >${DATA_MEMORY}}
+
${RELOCATING+${CTOR}}
${RELOCATING+${DTOR}}
.eh_frame ${RELOCATING-0} :
{
- *(.eh_frame)
+ KEEP (*(.eh_frame))
} ${RELOCATING+ > ${TEXT_MEMORY}}
.rodata ${RELOCATING-0} :
${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 = .);}
.eh_frame ${RELOCATING-0} :
{
- *(.eh_frame)
+ KEEP (*(.eh_frame))
} ${RELOCATING+ > ${TEXT_MEMORY}}
.rodata ${RELOCATING-0} :
${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 = .);}
KEEP (*crtend.o(.dtors))
${CONSTRUCTING+___dtors_end = .;}
}
+ .jcr :
+ {
+ KEEP (*(.jcr))
+ }
.got : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) }