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