blob: 313f022071c26dff98a3a16a0ec3107f478957ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
ENTRY(Start)
gNumMusicPlayers = 4;
gMaxLines = 60;
SECTIONS {
. = 0x2020000;
ewram (NOLOAD) :
ALIGN(4)
{
src/main.o(ewram_data);
src/sprite.o(ewram_data);
. = ALIGN(4);
src/text.o(ewram_data);
src/string_util.o(ewram_data);
. += 0x2E8; /* big gap */
src/link.o(ewram_data);
src/rtc.o(ewram_data);
}
. = 0x3000000;
iwram (NOLOAD) :
ALIGN(4)
{
src/main.o(.bss);
src/sprite.o(.bss);
src/text.o(.bss);
src/string_util.o(.bss);
src/link.o(.bss);
src/rtc.o(.bss);
. = 0xF28;
src/agb_flash.o(.bss);
. = 0xF36;
src/siirtc.o(.bss);
tools/agbcc/lib/libgcc.a:dp-bit.o(.bss);
tools/agbcc/lib/libgcc.a:fp-bit.o(.bss);
src/m4a_2.o(.bss.code);
src/main.o(iwram_data);
src/sprite.o(iwram_data);
src/text.o(iwram_data);
src/string_util.o(iwram_data);
src/link.o(iwram_data);
src/rtc.o(iwram_data);
. = 0x5FD0;
src/m4a_2.o(iwram_data);
. = 0x7490;
src/agb_flash.o(iwram_data);
}
. = 0x8000000;
.text :
ALIGN(4)
{
asm/crt0.o(.text);
src/main.o(.text);
src/sprite.o(.text);
src/text.o(.text);
src/string_util.o(.text);
src/link.o(.text);
src/rtc.o(.text);
asm/rom3.o(.text);
src/rng.o(.text);
asm/rom_8040EB4.o(.text);
src/play_time.o(.text);
asm/rom4.o(.text);
src/palette.o(.text);
asm/rom_8074BAC.o(.text);
src/task.o(.text);
asm/rom5.o(.text);
} =0
script_data :
ALIGN(4)
{
data/event_scripts.o(script_data);
data/battle_anim_scripts.o(script_data);
data/data1.o(script_data);
} =0
lib_text :
ALIGN(4)
{
asm/libgcnmultiboot.o(.text);
asm/m4a_1.o(.text);
src/m4a_2.o(.text);
asm/m4a_3.o(.text);
src/m4a_4.o(.text);
src/agb_flash.o(.text);
src/agb_flash_1m.o(.text);
src/agb_flash_mx.o(.text);
src/siirtc.o(.text);
asm/libagbsyscall.o(.text);
tools/agbcc/lib/libgcc.a:_call_via_rX.o(.text);
tools/agbcc/lib/libgcc.a:_divsi3.o(.text);
tools/agbcc/lib/libgcc.a:_dvmd_tls.o(.text);
tools/agbcc/lib/libgcc.a:_fixunsdfsi.o(.text);
tools/agbcc/lib/libgcc.a:_fixunssfsi.o(.text);
tools/agbcc/lib/libgcc.a:_modsi3.o(.text);
tools/agbcc/lib/libgcc.a:_muldi3.o(.text);
tools/agbcc/lib/libgcc.a:_udivdi3.o(.text);
tools/agbcc/lib/libgcc.a:_udivsi3.o(.text);
tools/agbcc/lib/libgcc.a:_umodsi3.o(.text);
tools/agbcc/lib/libgcc.a:dp-bit.o(.text);
tools/agbcc/lib/libgcc.a:fp-bit.o(.text);
tools/agbcc/lib/libgcc.a:_lshrdi3.o(.text);
tools/agbcc/lib/libgcc.a:_negdi2.o(.text);
src/libc.o(.text);
} =0
.rodata :
ALIGN(4)
{
src/main.o(.rodata);
src/sprite.o(.rodata);
. += 0x8; /* Why the gap? */
src/text.o(.rodata);
src/string_util.o(.rodata);
src/link.o(.rodata);
src/rtc.o(.rodata);
data/data2.o(.rodata);
src/m4a_tables.o(.rodata);
data/sound_data.o(.rodata);
src/agb_flash.o(.rodata);
src/agb_flash_1m.o(.rodata);
src/agb_flash_mx.o(.rodata);
src/agb_flash_le.o(.rodata);
src/siirtc.o(.rodata);
tools/agbcc/lib/libgcc.a:_udivdi3.o(.rodata);
} =0
. = 0x8D00000;
gfx_data :
ALIGN(4)
{
data/graphics.o(gfx_data);
} =0
/* Discard everything not specifically mentioned above. */
/DISCARD/ :
{
*(*);
}
}
|