Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
[deliverable/binutils-gdb.git] / ld / h8300hms.sc-sh
CommitLineData
6ecb2b74 1cat <<EOF
76971f0d 2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
6ecb2b74
PB
3OUTPUT_ARCH(${ARCH})
4
5MEMORY {
6 rom : o = 0x0000, l = 0x7fe0
7 duart : o = 0x7fe0, l = 16
76971f0d 8 ram : o = 0x8000, l = 28k
9d1fe8a4
SC
9 topram : o = 0x8000+28k, l = 1k
10 hmsram : o = 0xfb80, l = 512
6ecb2b74
PB
11 }
12
13SECTIONS
14{
15.text :
16 {
17 *(.text)
18 *(.strings)
ae475b39 19 ${RELOCATING+ _etext = . ; }
7e5c1057 20 } ${RELOCATING+ > ram}
6ecb2b74
PB
21.data :
22 {
23 *(.data)
ae475b39 24 ${RELOCATING+ _edata = . ; }
7e5c1057 25 } ${RELOCATING+ > ram}
6ecb2b74
PB
26.bss :
27 {
ae475b39 28 ${RELOCATING+ _bss_start = . ;}
6ecb2b74
PB
29 *(.bss)
30 *(COMMON)
ae475b39 31 ${RELOCATING+ _end = . ; }
7e5c1057 32 } ${RELOCATING+ >ram}
76971f0d
SC
33.stack :
34 {
ae475b39 35 ${RELOCATING+ _stack = . ; }
76971f0d
SC
36 *(.stack)
37 } ${RELOCATING+ > topram}
6ecb2b74
PB
38}
39EOF
76971f0d
SC
40
41
42
43
This page took 0.038304 seconds and 4 git commands to generate.