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