mirror of
https://github.com/ptitSeb/box86.git
synced 2025-05-09 05:11:43 +08:00
Some fixed to a few libc wrapped functions so bash can run (a copy is in tests folder)
This commit is contained in:
parent
45d2ac757e
commit
c1eb7cbfa8
@ -2822,8 +2822,10 @@ wrappedlibc:
|
|||||||
- iFpp:
|
- iFpp:
|
||||||
- execvp
|
- execvp
|
||||||
- lstat
|
- lstat
|
||||||
|
- lstat64
|
||||||
- scanf
|
- scanf
|
||||||
- stat
|
- stat
|
||||||
|
- stat64
|
||||||
- iFpV:
|
- iFpV:
|
||||||
- execl
|
- execl
|
||||||
- execle
|
- execle
|
||||||
|
@ -126,8 +126,10 @@ typedef int32_t (*iFpLiLppp_t)(void*, uintptr_t, int32_t, uintptr_t, void*, void
|
|||||||
GO(fstat, iFip_t) \
|
GO(fstat, iFip_t) \
|
||||||
GO(execvp, iFpp_t) \
|
GO(execvp, iFpp_t) \
|
||||||
GO(lstat, iFpp_t) \
|
GO(lstat, iFpp_t) \
|
||||||
|
GO(lstat64, iFpp_t) \
|
||||||
GO(scanf, iFpp_t) \
|
GO(scanf, iFpp_t) \
|
||||||
GO(stat, iFpp_t) \
|
GO(stat, iFpp_t) \
|
||||||
|
GO(stat64, iFpp_t) \
|
||||||
GO(execl, iFpV_t) \
|
GO(execl, iFpV_t) \
|
||||||
GO(execle, iFpV_t) \
|
GO(execle, iFpV_t) \
|
||||||
GO(execlp, iFpV_t) \
|
GO(execlp, iFpV_t) \
|
||||||
|
@ -1637,8 +1637,8 @@ GO2(sscanf, iFppV, vsscanf) // sscanf va_list is only pointer, no realign to
|
|||||||
// ssignal // Weak
|
// ssignal // Weak
|
||||||
// sstk
|
// sstk
|
||||||
GOM(__stack_chk_fail, vFEv) //%%
|
GOM(__stack_chk_fail, vFEv) //%%
|
||||||
GOM(lstat64, iFpp) //%%,noE
|
GOM(lstat64, iFEpp)
|
||||||
GOM(stat64, iFpp) //%%,noE
|
GOM(stat64, iFEpp)
|
||||||
GOW(statfs, iFpp)
|
GOW(statfs, iFpp)
|
||||||
// __statfs
|
// __statfs
|
||||||
GOWM(statfs64, iFpp) //%%,noE
|
GOWM(statfs64, iFpp) //%%,noE
|
||||||
|
BIN
tests/bash
Executable file
BIN
tests/bash
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user