X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=src%2Felfops%2Fsection-in-segment.c;h=185da364e3fad08ea0ac33a286ad0384ba1f8cb1;hb=b7ab2674931f1bb9a7e6da594f587ae84c293238;hp=143c03f7a823336be60d556b198a784f2206d85a;hpb=bac8986954899053330a952cb6e40d04ec1225b8;p=centaur.git diff --git a/src/elfops/section-in-segment.c b/src/elfops/section-in-segment.c index 143c03f..185da36 100644 --- a/src/elfops/section-in-segment.c +++ b/src/elfops/section-in-segment.c @@ -25,7 +25,7 @@ Elf_Scn* elfu_eScnFirstInSegment(Elf *e, GElf_Phdr *phdr) } if (shdr.sh_offset == phdr->p_offset - && elfu_ePhdrContainsScn(phdr, &shdr)) { + && elfu_gPhdrContainsScn(phdr, &shdr)) { return scn; } @@ -59,7 +59,7 @@ Elf_Scn* elfu_eScnLastInSegment(Elf *e, GElf_Phdr *phdr) continue; } - if (elfu_ePhdrContainsScn(phdr, &shdr)) { + if (elfu_gPhdrContainsScn(phdr, &shdr)) { if (!last) { last = scn; } else {