aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/sys/module.h
diff options
context:
space:
mode:
authorStefan Bucur <stefan@stefan-mac.(none)>2009-07-04 19:47:29 +0300
committerStefan Bucur <stefan@stefan-mac.(none)>2009-07-04 19:47:29 +0300
commit2ab2c16e359d266719ce8639ca0fa057d0f7a099 (patch)
treea3907756a1b2ed01e630ddbf114929d72ebd2631 /com32/include/sys/module.h
parentc9d910a68845661946d1e040faaa4f46076fd64f (diff)
downloadsyslinux-elf-2ab2c16e359d266719ce8639ca0fa057d0f7a099.tar.gz
syslinux-elf-2ab2c16e359d266719ce8639ca0fa057d0f7a099.tar.xz
syslinux-elf-2ab2c16e359d266719ce8639ca0fa057d0f7a099.zip
Added support in shallow modules to offset symbols.
The symbol values can be offset so that they could match a memory region, in case it is created dynamically and the symbol table does not include the offsets.
Diffstat (limited to 'com32/include/sys/module.h')
-rw-r--r--com32/include/sys/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h
index e09f1bf8..97f7ce09 100644
--- a/com32/include/sys/module.h
+++ b/com32/include/sys/module.h
@@ -229,7 +229,7 @@ extern int module_load(struct elf_module *module);
* Its current use is to describe the root COM32 module to the rest of the
* module subsystem.
*/
-extern int module_load_shallow(struct elf_module *module);
+extern int module_load_shallow(struct elf_module *module, Elf32_Off offset);
/**
* module_unload - unloads the module from the system.