+2005-12-22 Santosh Raktawan <santoshr2@kpitcummins.com>
+
+ * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION,
+ TINY_DATA_SECTION, TINY_BSS_SECTION): Define.
+ * ld/emulparms/h8300self.sh: Likewise.
+ * ld/emulparms/h8300sxelf.sh: Likewise.
+ * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION,
+ TINY_DATA_SECTION, TINY_BSS_SECTION.
+
2005-12-19 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2065
TEXT_START_ADDR=0x8000
TARGET_PAGE_SIZE=128
ARCH=h8300
+TINY_READONLY_SECTION=".tinyrodata :
+ {
+ *(.tinyrodata)
+ } =0"
+TINY_DATA_SECTION=".tinydata 0xff8000 :
+ {
+ *(.tinydata)
+ _tinydata = .;
+ }"
+TINY_BSS_SECTION=".tinybss : AT (_tinydata)
+ {
+ *(.tinybss)
+ }"
TEMPLATE_NAME=elf32
EMBEDDED=yes
STACK_ADDR=0xfefc
+TINY_READONLY_SECTION=".tinyrodata :
+ {
+ *(.tinyrodata)
+ } =0"
+TINY_DATA_SECTION=".tinydata 0xff8000 :
+ {
+ *(.tinydata)
+ _tinydata = .;
+ }"
+TINY_BSS_SECTION=".tinybss : AT (_tinydata)
+ {
+ *(.tinybss)
+ }"
. ${srcdir}/emulparams/h8300elf.sh
ARCH="h8300:h8300sx"
STACK_ADDR=0x2fefc
+TINY_READONLY_SECTION=".tinyrodata :
+ {
+ *(.tinyrodata)
+ } =0"
+TINY_DATA_SECTION=".tinydata 0xff8000 :
+ {
+ *(.tinydata)
+ _tinydata = .;
+ }"
+TINY_BSS_SECTION=".tinybss : AT (_tinydata)
+ {
+ *(.tinybss)
+ }"
} =${NOP-0}
${TEXT_PLT+${PLT}}
+ ${TINY_READONLY_SECTION}
.text ${RELOCATING-0} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
+ ${TINY_DATA_SECTION}
+ ${TINY_BSS_SECTION}
+
${STACK_ADDR+${STACK}}
${OTHER_SECTIONS}
${RELOCATING+${OTHER_SYMBOLS}}