build: respect EXPORT_UNPREFIXED for libucontext_makecontext
parent
e45956896a
commit
73d5e101ad
|
@ -52,5 +52,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -56,5 +56,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -55,5 +55,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
*sp++ = (libucontext_greg_t) ucp->uc_link;
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -55,5 +55,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(), int argc, .
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -56,5 +56,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(), int argc, .
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -56,5 +56,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -62,5 +62,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
ucp->uc_mcontext.gregs[15] = (uintptr_t) sp;
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -53,5 +53,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -53,5 +53,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
*argp++ = (uintptr_t) ucp->uc_link;
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
|
@ -74,5 +74,6 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg
|
|||
va_end(va);
|
||||
}
|
||||
|
||||
|
||||
#ifdef EXPORT_UNPREFIXED
|
||||
extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext")));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue