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