* ldfile.c (ldfile_open_command): Don't try .ld extension.
[deliverable/binutils-gdb.git] / ld / scripttempl / sh.sc
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
4
5 MEMORY {
6 ram : o = 0x1000, l = 512k
7 }
8
9 SECTIONS
10 {
11 .text :
12 {
13 *(.text)
14 *(.strings)
15 ${RELOCATING+ _etext = . ; }
16 } ${RELOCATING+ > ram}
17 .data :
18 {
19 *(.data)
20 ${RELOCATING+ _edata = . ; }
21 } ${RELOCATING+ > ram}
22 .bss :
23 {
24 ${RELOCATING+ _bss_start = . ;}
25 *(.bss)
26 *(COMMON)
27 ${RELOCATING+ _end = . ; }
28 } ${RELOCATING+ >ram}
29 .stack :
30 {
31 ${RELOCATING+ _stack = . ; }
32 *(.stack)
33 } ${RELOCATING+ > ram}
34 }
35 EOF
36
37
38
39
This page took 0.047443 seconds and 5 git commands to generate.