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:
2ea2f3c
)
* elf32-spu.c (remove_cycles): Always set call->max_depth.
author
Alan Modra
<amodra@gmail.com>
Mon, 12 Jan 2009 13:56:03 +0000
(13:56 +0000)
committer
Alan Modra
<amodra@gmail.com>
Mon, 12 Jan 2009 13:56:03 +0000
(13:56 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-spu.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index e45d9124eda88a19f45e68149b64d964b0f1e4c8..8d20b8137d21b064abc9c6b7a29b18ec534cbf1f 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2009-01-13 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (remove_cycles): Always set call->max_depth.
+
2009-01-12 Alan Modra <amodra@bigpond.net.au>
* elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
diff --git
a/bfd/elf32-spu.c
b/bfd/elf32-spu.c
index 2d2f2583d4e2bd21707ab5f22283f373d51bf59c..e94c70b9b5fed612bd4b271fd5d28dbc53105310 100644
(file)
--- a/
bfd/elf32-spu.c
+++ b/
bfd/elf32-spu.c
@@
-3140,9
+3140,9
@@
remove_cycles (struct function_info *fun,
callp = &fun->call_list;
while ((call = *callp) != NULL)
{
+ call->max_depth = depth + !call->is_pasted;
if (!call->fun->visit2)
{
- call->max_depth = depth + !call->is_pasted;
if (!remove_cycles (call->fun, info, &call->max_depth))
return FALSE;
if (max_depth < call->max_depth)