-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathldscript.txt
92 lines (87 loc) · 2.25 KB
/
ldscript.txt
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
OUTPUT_ARCH(arm)
SECTIONS
{
. = 0x08000000;
.text :
ALIGN(4)
{
asm/crt0.o(.text);
asm/rom1.o(.text);
src/main.o(.text);
src/math.o(.text);
src/rom2.o(.text);
asm/rom2.o(.text);
src/rom_0800D4F0.o(.text);
asm/rom_0800D4F0.o(.text);
src/file_select.o(.text);
asm/file_select.o(.text);
asm/rom2a.o(.text);
src/game_select.o(.text);
asm/game_select.o(.text);
asm/rom3.o(.text);
src/rom3a.o(.text);
asm/rom3a.o(.text);
src/lttp/sprite.o(.text);
asm/rom3b.o(.text);
src/lttp/sprite2.o(.text);
src/lttp/sprite_unused.o(.text);
src/lttp/sprite_heart_refill.o(.text);
src/lttp/sprite_faerie.o(.text);
src/lttp/sprite_pickup.o(.text);
asm/lttp/sprite_bee.o(.text);
src/lttp/sprite_bottle_vendor.o(.text);
src/lttp/sprite_witch.o(.text);
asm/rom3c.o(.text);
asm/rom4.o(.text);
src/hud.o(.text);
asm/hud.o(.text);
src/interface.o(.text);
asm/interface.o(.text);
asm/rom5.o(.text);
asm/syscall.o(.text);
asm/rom6.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:_fixunssfsi.o(.text);
tools/agbcc/lib/libgcc.a:_modsi3.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:_muldi3.o(.text);
tools/agbcc/lib/libgcc.a:_negdi2.o(.text);
tools/agbcc/lib/libc.a:memcpy.o(.text);
asm/thumb_interwork_veneers.o(.text);
} = 0
.rodata :
ALIGN(4)
{
data/data.o(.rodata);
src/main.o(.rodata);
data/data_842735C.o(.rodata);
src/file_select.o(.rodata);
data/data_84274AC.o(.rodata);
data/4swords_text.o(.rodata);
} = 0
. = 0x02000000;
.ewram_data :
ALIGN(4)
{
INCLUDE "sym_ewram.txt"
} = 0
. = 0x03000000;
.bss :
ALIGN(4)
{
INCLUDE "sym_iwram.txt"
} = 0
/* Discard everything not specifically mentioned above. */
/DISCARD/ :
{
*(*);
}
}
gUnknown_03005E20 = 0x03005E20; /* gUnknown_03005E60 seems to be part of this. (see sub_0800BED8) */
gUnknown_02016D60_alt = gUnknown_02016D60;