Turn elfu_gPhdrContainsScn into a macro
[centaur.git] / src / printing / sections.c
index 3cdf270a757e857546fa67cb717102fa63c613b5..ec0ff439aac42bd412c09bb6bf6c19729caff8ef 100644 (file)
@@ -31,7 +31,7 @@ void printSegmentsWithSection(Elf *e, Elf_Scn *scn)
       continue;
     }
 
-    if (elfu_ePhdrContainsScn(&phdr, &shdr)) {
+    if (PHDR_CONTAINS_SCN_IN_MEMORY(&phdr, &shdr)) {
       printf("     %d %s\n", i, segmentTypeStr(phdr.p_type));
     }
   }