OSDN Git Service
(root)
/
hos
/
hos-v4a.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cfca2585cac906b52ecc36c1acfe4e89cc08d9a9
[hos/hos-v4a.git]
/
aplfw
/
sample
/
mips
/
jelly
/
gcc
/
rom.lds
1
OUTPUT_ARCH(mips)
2
ENTRY(_reset_handler)
3
4
MEMORY
5
{
6
ro : o = 0x00000000, l = 0x00010000
7
ra : o = 0x01000000, l = 0x00100000
8
}
9
10
SECTIONS
11
{
12
.text :
13
{
14
___text = . ;
15
*/crt0.o(.text)
16
*(.text)
17
*(.strings)
18
*(.rodata*)
19
*(.glue*)
20
___text_end = . ;
21
} > ro
22
.tors :
23
{
24
. = ALIGN(4);
25
___ctors = . ;
26
*(.ctors)
27
___ctors_end = . ;
28
___dtors = . ;
29
*(.dtors)
30
___dtors_end = . ;
31
} > ro
32
data : AT (ADDR(.tors) + SIZEOF(.tors))
33
{
34
___data_rom = ADDR(.tors) + SIZEOF(.tors);
35
___data = . ;
36
*(.data)
37
_gp = ALIGN(16) + 0x7ff0;
38
*(.sdata)
39
*(.eh_frame)
40
___data_end = . ;
41
} > rw
42
.bss :
43
{
44
___bss = . ;
45
*(.sbss)
46
*(.bss)
47
*(COMMON)
48
*(.scommon)
49
___bss_end = . ;
50
} > rw
51
}
52