summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-06-19 21:04:44 +0000
committermidipix <writeonce@midipix.org>2019-06-19 21:04:44 +0000
commit724fbc5ff7174cf2d710d6d839b46794d5150329 (patch)
treee1fb718d7c963e5a68fcdcb3da757b79c60ae066 /arch
parente9e8eb8f240ace9f334d4dac96dc3ebe68a07989 (diff)
downloadmmglue-724fbc5ff7174cf2d710d6d839b46794d5150329.tar.bz2
mmglue-724fbc5ff7174cf2d710d6d839b46794d5150329.tar.xz
midipix targets: ldso: added <sys/ldso.h>, __dldopen(), __dlsopen().
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/psxglue.h2
-rw-r--r--arch/nt64/psxglue.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h
index d8e653a..b8f22b8 100644
--- a/arch/nt32/psxglue.h
+++ b/arch/nt32/psxglue.h
@@ -14,6 +14,8 @@ struct __ldso_vtbl {
int (*dlinfo) (void * dso, int req, void * res);
void * (*dlsym) (void * p, const char * s, void * ra);
void * (*dlopen) (const char * file, int mode, const char ** pathv, int * status);
+ void * (*dldopen) (int fd, int mode, int * status);
+ void * (*dlsopen) (const char * file, int mode, int * status);
int (*dlclose) (void *p);
char * (*dlerror) (void);
void (*tlsreset) (void);
diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h
index d8e653a..b8f22b8 100644
--- a/arch/nt64/psxglue.h
+++ b/arch/nt64/psxglue.h
@@ -14,6 +14,8 @@ struct __ldso_vtbl {
int (*dlinfo) (void * dso, int req, void * res);
void * (*dlsym) (void * p, const char * s, void * ra);
void * (*dlopen) (const char * file, int mode, const char ** pathv, int * status);
+ void * (*dldopen) (int fd, int mode, int * status);
+ void * (*dlsopen) (const char * file, int mode, int * status);
int (*dlclose) (void *p);
char * (*dlerror) (void);
void (*tlsreset) (void);