diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-08-17 15:59:09 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-08-17 15:59:09 +0200 |
| commit | c845d0cf81a259e0d21be46841dc41a0f0ba5b0e (patch) | |
| tree | 4c34964f41a1e28c1c833266463b55c4ff7c1a3c /src/elfs/elfloader.c | |
| parent | d47b1b0e5679652e6b5fb5fd4cee52b775229a63 (diff) | |
| download | box64-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.c | 7 |
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) |