Change order slightly
authorMichael Meissner <gnu@the-meissners.org>
Tue, 9 Dec 1997 23:35:35 +0000 (23:35 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Tue, 9 Dec 1997 23:35:35 +0000 (23:35 +0000)
ld/scripttempl/elfd30v.sc

index ad76a995d5ce75ff4cf0649a4d9b05e351501826..fe74e3de58841fbff3c610aaa3671ad36688ed1e 100644 (file)
@@ -19,14 +19,6 @@ SECTIONS
     ${RELOCATING+ PROVIDE (__stext_end = .) ; }
   } ${RELOCATING+ > text}
 
-  /* External memory */
-  .etext       ${RELOCATING-0} :
-  {
-    ${RELOCATING+ PROVIDE (__etext_start = .) ; }
-    *(.etext)
-    ${RELOCATING+ PROVIDE (__etext_end = .) ; }
-  } ${RELOCATING+ > emem}
-
   /* Internal text space or external memory */
   .text :
   {
@@ -47,14 +39,6 @@ SECTIONS
     ${RELOCATING+ PROVIDE (__sdata_end = .) ; }
   } ${RELOCATING+ > data}
 
-  /* External memory */
-  .edata       ${RELOCATING-0} :
-  {
-    ${RELOCATING+ PROVIDE (__edata_start = .) ; }
-    *(.edata)
-    ${RELOCATING+ PROVIDE (__edata_end = .) ; }
-  } ${RELOCATING+ > emem}
-
   /* Internal data space or external memory */
   .strings     ${RELOCATING-0} : { *(.strings) }       ${RELOCATING+ > ${DATA_MEMORY}}
   .rodata      ${RELOCATING-0} : { *(.rodata) }        ${RELOCATING+ > ${DATA_MEMORY}}
@@ -83,6 +67,21 @@ SECTIONS
     ${RELOCATING+ _edata = . ; }
   } ${RELOCATING+ > ${DATA_MEMORY}}
 
+  /* External memory */
+  .etext       ${RELOCATING-0} :
+  {
+    ${RELOCATING+ PROVIDE (__etext_start = .) ; }
+    *(.etext)
+    ${RELOCATING+ PROVIDE (__etext_end = .) ; }
+  } ${RELOCATING+ > emem}
+
+  .edata       ${RELOCATING-0} :
+  {
+    ${RELOCATING+ PROVIDE (__edata_start = .) ; }
+    *(.edata)
+    ${RELOCATING+ PROVIDE (__edata_end = .) ; }
+  } ${RELOCATING+ > emem}
+
   .sbss                ${RELOCATING-0} :
   {
     ${RELOCATING+ PROVIDE (__sbss_start = .) ; }
This page took 0.032842 seconds and 4 git commands to generate.