diff options
| author | Ulrich Drepper <[email protected]> | 2005-08-03 00:02:56 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2005-08-03 00:02:56 +0000 |
| commit | 41de488a0ad6679e816dbab960351e5f62ab8ead (patch) | |
| tree | d4387847c11e48ccc8fa55ace24bcd2a595d0d84 /libelf/gelf.h | |
| parent | c911c9efe553d9af2d4fb0d420d8b614983e16ac (diff) | |
Add several more elflint tests:
- check whether dynamic section matches PT_DYNAMIC program header entry
- make sure text relocation flag is used correctly
libelf needed one extension for this.
Diffstat (limited to 'libelf/gelf.h')
| -rw-r--r-- | libelf/gelf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libelf/gelf.h b/libelf/gelf.h index 299d6c83..369a3a71 100644 --- a/libelf/gelf.h +++ b/libelf/gelf.h @@ -153,6 +153,9 @@ extern int gelf_update_ehdr (Elf *__elf, GElf_Ehdr *__src); /* Create new ELF header if none exists. */ extern unsigned long int gelf_newehdr (Elf *__elf, int __class); +/* Get section at OFFSET. */ +extern Elf_Scn *gelf_offscn (Elf *__elf, GElf_Off __offset); + /* Retrieve section header. */ extern GElf_Shdr *gelf_getshdr (Elf_Scn *__scn, GElf_Shdr *__dst); |
