X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Frecordmcount.c;h=cce12e1971d853353e6eed3eec83deeb07ad9348;hb=57fbdb15ec427ca3a6f35d4b71fc90ca9af301ea;hp=b9c2ee7ab43fac8f12453d99f1576621e884d9f5;hpb=1e484d388773b0a984236a181fb21e133630df42;p=linux-2.6-microblaze.git diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index b9c2ee7ab43f..cce12e1971d8 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c @@ -438,7 +438,7 @@ static int arm_is_fake_mcount(Elf32_Rel const *rp) static int arm64_is_fake_mcount(Elf64_Rel const *rp) { - return ELF64_R_TYPE(w(rp->r_info)) != R_AARCH64_CALL26; + return ELF64_R_TYPE(w8(rp->r_info)) != R_AARCH64_CALL26; } /* 64-bit EM_MIPS has weird ELF64_Rela.r_info.