* elf32-spu.c (remove_cycles): Always set call->max_depth.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2009-01-13 Alan Modra <amodra@bigpond.net.au>
2
3 * elf32-spu.c (remove_cycles): Always set call->max_depth.
4
5 2009-01-12 Alan Modra <amodra@bigpond.net.au>
6
7 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
8
9 2009-01-12 Alan Modra <amodra@bigpond.net.au>
10
11 * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
12 num_lines_log2.
13 (struct got_entry): Add br_addr.
14 (struct call_info): Add priority.
15 (struct function_info): Add lr_store and sp_adjust.
16 (spu_elf_setup): Init line_size_log2 and num_lines_log2.
17 (spu_elf_find_overlays): For soft-icache, mark any section within cache
18 area as an overlay, and check that no other overlays exist. Look up
19 icache overlay manager entry sym.
20 (BRA_STUBS, BRA, BRASL): Define.
21 (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
22 (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
23 in branch insn.
24 (count_stub, build_stub): Support soft-icache.
25 (build_spuear_stubs, process_stubs): Adjust build_stub call.
26 (spu_elf_size_stubs): Size soft-icache stubs.
27 (overlay_index): New function.
28 (spu_elf_build_stubs): Make static. Support soft-icache.
29 (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
30 (find_function_stack_adjust): Save lr store and stack adjust insn
31 offsets.
32 (maybe_insert_function): Adjust find_function_stack_adjust call.
33 (mark_functions_via_relocs): Retrieve priority.
34 (remove_cycles): Only warn about pruned arcs when stack_analysis.
35 (sort_calls): Sort by priority first.
36 (mark_overlay_section): Ignore .ovl.init.
37 (sum_stack): Only print when stack_analysis.
38 (print_one_overlay_section): New function, extracted from..
39 (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
40 (spu_elf_stack_analysis): Only print when htab->stack_analysis.
41 (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
42 analysis. Call spu_elf_build_stubs.
43 (spu_elf_relocate_section): For soft-icache encode overlay index
44 into addresses.
45 (spu_elf_output_symbol_hook): Support soft-icache.
46 (spu_elf_modify_program_headers: Likewise.
47
48 * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
49 num_regions to num_lines. Add line_size and max_branch.
50 (enum _ovly_flavour): Add ovly_soft_icache.
51 (spu_elf_build_stubs): Delete.
52
53 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
54
55 * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
56 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
57
58 2009-01-07 Hans-Peter Nilsson <hp@axis.com>
59
60 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
61 <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
62 the program, the known offset starts at the negative size of the
63 TLS section.
64 <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
65 Similar.
66
67 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
68
69 * config.bfd: Add lm32-*-rtems*.
70
71 2009-01-03 H.J. Lu <hongjiu.lu@intel.com>
72
73 * coff-ppc.c: Add 2009 to Copyright.
74 * elf32-cris.c: Likewise.
75 * elflink.c: Likewise.
76
77 2009-01-03 Hans-Peter Nilsson <hp@axis.com>
78
79 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
80 gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
81
82 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
83
84 PR ld/9679
85 * elflink.c (elf_merge_st_other): New.
86 (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
87 hide them if needed.
88 (elf_link_add_object_symbols): Updated.
89
90 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
91
92 PR ld/9676
93 * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
94 ref_dynamic and dynamic_def fields when setting def_regular
95 to 1.
96
97 2009-01-02 Curtis Mackie <curtmackevo@gmail.com>
98
99 PR 9682
100 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
101 literal.
102
103 For older changes see ChangeLog-2008
104 \f
105 Local Variables:
106 mode: change-log
107 left-margin: 8
108 fill-column: 74
109 version-control: never
110 End:
This page took 0.031051 seconds and 4 git commands to generate.