From c65910fd253edaa07b6397f39e085b19ce8fc53f Mon Sep 17 00:00:00 2001 From: Leslie Zhai Date: Wed, 8 Jan 2025 20:46:02 +0800 Subject: [PATCH] [WRAPPED] Added monstartup (#2241) * [WRAPPED] Added monstartup * [WRAPPED] Added monstartup for not defined STATICBUILD * [WRAPPED] Fix monstartup wrong signature * [WRAPPED] Change monstartup signature about STATICBUILD * [WRAPPED] monstartup is WEAK symbol. --- src/wrapped/wrappedlibc_private.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index f13f1c891..2b05b2838 100644 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -1324,7 +1324,11 @@ GOWD(modfl, DFDp, modf) //GOW(modify_ldt, //GOW(moncontrol, //GO(__monstartup, -//GOW(monstartup, +#ifdef STATICBUILD +//GOW(monstartup, vFLL) +#else +GOW(monstartup, vFLL) +#endif //DATA(__morecore, GOW(mount, iFpppLp) GO(mprobe, iFp)