projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e23a1
)
* sparc.c (find_call): Align p_lowpc to avoid bus error.
author
Ian Lance Taylor
<ian@airs.com>
Wed, 2 Oct 1996 19:23:38 +0000
(19:23 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Wed, 2 Oct 1996 19:23:38 +0000
(19:23 +0000)
gprof/ChangeLog
patch
|
blob
|
history
gprof/sparc.c
patch
|
blob
|
history
diff --git
a/gprof/ChangeLog
b/gprof/ChangeLog
index f769bd1e8f6957966edd3790f0952e62267bb88f..ae6f12a8b71fad459460b252b6cb498caedf5da0 100644
(file)
--- a/
gprof/ChangeLog
+++ b/
gprof/ChangeLog
@@
-1,3
+1,7
@@
+Wed Oct 2 15:23:16 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * sparc.c (find_call): Align p_lowpc to avoid bus error.
+
Tue Oct 1 15:58:10 1996 Ian Lance Taylor <ian@cygnus.com>
* gprof.c (usage): Print bug report address.
diff --git
a/gprof/sparc.c
b/gprof/sparc.c
index b12420ae80a5c0d006d60f8890e76babbb3ac334..6316bffc78a7bf6c9b81aae177b04b88a002bb24 100644
(file)
--- 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)
{