Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AArch64 Dynarec fix-ups for LLVM assembler #739

Open
benjaminmordaunt opened this issue Dec 9, 2021 · 1 comment
Open

AArch64 Dynarec fix-ups for LLVM assembler #739

benjaminmordaunt opened this issue Dec 9, 2021 · 1 comment

Comments

@benjaminmordaunt
Copy link

When trying to compile this on M1 Mac, the LLVM assembler is used (even when using GCC), which throws up a few different complaints with Aarch64 Dynarec:

mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:290:5: error: unknown AArch64 fixup kind!
    str w20, [x29, #cycle_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:290:5: error: fixup value out of range
    str w20, [x29, #cycle_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:291:5: error: unknown AArch64 fixup kind!
    ldr w18, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:291:5: error: fixup value out of range
    ldr w18, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:293:5: error: unknown AArch64 fixup kind!
    str w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:293:5: error: fixup value out of range
    str w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:295:5: error: unknown AArch64 fixup kind!
    ldr w20, [x29, #cycle_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:295:5: error: fixup value out of range
    ldr w20, [x29, #cycle_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:299:5: error: unknown AArch64 fixup kind!
    str w19, [x29, #branch_target-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:299:5: error: fixup value out of range
    str w19, [x29, #branch_target-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:308:5: error: conditional branch requires assembler-local label. 'verify_code' is external.
    b.lt verify_code
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:309:5: error: unknown AArch64 fixup kind!
    add x8, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:309:5: error: fixup value out of range
    add x8, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:361:5: error: unknown AArch64 fixup kind!
    ldr w19, [x29, #branch_target-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:361:5: error: fixup value out of range
    ldr w19, [x29, #branch_target-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:370:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:370:5: error: fixup value out of range
    ldr w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:372:5: error: unknown AArch64 fixup kind!
    str wzr, [x29, #pending_exception-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:372:5: error: fixup value out of range
    str wzr, [x29, #pending_exception-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:376:5: error: unknown AArch64 fixup kind!
    add x0, x29, #restore_candidate-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:376:5: error: fixup value out of range
    add x0, x29, #restore_candidate-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:377:5: error: unknown AArch64 fixup kind!
    str w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:377:5: error: fixup value out of range
    str w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:385:5: error: unknown AArch64 fixup kind!
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:385:5: error: fixup value out of range
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:386:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:386:5: error: fixup value out of range
    ldr w0, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:387:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #pending_exception-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:387:5: error: fixup value out of range
    ldr w1, [x29, #pending_exception-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:388:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #stop-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:388:5: error: fixup value out of range
    ldr w2, [x29, #stop-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:389:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:389:5: error: fixup value out of range
    str w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:397:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:397:5: error: fixup value out of range
    ldr w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:427:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:427:5: error: fixup value out of range
    ldr w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:429:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:429:5: error: fixup value out of range
    ldr w1, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:430:5: error: unknown AArch64 fixup kind!
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:430:5: error: fixup value out of range
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:431:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:431:5: error: fixup value out of range
    str w1, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:439:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:439:5: error: fixup value out of range
    ldr w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:441:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:441:5: error: fixup value out of range
    str w0, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:444:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:444:5: error: fixup value out of range
    str w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:445:5: error: unknown AArch64 fixup kind!
    str w2, [x29, #g_cp0_regs+52-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:445:5: error: fixup value out of range
    str w2, [x29, #g_cp0_regs+52-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:456:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:456:5: error: fixup value out of range
    ldr w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:458:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:458:5: error: fixup value out of range
    str w0, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:461:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:461:5: error: fixup value out of range
    str w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:462:5: error: unknown AArch64 fixup kind!
    str w2, [x29, #g_cp0_regs+52-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:462:5: error: fixup value out of range
    str w2, [x29, #g_cp0_regs+52-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:471:5: error: unknown AArch64 fixup kind!
    ldr w18, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:471:5: error: fixup value out of range
    ldr w18, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:473:5: error: unknown AArch64 fixup kind!
    str w2, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:473:5: error: fixup value out of range
    str w2, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:477:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:477:5: error: fixup value out of range
    ldr w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:478:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:478:5: error: fixup value out of range
    ldr w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:481:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:481:5: error: fixup value out of range
    str w1, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:482:5: error: unknown AArch64 fixup kind!
    str w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:482:5: error: fixup value out of range
    str w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:484:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:484:5: error: fixup value out of range
    ldr w1, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:485:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:485:5: error: fixup value out of range
    ldr w0, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:486:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:486:5: error: fixup value out of range
    str w1, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:490:5: error: unknown AArch64 fixup kind!
    add x6, x29, #reg+256-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:490:5: error: fixup value out of range
    add x6, x29, #reg+256-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:503:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #hi-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:503:5: error: fixup value out of range
    ldr w2, [x29, #hi-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:504:5: error: unknown AArch64 fixup kind!
    ldr w3, [x29, #hi+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:504:5: error: fixup value out of range
    ldr w3, [x29, #hi+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:508:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #lo-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:508:5: error: fixup value out of range
    ldr w2, [x29, #lo-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:509:5: error: unknown AArch64 fixup kind!
    ldr w3, [x29, #lo+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:509:5: error: fixup value out of range
    ldr w3, [x29, #lo+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:517:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:517:5: error: fixup value out of range
    str w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:519:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:519:5: error: fixup value out of range
    ldr w0, [x29, #pcaddr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:523:5: error: ADR/ADRP relocations must be GOT relative
    adrp x16, dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:523:5: error: unknown AArch64 fixup kind!
    adrp x16, dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:524:5: error: unknown AArch64 fixup kind!
    add x16, x16, :lo12:dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:524:5: error: fixup value out of range
    add x16, x16, :lo12:dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:526:5: error: ADR/ADRP relocations must be GOT relative
    adrp x1, base_addr
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:526:5: error: unknown AArch64 fixup kind!
    adrp x1, base_addr
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:527:5: error: unknown AArch64 fixup kind!
    add x1, x1, :lo12:base_addr
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:539:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:539:5: error: fixup value out of range
    ldr w0, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:540:5: error: unknown AArch64 fixup kind!
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:540:5: error: fixup value out of range
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:541:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:541:5: error: fixup value out of range
    str w0, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:633:5: error: unknown AArch64 fixup kind!
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:633:5: error: fixup value out of range
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:634:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:634:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:635:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #cpu_word-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:635:5: error: fixup value out of range
    ldr w0, [x29, #cpu_word-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:640:5: error: unknown AArch64 fixup kind!
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:640:5: error: fixup value out of range
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:641:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:641:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:642:5: error: unknown AArch64 fixup kind!
    ldrb w0, [x29, #cpu_byte-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:642:5: error: fixup value out of range
    ldrb w0, [x29, #cpu_byte-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:649:5: error: unknown AArch64 fixup kind!
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:649:5: error: fixup value out of range
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:650:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:650:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:651:5: error: unknown AArch64 fixup kind!
    ldrh w0, [x29, #cpu_hword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:651:5: error: fixup value out of range
    ldrh w0, [x29, #cpu_hword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:658:5: error: unknown AArch64 fixup kind!
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:658:5: error: fixup value out of range
    ldr x3, [x29, #ram_offset-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:659:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:659:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:660:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #cpu_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:660:5: error: fixup value out of range
    ldr w0, [x29, #cpu_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:661:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #cpu_dword+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:661:5: error: fixup value out of range
    ldr w1, [x29, #cpu_dword+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:668:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:668:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:670:5: error: unknown AArch64 fixup kind!
    ldr x1, [x29, #invc_ptr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:670:5: error: fixup value out of range
    ldr x1, [x29, #invc_ptr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:670:5: error: fixup must be 8-byte aligned
    ldr x1, [x29, #invc_ptr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:674:5: error: conditional branch requires assembler-local label. 'invalidate_block' is external.
    b.eq invalidate_block
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:679:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:679:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:680:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:680:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:685:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.mi tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:687:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:687:5: error: fixup value out of range
    str w0, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:692:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:692:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:693:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:693:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:698:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.mi tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:702:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:702:5: error: fixup value out of range
    str w0, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:707:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:707:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:708:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:708:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:713:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.mi tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:717:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:717:5: error: fixup value out of range
    str w0, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:722:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:722:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:723:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:723:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:728:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.mi tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:732:5: error: unknown AArch64 fixup kind!
    str w0, [x29, #readmem_dword+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:732:5: error: fixup value out of range
    str w0, [x29, #readmem_dword+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:733:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:733:5: error: fixup value out of range
    str w1, [x29, #readmem_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:738:5: error: unknown AArch64 fixup kind!
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:738:5: error: fixup value out of range
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:739:5: error: unknown AArch64 fixup kind!
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:739:5: error: fixup value out of range
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:741:5: error: unknown AArch64 fixup kind!
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:741:5: error: fixup value out of range
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:742:5: error: unknown AArch64 fixup kind!
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:742:5: error: fixup value out of range
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:743:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:743:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:744:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:744:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:749:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.ne tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:750:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #cpu_word-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:750:5: error: fixup value out of range
    ldr w0, [x29, #cpu_word-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:756:5: error: unknown AArch64 fixup kind!
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:756:5: error: fixup value out of range
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:757:5: error: unknown AArch64 fixup kind!
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:757:5: error: fixup value out of range
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:759:5: error: unknown AArch64 fixup kind!
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:759:5: error: fixup value out of range
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:760:5: error: unknown AArch64 fixup kind!
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:760:5: error: fixup value out of range
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:761:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:761:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:762:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:762:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:767:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.ne tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:770:5: error: unknown AArch64 fixup kind!
    ldrb w0, [x29, #cpu_byte-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:770:5: error: fixup value out of range
    ldrb w0, [x29, #cpu_byte-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:776:5: error: unknown AArch64 fixup kind!
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:776:5: error: fixup value out of range
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:777:5: error: unknown AArch64 fixup kind!
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:777:5: error: fixup value out of range
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:779:5: error: unknown AArch64 fixup kind!
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:779:5: error: fixup value out of range
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:780:5: error: unknown AArch64 fixup kind!
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:780:5: error: fixup value out of range
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:781:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:781:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:782:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:782:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:787:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.ne tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:790:5: error: unknown AArch64 fixup kind!
    ldrh w0, [x29, #cpu_hword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:790:5: error: fixup value out of range
    ldrh w0, [x29, #cpu_hword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:796:5: error: unknown AArch64 fixup kind!
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:796:5: error: fixup value out of range
    str w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:797:5: error: unknown AArch64 fixup kind!
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:797:5: error: fixup value out of range
    str x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:799:5: error: unknown AArch64 fixup kind!
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:799:5: error: fixup value out of range
    ldr w3, [x29, #instr_addr-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:800:5: error: unknown AArch64 fixup kind!
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:800:5: error: fixup value out of range
    ldr x30, [x29, #link_register-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:801:5: error: unknown AArch64 fixup kind!
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:801:5: error: fixup value out of range
    ldr w2, [x29, #address-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:802:5: error: unknown AArch64 fixup kind!
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:802:5: error: fixup value out of range
    add x4, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:807:5: error: conditional branch requires assembler-local label. 'tlb_exception' is external.
    b.ne tlb_exception
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:809:5: error: unknown AArch64 fixup kind!
    ldr w0, [x29, #cpu_dword+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:809:5: error: fixup value out of range
    ldr w0, [x29, #cpu_dword+4-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:810:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #cpu_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:810:5: error: fixup value out of range
    ldr w1, [x29, #cpu_dword-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:819:5: error: unknown AArch64 fixup kind!
    ldr w4, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:819:5: error: fixup value out of range
    ldr w4, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:820:5: error: unknown AArch64 fixup kind!
    add x5, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:820:5: error: fixup value out of range
    add x5, x29, #memory_map-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:826:5: error: unknown AArch64 fixup kind!
    str w4, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:826:5: error: fixup value out of range
    str w4, [x29, #g_cp0_regs+48-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:829:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #g_cp0_regs+52-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:829:5: error: fixup value out of range
    str w1, [x29, #g_cp0_regs+52-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:832:5: error: unknown AArch64 fixup kind!
    add x5, x29, #reg-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:832:5: error: fixup value out of range
    add x5, x29, #reg-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:833:5: error: unknown AArch64 fixup kind!
    str w4, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:833:5: error: fixup value out of range
    str w4, [x29, #g_cp0_regs+56-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:835:5: error: unknown AArch64 fixup kind!
    ldr w8, [x29, #g_cp0_regs+16-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:835:5: error: fixup value out of range
    ldr w8, [x29, #g_cp0_regs+16-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:853:5: error: unknown AArch64 fixup kind!
    add x6, x29, #reg+4-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:853:5: error: fixup value out of range
    add x6, x29, #reg+4-dynarec_local
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:855:5: error: unknown AArch64 fixup kind!
    str w4, [x29, #g_cp0_regs+32-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:855:5: error: fixup value out of range
    str w4, [x29, #g_cp0_regs+32-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:862:5: error: unknown AArch64 fixup kind!
    str w8, [x29, #g_cp0_regs+16-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:862:5: error: fixup value out of range
    str w8, [x29, #g_cp0_regs+16-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:864:5: error: unknown AArch64 fixup kind!
    ldr w1, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:864:5: error: fixup value out of range
    ldr w1, [x29, #next_interrupt-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:865:5: error: unknown AArch64 fixup kind!
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:865:5: error: fixup value out of range
    ldr w20, [x29, #g_cp0_regs+36-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:866:5: error: unknown AArch64 fixup kind!
    str w1, [x29, #last_count-dynarec_local]
    ^
mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.S:866:5: error: fixup value out of range
    str w1, [x29, #last_count-dynarec_local]
    ^
@benjaminmordaunt
Copy link
Author

tl;dr the current assembly violates some Arm64 asm rules, but it seems GNU as lets you get away with it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant