arm: Link error when compiling for arm with TARGET_NO_AREC

This commit is contained in:
Flyinghead 2018-10-01 09:35:02 +02:00
parent 7b596bd388
commit 19c0e3aea5
1 changed files with 2 additions and 0 deletions

View File

@ -198,11 +198,13 @@ bx lr
end_ngen_mainloop: end_ngen_mainloop:
@@@@@@@@@@ ngen_mainloop @@@@@@@@@@ @@@@@@@@@@ ngen_mainloop @@@@@@@@@@
#if FEAT_AREC == DYNAREC_JIT
.global CSYM(arm_compilecode) .global CSYM(arm_compilecode)
HIDDEN(arm_compilecode) HIDDEN(arm_compilecode)
CSYM(arm_compilecode): CSYM(arm_compilecode):
bl CSYM(CompileCode) bl CSYM(CompileCode)
b CSYM(arm_dispatch) b CSYM(arm_dispatch)
#endif
#ifdef TARGET_IPHONE #ifdef TARGET_IPHONE
Xarm_Reg: .word CSYM(arm_Reg) Xarm_Reg: .word CSYM(arm_Reg)