diff options
author | Alan Modra <amodra@bigpond.net.au> | 2009-07-09 10:58:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2009-07-09 10:58:06 +0000 |
commit | 0794628faf3d1005ddf0fdc99488f663b59bb2d9 (patch) | |
tree | 103c58d25751294555ef8e66830f9788518e5539 /bfd/elf32-spu.c | |
parent | 375ad0c718c2a9a33b8bb54644b94035608ea8c1 (diff) | |
download | binutils-redhat-0794628faf3d1005ddf0fdc99488f663b59bb2d9.tar.gz |
* elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field
of malloc'd struct call_info.
(pasted_function): Likewise, priority too.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r-- | bfd/elf32-spu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 8b1a9f1d55..b571d6ab64 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -2785,6 +2785,7 @@ mark_functions_via_relocs (asection *sec, return FALSE; callee->is_tail = !is_call; callee->is_pasted = FALSE; + callee->broken_cycle = FALSE; callee->priority = priority; callee->count = 1; if (callee->fun->last_caller != sec) @@ -2878,6 +2879,8 @@ pasted_function (asection *sec) callee->fun = fun; callee->is_tail = TRUE; callee->is_pasted = TRUE; + callee->broken_cycle = FALSE; + callee->priority = 0; callee->count = 1; if (!insert_callee (fun_start, callee)) free (callee); |