19990502 sourceware import
[deliverable/binutils-gdb.git] / ld / scripttempl / h8500b.sc
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
4
5 /* Code and data, both larger than 64k */
6
7 SECTIONS
8 {
9 .text ${RELOCATING+ 0x10000} :
10 {
11 *(.text)
12
13 ${RELOCATING+ _etext = . ; }
14 }
15
16
17 .data ${RELOCATING+ 0x20000} :
18 {
19 *(.data)
20 ${RELOCATING+ _edata = . ; }
21 }
22
23 .rdata ${RELOCATING+ 0x30000} :
24 {
25 *(.rdata);
26 *(.strings)
27 ___ctors = . ;
28 *(.ctors)
29 ___ctors_end = . ;
30 ___dtors = . ;
31 *(.dtors)
32 ___dtors_end = . ;
33 }
34
35 .bss ${RELOCATING+ 0x40000} :
36 {
37 ${RELOCATING+ __start_bss = . ; }
38 *(.bss)
39 *(COMMON)
40 ${RELOCATING+ _end = . ; }
41 }
42
43 .stack ${RELOCATING+ 0x50000} :
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 }
58 EOF
59
60
61
62
This page took 0.048234 seconds and 4 git commands to generate.