diff options
Diffstat (limited to 'gprof/mips.c')
-rw-r--r-- | gprof/mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/mips.c b/gprof/mips.c index 5638957..fcc1ed3 100644 --- a/gprof/mips.c +++ b/gprof/mips.c @@ -74,7 +74,7 @@ mips_find_call (parent, p_lowpc, p_highpc) DBG (CALLDEBUG, printf (_("[find_call] 0x%lx: jal"), (unsigned long) pc)); offset = (op & 0x03ffffff) << 2; - dest_pc = (pc & ~0xfffffff) | offset; + dest_pc = (pc & ~(bfd_vma) 0xfffffff) | offset; if (dest_pc >= s_lowpc && dest_pc <= s_highpc) { child = sym_lookup (&symtab, dest_pc); |