about summary refs log tree commit diff stats
path: root/src/elfs
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-01-16 10:20:16 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-01-16 10:20:16 +0100
commite5649d90e7deb3e7388475d62f4174b4bd64063f (patch)
tree896e3b02944878922793473fa684e32047fd8e32 /src/elfs
parentd22e6f28a1a155737b57e7c6a3c1c29136bdb66d (diff)
downloadbox64-e5649d90e7deb3e7388475d62f4174b4bd64063f.tar.gz
box64-e5649d90e7deb3e7388475d62f4174b4bd64063f.zip
Round size to pagesize on the tracked memory
Diffstat (limited to 'src/elfs')
-rw-r--r--src/elfs/elfloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c
index 461fcb0d..39c83abc 100644
--- a/src/elfs/elfloader.c
+++ b/src/elfs/elfloader.c
@@ -175,7 +175,7 @@ const char* ElfPath(elfheader_t* head)
         return NULL;
     return head->path;
 }
-#define ALIGN(p) (((p)+box64_pagesize-1)&~(box64_pagesize-1))
+
 int AllocLoadElfMemory(box64context_t* context, elfheader_t* head, int mainbin)
 {
     uintptr_t offs = 0;