diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-01-10 18:58:36 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-01-10 18:58:36 +0000 |
commit | 69f069696b3aa4a34a0cfac45a4f338129eb1efd (patch) | |
tree | f3cf7a8f5d0443bef0d05229b26fa986441e8dce /ld/scripttempl/h8500c.sc | |
parent | de9d65b5dc1cb19594d17e7f9e6915aa511c4a79 (diff) | |
download | gdb-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.sc | 57 |
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 - - - - |