19990502 sourceware import
[deliverable/binutils-gdb.git] / ld / scripttempl / h8500.sc
CommitLineData
252b5132
RH
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3OUTPUT_ARCH(${ARCH})
4
5/* Code and data 64k total */
6
7SECTIONS
8{
9.text ${RELOCATING+ 0x0000 } :
10 {
11 *(.text)
12
13 ${RELOCATING+ _etext = . ; }
14 }
15
16
17.data ${RELOCATING+ . } :
18 {
19 *(.data)
20 ${RELOCATING+ _edata = . ; }
21 }
22
23.rdata ${RELOCATING+ . } :
24 {
25 *(.rdata);
26 *(.strings)
27 ___ctors = . ;
28 *(.ctors)
29 ___ctors_end = . ;
30 ___dtors = . ;
31 *(.dtors)
32 ___dtors_end = . ;
33}
34
35.bss ${RELOCATING+ . } :
36 {
37 ${RELOCATING+ __start_bss = . ; }
38 *(.bss)
39 *(COMMON)
40 ${RELOCATING+ _end = . ; }
41 }
42
43.stack ${RELOCATING+ 0xfff0} :
44 {
45 ${RELOCATING+ _stack = . ; }
46 *(.stack)
47 }
48
49 .stab 0 ${RELOCATING+(NOLOAD)} :
50 {
51 [ .stab ]
52 }
53 .stabstr 0 ${RELOCATING+(NOLOAD)} :
54 {
55 [ .stabstr ]
56 }
57}
58EOF
59
60
61
62
This page took 0.026714 seconds and 4 git commands to generate.