This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd ChangeLog elf32-spu.c
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 1 Apr 2008 23:52:00 -0000
- Subject: src/bfd ChangeLog elf32-spu.c
CVSROOT: /cvs/src
Module name: src
Changes by: amodra@sourceware.org 2008-04-01 23:52:00
Modified files:
bfd : ChangeLog elf32-spu.c
Log message:
* elf32-spu.c (insert_callee): Reorder call list so most recent
call is always first.
(interesting_section): Move.
(mark_functions_via_relocs): Fold interesting_section and
reloc_count tests in callers to here. Simplify output section
owner test.
(discover_functions): Set "gaps" when no symbols and some
"interesting_section". Run pasted_function loop for no symbol
bfds.
(for_each_node, transfer_calls): New functions.
(mark_non_root): Adjust to suit for_each_node.
(call_graph_traverse): Likewise. Fix memory leak. Rename to..
(remove_cycles): ..this.
(build_call_tree): Use for_each_node and transfer_calls.
(struct _sum_stack_param): New.
(sum_stack): Adjust to suit for_each_node. Return error on
malloc failure. Move code to print root node cumulative stack from..
(spu_elf_stack_analysis): ..here. Use for_each_node.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4180&r2=1.4181
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-spu.c.diff?cvsroot=src&r1=1.35&r2=1.36