This commit was manufactured by cvs2svn to create branch 'binutils-
[external/binutils.git] / ld / scripttempl / h8300.sc
index f9120ba..f142f4b 100644 (file)
@@ -11,7 +11,7 @@ TORS=".tors :
 cat <<EOF
 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 OUTPUT_ARCH(${ARCH})
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
 
 MEMORY
 {
@@ -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}