Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / arch / arm-all / arm-aeabi / ldivmod.s
blob066c2b4cdb91f1095a36643590424789bda1563f
1 /*
2 * setjmp.s
4 * Created on: Aug 5, 2009
5 * Author: misc
6 * $Id$
7 */
10 .align 2
11 .global __aeabi_ldivmod
12 .type __aeabi_ldivmod,%function
13 __aeabi_ldivmod:
14 sub sp, sp, #8 // reserve space for remainder
15 push {sp, lr} // Store address of 8-byte space and link register on stack
16 bl __ldivmod_helper
17 ldr lr, [sp, #4] // restore link reg
18 add sp, sp, #8 // skip lr and sp on the stack
19 pop {r2, r3} // get remainder from the stack
20 bx lr