From 69f069696b3aa4a34a0cfac45a4f338129eb1efd Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 10 Jan 2001 18:58:36 +0000 Subject: 2001-01-10 Kazu Hirata * scripttempl/h8500.sc: Fix formatting. * scripttempl/h8500b.sc: Likewise. * scripttempl/h8500c.sc: Likewise. * scripttempl/h8500m.sc: Likewise. * scripttempl/h8500s.sc: Likewise. --- ld/scripttempl/h8500c.sc | 57 +++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) (limited to 'ld/scripttempl/h8500c.sc') 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 - - - - -- cgit v1.1