diff options
Diffstat (limited to 'gprof/sparc.c')
-rw-r--r-- | gprof/sparc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/sparc.c b/gprof/sparc.c index b12420a..6316bff 100644 --- a/gprof/sparc.c +++ b/gprof/sparc.c @@ -49,7 +49,7 @@ find_call (parent, p_lowpc, p_highpc) } DBG (CALLDEBUG, printf ("[find_call] %s: 0x%lx to 0x%lx\n", parent->name, p_lowpc, p_highpc)); - for (instr = (unsigned int *) (p_lowpc + delta); + for (instr = (unsigned int *) (((p_lowpc + delta) + 3) &~ 3); instr < (unsigned int *) (p_highpc + delta); ++instr) { |