about summary refs log tree commit diff stats
path: root/src/elfs/elfloader.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-08-17 15:59:09 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-08-17 15:59:09 +0200
commitc845d0cf81a259e0d21be46841dc41a0f0ba5b0e (patch)
tree4c34964f41a1e28c1c833266463b55c4ff7c1a3c /src/elfs/elfloader.c
parentd47b1b0e5679652e6b5fb5fd4cee52b775229a63 (diff)
downloadbox64-c845d0cf81a259e0d21be46841dc41a0f0ba5b0e.tar.gz
box64-c845d0cf81a259e0d21be46841dc41a0f0ba5b0e.zip
[BOX32] Added 32bits elf alloc and load
Diffstat (limited to 'src/elfs/elfloader.c')
-rw-r--r--src/elfs/elfloader.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c
index beeacbfb..e206fcc6 100644
--- a/src/elfs/elfloader.c
+++ b/src/elfs/elfloader.c
@@ -202,7 +202,12 @@ const char* ElfPath(elfheader_t* head)
     return head->path;
 }
 
-int AllocLoadElfMemory32(box64context_t* context, elfheader_t* head, int mainbin) { /*TODO*/ return 1; }
+int AllocLoadElfMemory32(box64context_t* context, elfheader_t* head, int mainbin)
+#ifndef BOX32
+{ return 1; }
+#else
+ ;
+#endif
 int AllocLoadElfMemory(box64context_t* context, elfheader_t* head, int mainbin)
 {
     if(box64_is32bits)