X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Frecordmcount.h;h=54e35c1e5948c521f9fdebf57c27072b6d844f34;hb=b3d408cc6dbfa6da2e7a6ddd2fd4cfd94e621069;hp=f40a6af6bf40068f2a074bf6bff86d68b2a05440;hpb=f1d1c9fa8f360990e263bdcb73e35ab6fbdc41fe;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h index f40a6af6bf40..54e35c1e5948 100644 --- a/scripts/recordmcount.h +++ b/scripts/recordmcount.h @@ -462,7 +462,7 @@ __has_rel_mcount(Elf_Shdr const *const relhdr, /* is SHT_REL or SHT_RELA */ succeed_file(); } if (w(txthdr->sh_type) != SHT_PROGBITS || - !(w(txthdr->sh_flags) & SHF_EXECINSTR)) + !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) return NULL; return txtname; }