diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-07-08 15:43:00 +0200 |
---|---|---|
committer | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-10-12 08:44:23 +0200 |
commit | 98cdbf03c14fe5a00d6047d8f0ceb13c83f29aef (patch) | |
tree | c1dae84c4e4e859433d242f1ab23628524c0bf1a /include | |
parent | ad3238534f79f218ed318c532f260d5ea1fd8074 (diff) | |
download | SLOF-98cdbf03c14fe5a00d6047d8f0ceb13c83f29aef.zip SLOF-98cdbf03c14fe5a00d6047d8f0ceb13c83f29aef.tar.gz SLOF-98cdbf03c14fe5a00d6047d8f0ceb13c83f29aef.tar.bz2 |
Got rid of the ELF loader functions written in Forth, using libelf instead.
It's cumbersome to maintain code twice, in Forth and in C, and now that libelf
has a new important feature (relocation), I removed most of the old Forth
functions for ELF loading and use the libelf everywhere instead.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libelf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libelf.h b/include/libelf.h index 7407cf3..9446fcf 100644 --- a/include/libelf.h +++ b/include/libelf.h @@ -85,4 +85,6 @@ long elf_get_base_addr64(void *file_addr); void elf_relocate64(void *file_addr, signed long offset); +int elf_forth_claim(void *addr, long size); + #endif /* __LIBELF_H */ |