about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-28 14:05:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-03-28 14:05:07 +0200
commit07a65d4827a8d71d43c072f0279689e5abe9751f (patch)
tree28632a5add4e192cddc724a515e7a1a940ab1767 /src/wrapped
parent35e35ec5db52c96e71f8ed207265941e8734d8a1 (diff)
downloadbox64-07a65d4827a8d71d43c072f0279689e5abe9751f.tar.gz
box64-07a65d4827a8d71d43c072f0279689e5abe9751f.zip
Added some obstack_XXX wrapped function (ported from box86)
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/generated/functions_list.txt2
-rw-r--r--src/wrapped/generated/wrappedlibctypes.h2
-rwxr-xr-xsrc/wrapped/wrappedlibc_private.h4
3 files changed, 6 insertions, 2 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index e97edea4..a95b0fef 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -2659,6 +2659,7 @@ wrappedlibc:
 - vFpi:
   - __longjmp_chk
   - _longjmp
+  - _obstack_newchunk
   - longjmp
   - siglongjmp
 - vFpu:
@@ -2754,6 +2755,7 @@ wrappedlibc:
   - sscanf
   - swscanf
 - iFppA:
+  - obstack_vprintf
   - vasprintf
   - vfprintf
   - vfscanf
diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h
index 31559808..98f053fe 100644
--- a/src/wrapped/generated/wrappedlibctypes.h
+++ b/src/wrapped/generated/wrappedlibctypes.h
@@ -101,6 +101,7 @@ typedef int64_t (*iFppipppp_t)(void*, void*, int64_t, void*, void*, void*, void*
 	GO(mallinfo, pFp_t) \
 	GO(__longjmp_chk, vFpi_t) \
 	GO(_longjmp, vFpi_t) \
+	GO(_obstack_newchunk, vFpi_t) \
 	GO(longjmp, vFpi_t) \
 	GO(siglongjmp, vFpi_t) \
 	GO(_ITM_registerTMCloneTable, vFpu_t) \
@@ -171,6 +172,7 @@ typedef int64_t (*iFppipppp_t)(void*, void*, int64_t, void*, void*, void*, void*
 	GO(sprintf, iFppV_t) \
 	GO(sscanf, iFppV_t) \
 	GO(swscanf, iFppV_t) \
+	GO(obstack_vprintf, iFppA_t) \
 	GO(vasprintf, iFppA_t) \
 	GO(vfprintf, iFppA_t) \
 	GO(vfscanf, iFppA_t) \
diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h
index 39871a47..a3691d83 100755
--- a/src/wrapped/wrappedlibc_private.h
+++ b/src/wrapped/wrappedlibc_private.h
@@ -1262,10 +1262,10 @@ GOW(ntp_adjtime, iFp)
 //GO(_obstack_free, 
 //GO(obstack_free, 
 //GO(_obstack_memory_used, 
-//GO(_obstack_newchunk, 
+GOM(_obstack_newchunk, vFEpi)
 //GOW(obstack_printf, iFppV)
 //GO(__obstack_printf_chk, 
-//GOW(obstack_vprintf, iFppA)
+GOWM(obstack_vprintf, iFEppA)
 //GO(__obstack_vprintf_chk, 
 //GOW(on_exit, iF@p)
 GOWM(__open, iFEpOu)