aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/h8500m.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/h8500m.sc')
-rw-r--r--ld/scripttempl/h8500m.sc34
1 files changed, 15 insertions, 19 deletions
diff --git a/ld/scripttempl/h8500m.sc b/ld/scripttempl/h8500m.sc
index 06ce2af..3314066 100644
--- a/ld/scripttempl/h8500m.sc
+++ b/ld/scripttempl/h8500m.sc
@@ -12,27 +12,27 @@ OUTPUT_ARCH(${ARCH})
/* Code and data, both larger than 64k */
-SECTIONS
-{
+SECTIONS
+{
.text ${RELOCATING+ 0x10000} :
- {
- *(.text)
- ${RELOCATING+ _etext = . ; }
+ {
+ *(.text)
+ ${RELOCATING+ _etext = . ; }
}
.data ${RELOCATING+ 0x20000} :
{
*(.data)
${RELOCATING+ _edata = . ; }
- }
+ }
.rdata ${RELOCATING+ . } :
{
- *(.rdata);
+ *(.rdata);
*(.strings)
-
- ${CONSTRUCTING+${TORS}}
- }
+
+ ${CONSTRUCTING+${TORS}}
+ }
.bss ${RELOCATING+ . } :
{
@@ -46,20 +46,16 @@ SECTIONS
{
${RELOCATING+ _stack = . ; }
*(.stack)
- }
+ }
-.stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
+.stab 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stab ]
}
-
+
.stabstr 0 ${RELOCATING+(NOLOAD)} :
{
[ .stabstr ]
}
}
EOF
-
-
-
-