OSDN Git Service
(root)
/
hos
/
hos-v4a.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
713d36181adc8afb221911d6bf6bdc319407ecd2
[hos/hos-v4a.git]
/
aplfw
/
sample
/
sh
/
cq7144a
/
gcc
/
link_ext.lds
1
OUTPUT_ARCH(sh)
2
ENTRY(_reset_handler)
3
4
MEMORY
5
{
6
vector : o = 0x400000, l = 0x00400
7
ro : o = 0x400400, l = 0x0fc00
8
rw : o = 0x410000, l = 0x10000
9
}
10
11
SECTIONS
12
{
13
.vector :
14
{
15
___vector = . ;
16
*/vector.o(.text)
17
FILL(0xff)
18
___vector_end = . ;
19
} > vector
20
.text :
21
{
22
___text = . ;
23
*(.text)
24
*(.strings)
25
*(.rodata*)
26
___text_end = . ;
27
} > ro
28
.tors :
29
{
30
. = ALIGN(4);
31
___ctors = . ;
32
*(.ctors)
33
___ctors_end = . ;
34
___dtors = . ;
35
*(.dtors)
36
___dtors_end = . ;
37
} > ro
38
data : AT (ADDR(.tors) + SIZEOF(.tors))
39
{
40
___data_rom = ADDR(.tors) + SIZEOF(.tors);
41
___data = . ;
42
*(.data)
43
___data_end = . ;
44
} > rw
45
.bss :
46
{
47
___bss = . ;
48
*(.bss)
49
*(COMMON)
50
___bss_end = . ;
51
} > rw
52
}
53