aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-12-09 23:35:35 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-12-09 23:35:35 +0000
commit27be012212cccbdeda56117a31b8cb84c8a42094 (patch)
treeb89e586614f801cf6fecd789239ffde367345f86 /ld
parent98d38753e411b6547f72e00389c17cbaac2abb7a (diff)
downloadbinutils-27be012212cccbdeda56117a31b8cb84c8a42094.zip
binutils-27be012212cccbdeda56117a31b8cb84c8a42094.tar.gz
binutils-27be012212cccbdeda56117a31b8cb84c8a42094.tar.bz2
Change order slightly
Diffstat (limited to 'ld')
-rw-r--r--ld/scripttempl/elfd30v.sc31
1 files changed, 15 insertions, 16 deletions
diff --git a/ld/scripttempl/elfd30v.sc b/ld/scripttempl/elfd30v.sc
index ad76a99..fe74e3d 100644
--- a/ld/scripttempl/elfd30v.sc
+++ b/ld/scripttempl/elfd30v.sc
@@ -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 = .) ; }