> What's the proper sequence to do a trampoline? I think this might be > it but my arm's a bit rusty. > > __wrap_foo: > ldr pc, [pc, #-4] > .word __real_foo Yep, that would work. __wrap_foo: ldr pc, . + 4 .word __real_foo Might be a bit cleaner (since it hides the pipeline compensation), but there's no difference in the code generated. R.