add previous ABI symbols
parent
5e6e421c54
commit
39a2958561
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
str xzr, [x0, #REG_OFFSET(0)]
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
/* restore GPRs */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
str xzr, [x0, #REG_OFFSET(0)]
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
/* copy all of the current registers into the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
/* copy all of the current registers into the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
/* copy all of the current registers into the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
move.l 4(%sp), %a0 /* load ucontext_t pointer from stack */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
move.l 4(%sp), %a0 /* load ucontext_t pointer from stack */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
move.l 4(%sp), %a0 /* load save ucontext_t pointer from stack */
|
||||
|
|
|
@ -15,6 +15,7 @@ LOCALSZ = 1
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
/* copy $gp, $sp, $fp to temporary registers so we don't clobber them */
|
||||
|
|
|
@ -22,6 +22,7 @@ A3_OFF = FRAMESZ + (3 * REG_SZ)
|
|||
*/
|
||||
|
||||
ALIAS(makecontext, libucontext_makecontext)
|
||||
ALIAS(__makecontext, libucontext_makecontext)
|
||||
|
||||
FUNC(libucontext_makecontext)
|
||||
PUSH_FRAME(libucontext_makecontext)
|
||||
|
|
|
@ -15,6 +15,7 @@ LOCALSZ = 1
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
PUSH_FRAME(libucontext_setcontext)
|
||||
|
|
|
@ -17,6 +17,7 @@ LOCALSZ = 2
|
|||
A1_OFFSET = FRAMESZ - (1 * REG_SZ)
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
/* copy $gp, $sp, $fp to temporary registers so we don't clobber them */
|
||||
|
|
|
@ -15,6 +15,7 @@ LOCALSZ = 1
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
/* copy $gp, $sp, $fp to temporary registers so we don't clobber them */
|
||||
|
|
|
@ -27,6 +27,7 @@ A7_OFF = FRAMESZ - (1 * REG_SZ)
|
|||
*/
|
||||
|
||||
ALIAS(makecontext, libucontext_makecontext)
|
||||
ALIAS(__makecontext, libucontext_makecontext)
|
||||
|
||||
FUNC(libucontext_makecontext)
|
||||
PUSH_FRAME(libucontext_makecontext)
|
||||
|
|
|
@ -15,6 +15,7 @@ LOCALSZ = 1
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
PUSH_FRAME(libucontext_setcontext)
|
||||
|
|
|
@ -17,6 +17,7 @@ LOCALSZ = 2
|
|||
A1_OFFSET = FRAMESZ - (1 * REG_SZ)
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
/* copy $gp, $sp, $fp to temporary registers so we don't clobber them */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "common-defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
.hidden __libucontext_swapcontext
|
||||
FUNC(libucontext_getcontext)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "common-defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
.hidden __libucontext_swapcontext
|
||||
FUNC(libucontext_setcontext)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "common-defs.h"
|
||||
|
||||
ALIAS(swapcontext, __libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, __libucontext_swapcontext)
|
||||
ALIAS(libucontext_swapcontext, __libucontext_swapcontext)
|
||||
|
||||
FUNC(__libucontext_swapcontext)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "common-defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
.hidden __libucontext_swapcontext
|
||||
FUNC(libucontext_getcontext)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "common-defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
.hidden __libucontext_swapcontext
|
||||
FUNC(libucontext_setcontext)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "common-defs.h"
|
||||
|
||||
ALIAS(swapcontext, __libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, __libucontext_swapcontext)
|
||||
ALIAS(libucontext_swapcontext, __libucontext_swapcontext)
|
||||
|
||||
FUNC(__libucontext_swapcontext)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
sd ra, REG_OFFSET(REG_PC)(a0)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
/* move $a0 to $t0 to avoid clobbering. */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
/* move $a1 to $t0 to avoid clobbering. */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
lgr %r1, %r2 /* use %r1 as our working register */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
lgr %r1, %r2 /* use %r1 as our working register */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
lgr %r1, %r2 /* use %r1 to save current context to */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
mov r4, r0 /* move r4 to r0, and increment by REG_OFFSET(REG_MACL) + REG_SZ. */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
mov r4, r0
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
mov r4, r0 /* move r4 to r0, and increment by REG_OFFSET(REG_MACL) + REG_SZ. */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
/* load address of the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
/* load address of the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
/* load address of the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(getcontext, libucontext_getcontext)
|
||||
ALIAS(__getcontext, libucontext_getcontext)
|
||||
|
||||
FUNC(libucontext_getcontext)
|
||||
/* copy all of the current registers into the ucontext structure */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(setcontext, libucontext_setcontext)
|
||||
ALIAS(__setcontext, libucontext_setcontext)
|
||||
|
||||
FUNC(libucontext_setcontext)
|
||||
/* set all of the registers */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
ALIAS(swapcontext, libucontext_swapcontext)
|
||||
ALIAS(__swapcontext, libucontext_swapcontext)
|
||||
|
||||
FUNC(libucontext_swapcontext)
|
||||
/* copy all of the current registers into the ucontext structure pointed by
|
||||
|
|
Loading…
Reference in New Issue