Commit 19cfa4ef authored by Jean-Claude Beaudoin's avatar Jean-Claude Beaudoin
Browse files

Archive this file as source the hardcoded machine code used in...

Archive this file as source the hardcoded machine code used in mkcl_dynamic_callback_make() of ffi_arm.d.
parent 9da2f548
.arch armv7-a
.file "arm_callback_trampoline.s"
.text
.align 1
.p2align 2,,3
.arch armv7-a
.syntax unified
.thumb
.thumb_func
.fpu vfpv3-d16
.type trampoline, %function
trampoline:
mov r3, pc
add r3, #24
push {r4, lr}
ldr r2, [r3]
ldr r0, [r3, #4]
mov r1, sp
blx r2
pop {r4, pc}
nop
nop
.align 2
.Lptr:
.word -1 @ mkcl_dynamic_callback_execute
.word -2 @ cbk_info
.size trampoline, .-trampoline
.align 2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment