75c36933a9a3b4c2b3a5f36bab87325444e104a1
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2 Julian Brown <julian@codesourcery.com>
3
4 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
5 ARM attributes in ABI 2.07.
6 * elf32-arm.c (get_secondary_compatible_arch): New function.
7 (set_secondary_compatible_arch): New function.
8 (tag_cpu_arch_combine): New function.
9 (elf32_arm_copy_one_eabi_other_attribute): Delete function.
10 (elf32_arm_copy_eabi_other_attribute_list): Delete function.
11 (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
12 make it fit with order_01243.
13 Add support for Tag_also_compatible_with,
14 Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
15 Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
16 Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
17 Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
18 Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
19 Tag_VFP_arch and Tag_ABI_FP_16bit_format.
20 Rework the way unknown attributes are handled.
21 Defer errors until all attributes have been processed.
22
23 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
24
25 * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
26 bfd_elf_add_obj_attr_int_string.
27 Read Tag_compatibility from its new location in the attribute array,
28 rather than the attribute list.
29 (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
30 bfd_elf_add_obj_attr_int_string.
31 (_bfd_elf_parse_attributes): Likewise.
32 (_bfd_elf_merge_object_attributes): There's now only one
33 Tag_compatibility, and it's in the array, not the list.
34 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
35 Tag_compatibility.
36 (bfd_elf_add_obj_attr_compat): Rename to
37 bfd_elf_add_obj_attr_int_string.
38 (bfd_elf_add_proc_attr_compat): Rename to
39 bfd_elf_add_proc_attr_int_string.
40 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
41 Tag_compatibility.
42
43 2009-01-15 Douglas B Rupp <rupp@gnat.com>
44
45 * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
46 (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
47 (vmsutil.lo): Add dependency rule.
48 * Makefile.in: Regenerate.
49 * config.bfd (ia64*-*-*vms*): Add case.
50 * configure.in (bfd_elf64_ia64_vms_vec): Add case.
51 * configure: Regenerate.
52 * vmsutil.c: New file.
53 * vmsutil.h: New file.
54 * elf-bfd.h (struct bfd_elf_special_section): Change type of
55 attr to bfd_vma.
56 * elfxx-ia64.c (elfNN_vms_post_process_headers,
57 elfNN_vms_section_processing, elfNN_vms_final_write_processing,
58 elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
59 elfNN_vms_object_p): New functions
60 * targets.c (bfd_elf64_ia64_vms_vec): New target.
61
62 2009-01-14 H.J. Lu <hongjiu.lu@intel.com>
63
64 PR ld/9727
65 * elflink.c (elf_gc_sweep): Exclude the group section if the
66 first member of the section group is excluded.
67
68 2009-01-14 Alan Modra <amodra@bigpond.net.au>
69
70 PR 9735
71 * syms.c (_bfd_stab_section_find_nearest_line): Don't free
72 saved filename, use bfd_alloc rather than bfd_malloc for it.
73
74 2009-01-13 Alan Modra <amodra@bigpond.net.au>
75
76 * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
77
78 2009-01-13 Alan Modra <amodra@bigpond.net.au>
79
80 * elf32-spu.c (remove_cycles): Always set call->max_depth.
81
82 2009-01-12 Alan Modra <amodra@bigpond.net.au>
83
84 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
85
86 2009-01-12 Alan Modra <amodra@bigpond.net.au>
87
88 * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
89 num_lines_log2.
90 (struct got_entry): Add br_addr.
91 (struct call_info): Add priority.
92 (struct function_info): Add lr_store and sp_adjust.
93 (spu_elf_setup): Init line_size_log2 and num_lines_log2.
94 (spu_elf_find_overlays): For soft-icache, mark any section within cache
95 area as an overlay, and check that no other overlays exist. Look up
96 icache overlay manager entry sym.
97 (BRA_STUBS, BRA, BRASL): Define.
98 (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
99 (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
100 in branch insn.
101 (count_stub, build_stub): Support soft-icache.
102 (build_spuear_stubs, process_stubs): Adjust build_stub call.
103 (spu_elf_size_stubs): Size soft-icache stubs.
104 (overlay_index): New function.
105 (spu_elf_build_stubs): Make static. Support soft-icache.
106 (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
107 (find_function_stack_adjust): Save lr store and stack adjust insn
108 offsets.
109 (maybe_insert_function): Adjust find_function_stack_adjust call.
110 (mark_functions_via_relocs): Retrieve priority.
111 (remove_cycles): Only warn about pruned arcs when stack_analysis.
112 (sort_calls): Sort by priority first.
113 (mark_overlay_section): Ignore .ovl.init.
114 (sum_stack): Only print when stack_analysis.
115 (print_one_overlay_section): New function, extracted from..
116 (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
117 (spu_elf_stack_analysis): Only print when htab->stack_analysis.
118 (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
119 analysis. Call spu_elf_build_stubs.
120 (spu_elf_relocate_section): For soft-icache encode overlay index
121 into addresses.
122 (spu_elf_output_symbol_hook): Support soft-icache.
123 (spu_elf_modify_program_headers: Likewise.
124
125 * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
126 num_regions to num_lines. Add line_size and max_branch.
127 (enum _ovly_flavour): Add ovly_soft_icache.
128 (spu_elf_build_stubs): Delete.
129
130 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
133 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
134
135 2009-01-07 Hans-Peter Nilsson <hp@axis.com>
136
137 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
138 <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
139 the program, the known offset starts at the negative size of the
140 TLS section.
141 <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
142 Similar.
143
144 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
145
146 * config.bfd: Add lm32-*-rtems*.
147
148 2009-01-03 H.J. Lu <hongjiu.lu@intel.com>
149
150 * coff-ppc.c: Add 2009 to Copyright.
151 * elf32-cris.c: Likewise.
152 * elflink.c: Likewise.
153
154 2009-01-03 Hans-Peter Nilsson <hp@axis.com>
155
156 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
157 gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
158
159 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
160
161 PR ld/9679
162 * elflink.c (elf_merge_st_other): New.
163 (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
164 hide them if needed.
165 (elf_link_add_object_symbols): Updated.
166
167 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
168
169 PR ld/9676
170 * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
171 ref_dynamic and dynamic_def fields when setting def_regular
172 to 1.
173
174 2009-01-02 Curtis Mackie <curtmackevo@gmail.com>
175
176 PR 9682
177 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
178 literal.
179
180 For older changes see ChangeLog-2008
181 \f
182 Local Variables:
183 mode: change-log
184 left-margin: 8
185 fill-column: 74
186 version-control: never
187 End:
This page took 0.037143 seconds and 4 git commands to generate.