aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/h8500c.sc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2001-01-10 18:58:36 +0000
committerKazu Hirata <kazu@codesourcery.com>2001-01-10 18:58:36 +0000
commit69f069696b3aa4a34a0cfac45a4f338129eb1efd (patch)
treef3cf7a8f5d0443bef0d05229b26fa986441e8dce /ld/scripttempl/h8500c.sc
parentde9d65b5dc1cb19594d17e7f9e6915aa511c4a79 (diff)
downloadgdb-69f069696b3aa4a34a0cfac45a4f338129eb1efd.zip
gdb-69f069696b3aa4a34a0cfac45a4f338129eb1efd.tar.gz
gdb-69f069696b3aa4a34a0cfac45a4f338129eb1efd.tar.bz2
2001-01-10 Kazu Hirata <kazu@hxi.com>
* scripttempl/h8500.sc: Fix formatting. * scripttempl/h8500b.sc: Likewise. * scripttempl/h8500c.sc: Likewise. * scripttempl/h8500m.sc: Likewise. * scripttempl/h8500s.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/h8500c.sc')
-rw-r--r--ld/scripttempl/h8500c.sc57
1 files changed, 27 insertions, 30 deletions
diff --git a/ld/scripttempl/h8500c.sc b/ld/scripttempl/h8500c.sc
index bc69649..145ffc5 100644
--- a/ld/scripttempl/h8500c.sc
+++ b/ld/scripttempl/h8500c.sc
@@ -12,53 +12,50 @@ OUTPUT_ARCH(${ARCH})
/* Compact model - code < 64k, data > 64k */
-SECTIONS
-{
+SECTIONS
+{
.text 0x10000 :
- {
- *(.text)
+ {
+ *(.text)
*(.strings)
- ${RELOCATING+ _etext = . ; }
+ ${RELOCATING+ _etext = . ; }
} ${RELOCATING+ > ram}
-
.data 0x20000 :
{
- *(.data)
- ${RELOCATING+ _edata = . ; }
+ *(.data)
+ ${RELOCATING+ _edata = . ; }
} ${RELOCATING+ > ram}
.rdata 0x30000 :
- {
- *(.rdata);
-
- ${CONSTRUCTING+${TORS}}
+ {
+ *(.rdata);
+
+ ${CONSTRUCTING+${TORS}}
} ${RELOCATING+ > ram}
.bss 0x40000 :
{
- ${RELOCATING+ __start_bss = . ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ _end = . ; }
+ ${RELOCATING+ __start_bss = . ; }
+ *(.bss)
+ *(COMMON)
+ ${RELOCATING+ _end = . ; }
} ${RELOCATING+ >ram}
+
.stack 0x5fff0 :
{
- ${RELOCATING+ _stack = . ; }
- *(.stack)
+ ${RELOCATING+ _stack = . ; }
+ *(.stack)
} ${RELOCATING+ > topram}
- .stab 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stab ]
- }
- .stabstr 0 ${RELOCATING+(NOLOAD)} :
- {
- [ .stabstr ]
- }
+.stab 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stab ]
+ }
+
+.stabstr 0 ${RELOCATING+(NOLOAD)} :
+ {
+ [ .stabstr ]
+ }
}
EOF
-
-
-
-