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