Fix link error in ov11

This commit is contained in:
Aetias
2023-09-16 09:52:56 +02:00
parent e82e69f4f2
commit a0f980c31c
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ MW_LICENSE := $(TOOLS_DIR)/mwccarm/license.dat
ASM_FLAGS := -proc arm5te -i asm -msgstyle gcc
CC_FLAGS := -O1 -thumb
LD_FLAGS := -proc arm946e -nostdlib -interworking -m func_02000800 -map closure,unused -o main.bin -msgstyle gcc
LD_FLAGS := -proc arm946e -nostdlib -interworking -nodead -m func_02000800 -map closure,unused -o main.bin -msgstyle gcc
.PHONY: all
all: arm9
-1
View File
@@ -209339,7 +209339,6 @@
.extern data_ov37_0217f370
.extern data_ov37_0217f374
.extern data_ov37_0217f460
.extern data_ov37_0217f464
.extern data_ov37_0217f4d0
.extern data_ov37_0217f53c
.extern data_ov37_0217f650
+2 -2
View File
@@ -4187,7 +4187,7 @@ func_ov11_02114c04: ; 0x02114c04
mvn r0, r0
pop {r3, r4, r5, pc}
_02114c36:
ldr r5, _02114c58 ; =data_ov37_0217f464
ldr r5, _02114c58 ; =data_ov61_0217f464
ldr r0, [r5]
cmp r0, #0
bne _02114c4c
@@ -4205,7 +4205,7 @@ _02114c4c:
thumb_func_end func_ov11_02114c04
_02114c50: .word data_ov11_0212ed24
_02114c54: .word data_ov11_0212ed2c
_02114c58: .word data_ov37_0217f464
_02114c58: .word data_ov61_0217f464
.global func_ov11_02114c5c
thumb_func_start func_ov11_02114c5c