summaryrefslogtreecommitdiff
path: root/src/elfops/section-in-segment.c
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-02-23 15:59:12 +0000
committernorly <ny-git@enpas.org>2013-02-23 15:59:12 +0000
commit6e4cbafe0876ff14ff03a14ab80951167ef67e06 (patch)
tree6e8ef066e67b841ef5c18ece44d7543958db4e02 /src/elfops/section-in-segment.c
parentc4d9a1aaf7c25e45adcaaebc970429f2c61bf6e9 (diff)
Clean up ELF-related files and functions
Diffstat (limited to 'src/elfops/section-in-segment.c')
-rw-r--r--src/elfops/section-in-segment.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/elfops/section-in-segment.c b/src/elfops/section-in-segment.c
index e12720f..cb62514 100644
--- a/src/elfops/section-in-segment.c
+++ b/src/elfops/section-in-segment.c
@@ -13,7 +13,7 @@
*
* If no section fits, NULL is returned.
*/
-Elf_Scn* elfu_firstSectionInSegment(Elf *e, GElf_Phdr *phdr)
+Elf_Scn* elfu_eScnFirstInSegment(Elf *e, GElf_Phdr *phdr)
{
Elf_Scn *scn;
@@ -26,7 +26,7 @@ Elf_Scn* elfu_firstSectionInSegment(Elf *e, GElf_Phdr *phdr)
}
if (shdr.sh_offset == phdr->p_offset
- && elfu_segmentContainsSection(phdr, &shdr)) {
+ && elfu_ePhdrContainsScn(phdr, &shdr)) {
return scn;
}
@@ -45,7 +45,7 @@ Elf_Scn* elfu_firstSectionInSegment(Elf *e, GElf_Phdr *phdr)
*
* If no section fits, NULL is returned.
*/
-Elf_Scn* elfu_lastSectionInSegment(Elf *e, GElf_Phdr *phdr)
+Elf_Scn* elfu_eScnLastInSegment(Elf *e, GElf_Phdr *phdr)
{
Elf_Scn *last = NULL;
Elf_Scn *scn;
@@ -60,7 +60,7 @@ Elf_Scn* elfu_lastSectionInSegment(Elf *e, GElf_Phdr *phdr)
continue;
}
- if (elfu_segmentContainsSection(phdr, &shdr)) {
+ if (elfu_ePhdrContainsScn(phdr, &shdr)) {
if (!last) {
last = scn;
} else {