summaryrefslogtreecommitdiffstats
path: root/libelf/gelf.h
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-03 00:02:56 +0000
committerUlrich Drepper <[email protected]>2005-08-03 00:02:56 +0000
commit41de488a0ad6679e816dbab960351e5f62ab8ead (patch)
treed4387847c11e48ccc8fa55ace24bcd2a595d0d84 /libelf/gelf.h
parentc911c9efe553d9af2d4fb0d420d8b614983e16ac (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.h3
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);