X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Faarch64.c;h=68febf9372341f77b4f57301b4fd90f248ad21a5;hb=8b8c7c9f49992750f66f81b4601d593a3858d98c;hp=4187d97a912ec0a0a8d16fc4ca3dae207b234d74;hpb=cd2ae97138838d415067c2cf64519f8dc7c1f084;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/aarch64.c b/gprof/aarch64.c index 4187d97a91..68febf9372 100644 --- a/gprof/aarch64.c +++ b/gprof/aarch64.c @@ -68,7 +68,7 @@ aarch64_find_call (Sym *parent, bfd_vma p_lowpc, bfd_vma p_highpc) /* Regular pc relative addressing check that this is the address of a function. */ - offset = (((insn & 0x3ffffff) ^ 0x2000000) - 0x2000000) << 2; + offset = ((((bfd_vma) insn & 0x3ffffff) ^ 0x2000000) - 0x2000000) << 2; dest_pc = pc + offset;