summaryrefslogtreecommitdiff
path: root/ld/scripttempl/h8300.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/h8300.sc')
-rw-r--r--ld/scripttempl/h8300.sc7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/scripttempl/h8300.sc b/ld/scripttempl/h8300.sc
index f9120ba80d..1fdf30c8fd 100644
--- a/ld/scripttempl/h8300.sc
+++ b/ld/scripttempl/h8300.sc
@@ -38,10 +38,16 @@ SECTIONS
*(.vectors)
} ${RELOCATING+ > vectors}
+.init :
+ {
+ *(.init)
+ } ${RELOCATING+ > ram}
+
.text :
{
*(.rodata)
*(.text)
+ *(.text.*)
*(.strings)
${RELOCATING+ _etext = . ; }
} ${RELOCATING+ > ram}
@@ -51,6 +57,7 @@ ${CONSTRUCTING+${TORS}}
.data :
{
*(.data)
+ *(.data.*)
*(.tiny)
${RELOCATING+ _edata = . ; }
} ${RELOCATING+ > ram}