diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-07-21 09:47:14 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-07-21 09:47:14 +0000 |
commit | 57795d0388546ee51a052ad6d144abc3288508f5 (patch) | |
tree | 89fecbe337348ce494507450a43cc6a12c9ff80c /lib/libelf/_libelf.h | |
parent | f349ce0e9e0d9b00fd5fa016a5b7cd1ec528a01c (diff) | |
download | FreeBSD-src-57795d0388546ee51a052ad6d144abc3288508f5.zip FreeBSD-src-57795d0388546ee51a052ad6d144abc3288508f5.tar.gz |
Allow an application that updates only the ELF Ehdr to work.
Obtained from: elftoolchain
MFC after: 1 month
Diffstat (limited to 'lib/libelf/_libelf.h')
-rw-r--r-- | lib/libelf/_libelf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libelf/_libelf.h b/lib/libelf/_libelf.h index 08185cc..3053bce 100644 --- a/lib/libelf/_libelf.h +++ b/lib/libelf/_libelf.h @@ -176,6 +176,7 @@ void (*_libelf_get_translator(Elf_Type _t, int _direction, int _elfclass)) void *_libelf_getphdr(Elf *_e, int _elfclass); void *_libelf_getshdr(Elf_Scn *_scn, int _elfclass); void _libelf_init_elf(Elf *_e, Elf_Kind _kind); +int _libelf_load_scn(Elf *e, void *ehdr); int _libelf_malign(Elf_Type _t, int _elfclass); size_t _libelf_msize(Elf_Type _t, int _elfclass, unsigned int _version); void *_libelf_newphdr(Elf *_e, int _elfclass, size_t _count); |