Avoid duplicate QThreadEvents packets
[binutils-gdb.git] / gprof / aarch64.c
index 68febf9372341f77b4f57301b4fd90f248ad21a5..3ab6067dbac9e4e73ad52955731716628d00d9b1 100644 (file)
@@ -54,7 +54,8 @@ aarch64_find_call (Sym *parent, bfd_vma p_lowpc, bfd_vma p_highpc)
   DBG (CALLDEBUG, printf ("[find_call] %s: 0x%lx to 0x%lx\n",
                          parent->name, (unsigned long) p_lowpc,
                          (unsigned long) p_highpc));
-
+  p_lowpc = (p_lowpc + 3) & ~3;
+  p_highpc &= ~3;
   for (pc = p_lowpc; pc < p_highpc; pc += 4)
     {