diff options
author | Stefan Bucur <stefan@stefan-mac.(none)> | 2009-07-04 19:47:29 +0300 |
---|---|---|
committer | Stefan Bucur <stefan@stefan-mac.(none)> | 2009-07-04 19:47:29 +0300 |
commit | 2ab2c16e359d266719ce8639ca0fa057d0f7a099 (patch) | |
tree | a3907756a1b2ed01e630ddbf114929d72ebd2631 /com32/include/sys/exec.h | |
parent | c9d910a68845661946d1e040faaa4f46076fd64f (diff) | |
download | syslinux-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/exec.h')
-rw-r--r-- | com32/include/sys/exec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/include/sys/exec.h b/com32/include/sys/exec.h index 7b3a9a0c..d76ae74c 100644 --- a/com32/include/sys/exec.h +++ b/com32/include/sys/exec.h @@ -9,6 +9,7 @@ #define EXEC_H_ #include <sys/module.h> +#include <stdlib.h> /** * EXEC_ROOT_NAME - The name of the ELF module associated with the COM32 module. @@ -41,7 +42,7 @@ * loaded by the lower module layer gets to be executed by the CPU, * thus becoming part of the SYSLINUX environment. */ -extern int exec_init(); +extern int exec_init(size_t root_addr); /** |