summaryrefslogtreecommitdiff
path: root/com32/include/sys/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/include/sys/module.h')
-rw-r--r--com32/include/sys/module.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h
index a18561a9..095f3948 100644
--- a/com32/include/sys/module.h
+++ b/com32/include/sys/module.h
@@ -109,8 +109,9 @@ struct elf_module {
union {
// Transient - Data available while the module is loading
struct {
- FILE *_file; // The file object of the open file
- Elf32_Off _cr_offset; // The current offset in the open file
+ void *buf; // Buffer to data
+ size_t len; // Length of data
+ size_t cr_offset; // The current offset
} l;
// Process execution data