Skip to content

Commit c98c03d

Browse files
authored
Match MSL_C (zeldaret#8)
* match wstring.c * match math_api.c, mbstring.c, mem.c and mem_funcs.c * more progress * build issues * fix non-matching issues * reorganise files * match fdlibm (+ libc progress) * fix jp build * solved some non-matchings and progress * removed types.h usage in libc * match data and add missing delinks for jp
1 parent c925fce commit c98c03d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+5281
-295
lines changed

config/eur/arm9/delinks.txt

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,131 @@ libs/cpp/src/__register_global_object.c:
2020

2121
src/Main/func_02017ea4.cpp:
2222
.text start:0x02017ea4 end:0x02017f38
23+
24+
libs/c/src/locale.c:
25+
complete
26+
.data start:0x02044790 end:0x020449ac
27+
28+
libs/c/src/abort_exit_arm_eabi.c:
29+
complete
30+
.bss start:0x02051570 end:0x02051680
31+
.text start:0x020336e8 end:0x02033870
32+
33+
libs/c/src/ansi_files.c:
34+
complete
35+
.data start:0x020446a8 end:0x0204478c
36+
.bss start:0x020517a0 end:0x02051aa0
37+
.text start:0x02033870 end:0x020338d4
38+
39+
libs/c/src/float.c:
40+
complete
41+
.data start:0x0204478c end:0x02044790
42+
43+
libs/c/src/arith.c:
44+
complete
45+
.text start:0x020338d4 end:0x020338ec
46+
47+
libs/c/src/buffer_io.c:
48+
complete
49+
.text start:0x020338ec end:0x0203399c
50+
51+
libs/c/src/file_io.c:
52+
complete
53+
.text start:0x0203399c end:0x02033a80
54+
55+
libs/c/src/math_api.c:
56+
complete
57+
.text start:0x02033b14 end:0x02033ba0
58+
59+
libs/c/src/mbstring.c:
60+
complete
61+
.text start:0x02033ba0 end:0x02033c90
62+
63+
libs/c/src/mem.c:
64+
complete
65+
.text start:0x02033c90 end:0x02033d7c
66+
67+
libs/c/src/mem_funcs.c:
68+
complete
69+
.text start:0x02033d7c end:0x02033e28
70+
71+
libs/c/src/secure_error.c:
72+
complete
73+
.bss start:0x02051aa4 end:0x02051aa8
74+
.text start:0x02033e28 end:0x02033e54
75+
76+
libs/c/src/signal.c:
77+
complete
78+
.text start:0x02033e54 end:0x02033f7c
79+
.bss start:0x02051aa8 end:0x02051ac4
80+
81+
libs/c/src/string.c:
82+
complete
83+
.text start:0x02033f7c end:0x020341f8
84+
85+
libs/c/src/wmem.c:
86+
complete
87+
.text start:0x020341f8 end:0x02034230
88+
89+
libs/c/src/wprintf.c:
90+
.data start:0x020449ac end:0x02044a2c
91+
.text start:0x02034230 end:0x0203615c
92+
93+
libs/c/src/wstring.c:
94+
complete
95+
.text start:0x0203615c end:0x0203621c
96+
97+
libs/c/src/ansi_fp.c:
98+
.data start:0x02044a2c end:0x02044b00
99+
.text start:0x0203621c end:0x02036ba4
100+
101+
libs/c/src/extras.c:
102+
complete
103+
.text start:0x02036ba4 end:0x02036bd0
104+
105+
libs/c/src/math/e_log.c:
106+
complete
107+
.bss start:0x02051ac4 end:0x02051acc
108+
.text start:0x02036bd0 end:0x02037300
109+
110+
libs/c/src/math/e_log10.c:
111+
complete
112+
.bss start:0x02051acc end:0x02051ad4
113+
.text start:0x02037300 end:0x020374d8
114+
115+
libs/c/src/math/e_pow.c:
116+
complete
117+
.rodata start:0x02043188 end:0x020431b8
118+
.text start:0x020374d8 end:0x02038660
119+
120+
libs/c/src/math/s_ceil.c:
121+
complete
122+
.text start:0x02038660 end:0x02038820
123+
124+
libs/c/src/math/s_copysign.c:
125+
complete
126+
.text start:0x02038820 end:0x02038848
127+
128+
libs/c/src/math/s_fabs.c:
129+
complete
130+
.text start:0x02038848 end:0x02038868
131+
132+
libs/c/src/math/s_frexp.c:
133+
complete
134+
.text start:0x02038868 end:0x02038928
135+
136+
libs/c/src/math/s_ldexp.c:
137+
complete
138+
.text start:0x02038928 end:0x02038b88
139+
140+
libs/c/src/math/w_log.c:
141+
complete
142+
.text start:0x02038b88 end:0x02038b94
143+
144+
libs/c/src/math/w_log10f.c:
145+
complete
146+
.text start:0x02038b94 end:0x02038ba0
147+
148+
libs/c/src/math/w_pow.c:
149+
complete
150+
.text start:0x02038ba0 end:0x02038bac

config/eur/arm9/dtcm/symbols.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ data_027e0850 kind:bss addr:0x027e0850
6161
data_027e0854 kind:bss addr:0x027e0854
6262
data_027e0858 kind:bss addr:0x027e0858
6363
data_027e085c kind:bss addr:0x027e085c
64-
data_027e0860 kind:bss addr:0x027e0860
64+
ThreadInfo kind:bss addr:0x027e0860
6565
data_027e0864 kind:bss addr:0x027e0864
6666
data_027e0870 kind:bss addr:0x027e0870
6767
data_027e08f0 kind:bss addr:0x027e08f0

config/eur/arm9/overlays/ov110/symbols.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ data_ov110_021861e0 kind:data(any) addr:0x021861e0
2121
data_ov110_021861ec kind:data(any) addr:0x021861ec
2222
_ZTV22UnkStruct_PlayerGet_74 kind:data(any) addr:0x021861f8
2323
_ZTV9PlayerGet kind:data(any) addr:0x02186204
24-
data_ov110_02186240 kind:bss(size=0x3F68) addr:0x02186240
24+
data_ov110_02186240 kind:bss(size=0x3f68) addr:0x02186240

config/eur/arm9/relocs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5055,7 +5055,7 @@ from:0x02033e7c kind:arm_call to:0x020274f8 module:main
50555055
from:0x02033edc kind:arm_call to:0x020273e0 module:main
50565056
from:0x02033f28 kind:arm_call to:0x02027460 module:main
50575057
from:0x02033f54 kind:arm_call to:0x02033710 module:main
5058-
from:0x02033f68 kind:load to:0x02051770 module:main
5058+
from:0x02033f68 kind:load to:0x020516c8 add:0xa8 module:main
50595059
from:0x02033f6c kind:load to:0x027e0860 module:dtcm
50605060
from:0x02033f70 kind:load to:0x02051680 module:main
50615061
from:0x02033f74 kind:load to:0x020516a4 module:main

0 commit comments

Comments
 (0)