diff --git a/arch/aarch64/getcontext.S b/arch/aarch64/getcontext.S index 98b659e..2a1c4d7 100644 --- a/arch/aarch64/getcontext.S +++ b/arch/aarch64/getcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(getcontext, libucontext_getcontext) +ALIAS(__getcontext, libucontext_getcontext) FUNC(libucontext_getcontext) str xzr, [x0, #REG_OFFSET(0)] diff --git a/arch/aarch64/setcontext.S b/arch/aarch64/setcontext.S index d7c8d8c..994652b 100644 --- a/arch/aarch64/setcontext.S +++ b/arch/aarch64/setcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) FUNC(libucontext_setcontext) /* restore GPRs */ diff --git a/arch/aarch64/swapcontext.S b/arch/aarch64/swapcontext.S index 17a0b99..19303a7 100644 --- a/arch/aarch64/swapcontext.S +++ b/arch/aarch64/swapcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(swapcontext, libucontext_swapcontext) +ALIAS(__swapcontext, libucontext_swapcontext) FUNC(libucontext_swapcontext) str xzr, [x0, #REG_OFFSET(0)] diff --git a/arch/arm/getcontext.S b/arch/arm/getcontext.S index 003ad10..57a56c6 100644 --- a/arch/arm/getcontext.S +++ b/arch/arm/getcontext.S @@ -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 */ diff --git a/arch/arm/setcontext.S b/arch/arm/setcontext.S index f222667..7ab956e 100644 --- a/arch/arm/setcontext.S +++ b/arch/arm/setcontext.S @@ -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 */ diff --git a/arch/arm/swapcontext.S b/arch/arm/swapcontext.S index 7950370..29c6889 100644 --- a/arch/arm/swapcontext.S +++ b/arch/arm/swapcontext.S @@ -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 */ diff --git a/arch/m68k/getcontext.S b/arch/m68k/getcontext.S index 25e74a9..40f2c14 100644 --- a/arch/m68k/getcontext.S +++ b/arch/m68k/getcontext.S @@ -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 */ diff --git a/arch/m68k/setcontext.S b/arch/m68k/setcontext.S index 8d3589e..994c37e 100644 --- a/arch/m68k/setcontext.S +++ b/arch/m68k/setcontext.S @@ -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 */ diff --git a/arch/m68k/swapcontext.S b/arch/m68k/swapcontext.S index f3abf01..e74eca5 100644 --- a/arch/m68k/swapcontext.S +++ b/arch/m68k/swapcontext.S @@ -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 */ diff --git a/arch/mips/getcontext.S b/arch/mips/getcontext.S index f5194d5..1655612 100644 --- a/arch/mips/getcontext.S +++ b/arch/mips/getcontext.S @@ -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 */ diff --git a/arch/mips/makecontext.S b/arch/mips/makecontext.S index 6ea5b6d..bb841ae 100644 --- a/arch/mips/makecontext.S +++ b/arch/mips/makecontext.S @@ -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) diff --git a/arch/mips/setcontext.S b/arch/mips/setcontext.S index edd1332..6017048 100644 --- a/arch/mips/setcontext.S +++ b/arch/mips/setcontext.S @@ -15,6 +15,7 @@ LOCALSZ = 1 #include "defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) FUNC(libucontext_setcontext) PUSH_FRAME(libucontext_setcontext) diff --git a/arch/mips/swapcontext.S b/arch/mips/swapcontext.S index 82d0398..5e56470 100644 --- a/arch/mips/swapcontext.S +++ b/arch/mips/swapcontext.S @@ -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 */ diff --git a/arch/mips64/getcontext.S b/arch/mips64/getcontext.S index 8995281..9912573 100644 --- a/arch/mips64/getcontext.S +++ b/arch/mips64/getcontext.S @@ -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 */ diff --git a/arch/mips64/makecontext.S b/arch/mips64/makecontext.S index 1f906fb..98b4b51 100644 --- a/arch/mips64/makecontext.S +++ b/arch/mips64/makecontext.S @@ -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) diff --git a/arch/mips64/setcontext.S b/arch/mips64/setcontext.S index ea0502b..17b9969 100644 --- a/arch/mips64/setcontext.S +++ b/arch/mips64/setcontext.S @@ -15,6 +15,7 @@ LOCALSZ = 1 #include "defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) FUNC(libucontext_setcontext) PUSH_FRAME(libucontext_setcontext) diff --git a/arch/mips64/swapcontext.S b/arch/mips64/swapcontext.S index b5cb41e..2284661 100644 --- a/arch/mips64/swapcontext.S +++ b/arch/mips64/swapcontext.S @@ -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 */ diff --git a/arch/ppc/getcontext.S b/arch/ppc/getcontext.S index c6e1d92..4920fd3 100644 --- a/arch/ppc/getcontext.S +++ b/arch/ppc/getcontext.S @@ -13,6 +13,7 @@ #include "common-defs.h" ALIAS(getcontext, libucontext_getcontext) +ALIAS(__getcontext, libucontext_getcontext) .hidden __libucontext_swapcontext FUNC(libucontext_getcontext) diff --git a/arch/ppc/setcontext.S b/arch/ppc/setcontext.S index a30f519..d634e66 100644 --- a/arch/ppc/setcontext.S +++ b/arch/ppc/setcontext.S @@ -13,6 +13,7 @@ #include "common-defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) .hidden __libucontext_swapcontext FUNC(libucontext_setcontext) diff --git a/arch/ppc/swapcontext.S b/arch/ppc/swapcontext.S index 5be5a05..4f52a92 100644 --- a/arch/ppc/swapcontext.S +++ b/arch/ppc/swapcontext.S @@ -13,6 +13,7 @@ #include "common-defs.h" ALIAS(swapcontext, __libucontext_swapcontext) +ALIAS(__swapcontext, __libucontext_swapcontext) ALIAS(libucontext_swapcontext, __libucontext_swapcontext) FUNC(__libucontext_swapcontext) diff --git a/arch/ppc64/getcontext.S b/arch/ppc64/getcontext.S index a86c4ac..1a67424 100644 --- a/arch/ppc64/getcontext.S +++ b/arch/ppc64/getcontext.S @@ -13,6 +13,7 @@ #include "common-defs.h" ALIAS(getcontext, libucontext_getcontext) +ALIAS(__getcontext, libucontext_getcontext) .hidden __libucontext_swapcontext FUNC(libucontext_getcontext) diff --git a/arch/ppc64/setcontext.S b/arch/ppc64/setcontext.S index 9798e50..0cd9186 100644 --- a/arch/ppc64/setcontext.S +++ b/arch/ppc64/setcontext.S @@ -13,6 +13,7 @@ #include "common-defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) .hidden __libucontext_swapcontext FUNC(libucontext_setcontext) diff --git a/arch/ppc64/swapcontext.S b/arch/ppc64/swapcontext.S index 7f27c6c..f2ee6cc 100644 --- a/arch/ppc64/swapcontext.S +++ b/arch/ppc64/swapcontext.S @@ -13,6 +13,7 @@ #include "common-defs.h" ALIAS(swapcontext, __libucontext_swapcontext) +ALIAS(__swapcontext, __libucontext_swapcontext) ALIAS(libucontext_swapcontext, __libucontext_swapcontext) FUNC(__libucontext_swapcontext) diff --git a/arch/riscv64/getcontext.S b/arch/riscv64/getcontext.S index 69ea29e..99a9c9a 100644 --- a/arch/riscv64/getcontext.S +++ b/arch/riscv64/getcontext.S @@ -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) diff --git a/arch/riscv64/setcontext.S b/arch/riscv64/setcontext.S index 6b76f92..36704c9 100644 --- a/arch/riscv64/setcontext.S +++ b/arch/riscv64/setcontext.S @@ -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. */ diff --git a/arch/riscv64/swapcontext.S b/arch/riscv64/swapcontext.S index 900bdd2..a2b013e 100644 --- a/arch/riscv64/swapcontext.S +++ b/arch/riscv64/swapcontext.S @@ -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. */ diff --git a/arch/s390x/getcontext.S b/arch/s390x/getcontext.S index 49e231a..fd19d9b 100644 --- a/arch/s390x/getcontext.S +++ b/arch/s390x/getcontext.S @@ -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 */ diff --git a/arch/s390x/setcontext.S b/arch/s390x/setcontext.S index d07e272..03fd4a1 100644 --- a/arch/s390x/setcontext.S +++ b/arch/s390x/setcontext.S @@ -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 */ diff --git a/arch/s390x/swapcontext.S b/arch/s390x/swapcontext.S index 9889353..21a9b5a 100644 --- a/arch/s390x/swapcontext.S +++ b/arch/s390x/swapcontext.S @@ -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 */ diff --git a/arch/sh/getcontext.S b/arch/sh/getcontext.S index 8f7028b..0978af6 100644 --- a/arch/sh/getcontext.S +++ b/arch/sh/getcontext.S @@ -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. */ diff --git a/arch/sh/setcontext.S b/arch/sh/setcontext.S index 1bf283c..cee065c 100644 --- a/arch/sh/setcontext.S +++ b/arch/sh/setcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) FUNC(libucontext_setcontext) mov r4, r0 diff --git a/arch/sh/swapcontext.S b/arch/sh/swapcontext.S index 1a09ee8..2890613 100644 --- a/arch/sh/swapcontext.S +++ b/arch/sh/swapcontext.S @@ -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. */ diff --git a/arch/x86/getcontext.S b/arch/x86/getcontext.S index 7d21ebf..4b95197 100644 --- a/arch/x86/getcontext.S +++ b/arch/x86/getcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(getcontext, libucontext_getcontext) +ALIAS(__getcontext, libucontext_getcontext) FUNC(libucontext_getcontext) /* load address of the ucontext structure */ diff --git a/arch/x86/setcontext.S b/arch/x86/setcontext.S index afbcca0..75d2108 100644 --- a/arch/x86/setcontext.S +++ b/arch/x86/setcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) FUNC(libucontext_setcontext) /* load address of the ucontext structure */ diff --git a/arch/x86/swapcontext.S b/arch/x86/swapcontext.S index f287c2f..3594fc0 100644 --- a/arch/x86/swapcontext.S +++ b/arch/x86/swapcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(swapcontext, libucontext_swapcontext) +ALIAS(__swapcontext, libucontext_swapcontext) FUNC(libucontext_swapcontext) /* load address of the ucontext structure */ diff --git a/arch/x86_64/getcontext.S b/arch/x86_64/getcontext.S index 84e91ac..168fa47 100644 --- a/arch/x86_64/getcontext.S +++ b/arch/x86_64/getcontext.S @@ -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 */ diff --git a/arch/x86_64/setcontext.S b/arch/x86_64/setcontext.S index 9d29658..4dc2702 100644 --- a/arch/x86_64/setcontext.S +++ b/arch/x86_64/setcontext.S @@ -13,6 +13,7 @@ #include "defs.h" ALIAS(setcontext, libucontext_setcontext) +ALIAS(__setcontext, libucontext_setcontext) FUNC(libucontext_setcontext) /* set all of the registers */ diff --git a/arch/x86_64/swapcontext.S b/arch/x86_64/swapcontext.S index 25397fe..43dafb5 100644 --- a/arch/x86_64/swapcontext.S +++ b/arch/x86_64/swapcontext.S @@ -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