+// HACKS - So this can share the usermode elf.c
+static inline int GetSymbol(const char *sym, void **val, size_t *sz, void *IgnoreBase)
+{
+ uintptr_t rv;
+ if( !Binary_GetSymbol(sym, &rv, sz, IgnoreBase) )
+ return 0;
+ *val = (void*)rv;
+ return 1;
+}
+static inline void *LoadLibrary(const char *Name, const char *SearchPath, char **envp)
+{
+ return Binary_LoadLibrary(Name);
+}
+static inline void AddLoaded(const char *Path, void *Base)
+{
+ Binary_SetReadyToUse(Base);
+}
+
+static inline int _SysSetMemFlags(uintptr_t Addr, unsigned int flags, unsigned int mask)
+{
+ return 0;
+}
+
+