Replace MINUS_G by CFLAGS.
[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)
76971f0d 19 _etext = .;
7e5c1057 20 } ${RELOCATING+ > ram}
6ecb2b74
PB
21.data :
22 {
23 *(.data)
76971f0d 24 _edata = .;
7e5c1057 25 } ${RELOCATING+ > ram}
6ecb2b74
PB
26.bss :
27 {
76971f0d 28 ${RELOCATING+ _bss_start = .};
6ecb2b74
PB
29 *(.bss)
30 *(COMMON)
76971f0d 31 ${RELOCATING+ _end = .};
7e5c1057 32 } ${RELOCATING+ >ram}
76971f0d
SC
33.stack :
34 {
9d1fe8a4 35 _stack = .;
76971f0d
SC
36 *(.stack)
37 } ${RELOCATING+ > topram}
6ecb2b74
PB
38}
39EOF
76971f0d
SC
40
41
42
43
This page took 0.032815 seconds and 4 git commands to generate.