2009-02-16 Christophe Lyon <christophe.lyon@st.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2009-02-16 Christophe Lyon <christophe.lyon@st.com>
2
3 bfd/
4 * elf32-arm.c (arm_long_branch_stub,
5 arm_thumb_v4t_long_branch_stub,
6 arm_thumb_thumb_long_branch_stub,
7 arm_thumb_arm_v4t_long_branch_stub,
8 arm_thumb_arm_v4t_short_branch_stub,
9 arm_pic_long_branch_stub):
10 Renamed to elf32_arm_stub_long_branch_any_any,
11 elf32_arm_stub_long_branch_v4t_arm_thumb,
12 elf32_arm_stub_long_branch_thumb_only,
13 elf32_arm_stub_long_branch_v4t_thumb_arm,
14 elf32_arm_stub_short_branch_v4t_thumb_arm,
15 elf32_arm_stub_long_branch_any_any_pic.
16 (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch,
17 arm_thumb_thumb_stub_long_branch,
18 arm_thumb_arm_v4t_stub_long_branch,
19 arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch):
20 Renamed to arm_stub_long_branch_any_any,
21 arm_stub_long_branch_v4t_arm_thumb,
22 arm_stub_long_branch_thumb_only,
23 arm_stub_long_branch_v4t_thumb_arm,
24 arm_stub_short_branch_v4t_thumb_arm,
25 arm_stub_long_branch_any_any_pic.
26
27 2009-02-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
28
29 * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used
30 in branch offset check.
31
32 2009-02-15 Alan Modra <amodra@bigpond.net.au>
33
34 * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,
35 add toc.symndx and toc.add.
36 (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here.
37 Set up toc.add.
38 (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all
39 callers.
40 (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd.
41 (branch_reloc_hash_match): New function, extracted from..
42 (ppc64_elf_tls_optimize): ..here.
43 (ppc64_elf_relocate_section): Properly set addends when optimizing
44 tls sequences. Avoid unnecessary reading and writing of insns.
45 Only redo reloc when symbol changed. Bypass symbol checks when
46 using tlsld_got.
47 * elf32-ppc.c (ppc_elf_tls_setup): Correct comment.
48 (branch_reloc_hash_match): New function, extracted from..
49 (ppc_elf_tls_optimize): ..here.
50 (ppc_elf_relocate_section): Avoid unnecessary reading of insns.
51 Don't clear addend on zapped __tls_get_addr reloc.
52
53 2009-02-12 Nick Clifton <nickc@redhat.com>
54
55 PR 9827
56 * elflink.c (bfd_elf_final_link): When counting the relocations,
57 if the header size has not been set yet then assume that it will
58 match the output section's reloc type.
59
60 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
61
62 * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
63 relocatable link.
64
65 2009-02-09 Alan Modra <amodra@bigpond.net.au>
66
67 * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.
68 (find_function): Likewise.
69 (pasted_function): Don't error if no prior function found.
70 (discover_functions): Revert 2008-12-10 change. Extend first
71 function range to start of section.
72
73 2009-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
74
75 * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert
76 functions to C90.
77 * elf64-hppa.h: Likewise.
78
79 2009-02-06 Joseph Myers <joseph@codesourcery.com>
80
81 * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
82 .sbss handling.
83
84 2009-02-04 Alan Modra <amodra@bigpond.net.au>
85
86 * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
87 Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.
88
89 2009-02-03 Sandip Matte <sandip@rmicorp.com>
90
91 * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
92 * archures.c (bfd_mach_mips_xlr): Define.
93 * bfd-in2.h: Regenerate.
94 * cpu-mips.c (I_xlr): Define.
95 (arch_info_struct): Add XLR entry.
96 * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
97 (mips_set_isa_flags): Handle bfd_mach_mips_xlr
98 (mips_mach_extensions): Add XLR entry.
99
100 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
101
102 * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.
103
104 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
105
106 * configure.in: AC_SUBST pdfdir.
107 * Makefile.am: Add install-pdf, install-pdf-am
108 and install-pdf-recursive targets. Define pdfdir.
109 * doc/Makefile.am: Define pdf__strip_dir. Add
110 install-pdf and install-pdf-am targets.
111 * po/Make-in: Add install-pdf target.
112 * configure: Regenerate.
113 * Makefile.in: Regenerate
114 * doc/Makefile.in: Regenerate.
115
116 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
117
118 * bfd-in2.h: Regenerate.
119 * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
120 fields from n_entries to n_slots where appropriate, update comments.
121 (HOWTO): Add TLS relocations.
122 (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
123 (enum elf_m68k_got_offset_size): New enum.
124 (struct elf_m68k_got_entry.type): Move field to ...
125 (struct elf_m68k_got_entry_key): ... here. Update all uses.
126 (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
127 functions.
128 (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
129 functions.
130 (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
131 fields into n_entries array. Update comments.
132 (elf_m68k_init_got): Simplify, update all uses.
133 (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
134 (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
135 GOT entries; update name, update all uses.
136 (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
137 (elf_m68k_get_got_entry): Update.
138 (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
139 simplify.
140 (elf_m68k_remove_got_entry_type): Simplify.
141 (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
142 (elf_m68k_can_merge_gots): Update.
143 (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
144 (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
145 GOT entries, simplify.
146 (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
147 (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
148 field, remove obsoleted local_n_entries field.
149 (elf_m68k_partition_multi_got_2): New static function.
150 (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
151 update.
152 (elf_m68k_remove_got_entry_type): Update.
153 (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
154 (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
155 update of sgot->size and srelgot->size.
156 (elf_m68k_gc_sweep_hook): Update.
157 (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
158 (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
159 TLS relocations.
160 * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
161 * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
162
163 2009-02-02 DJ Delorie <dj@redhat.com>
164
165 * elf32-mep.c (config_names): Regenerate configuration.
166
167 2009-02-02 Alan Modra <amodra@bigpond.net.au>
168
169 * elf-bfd.h (bfd_elf_get_str_section): Don't declare.
170 (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
171 * elf.c (bfd_elf_get_str_section): Make static.
172 (bfd_elf_find_section): Delete.
173 * libbfd.h: Regenerate.
174
175 2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
176
177 * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
178 (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.
179
180 2009-01-31 Alan Modra <amodra@bigpond.net.au>
181
182 * elflink.c (on_needed_list): New function.
183 (elf_link_add_object_symbols): Link in --as-needed libs if they
184 satisfy undefined symbols in other libs.
185
186 2009-01-30 Julian Brown <julian@codesourcery.com>
187
188 * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with
189 EXEC_P or DYNAMIC flags, and skip sections which are being linked
190 with --just-symbols (-R).
191
192 2009-01-29 Adam Nemet <anemet@caviumnetworks.com>
193
194 * dwarf2.c (read_rangelist): Use read_address to read low_pc and
195 high_pc in order to properly sign-extend VMAs.
196
197 2009-01-29 Daniel Jacobowitz <dan@codesourcery.com>
198 Mark Shinwell <shinwell@codesourcery.com>
199 Catherine Moore <clm@codesourcery.com>
200
201 * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
202
203 2009-01-28 Catherine Moore <clm@codesourcery.com>
204
205 * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
206 SEC_LOAD for dynamic relocation sections.
207
208 2009-01-27 Hans-Peter Nilsson <hp@axis.com>
209
210 * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
211 (info)->tls_size, not elf_hash_table (info)->tls_sec->size for
212 the size of local TLS data.
213
214 2009-01-27 Andreas Schwab <schwab@suse.de>
215
216 * mach-o.c (bfd_mach_o_archive_p): Restrict the number of
217 architectures in the archive.
218
219 2009-01-27 Hans-Peter Nilsson <hp@axis.com>
220
221 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
222 <R_CRIS_32_DTPREL>: Correct relocation value.
223
224 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
225 <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined
226 symbols with non-default visibility.
227
228 2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
229
230 * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs
231 describing the trampolines.
232 (ppc_elf_relocate_section): Update relocs to describe the
233 trampolines.
234
235 2009-01-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
236
237 * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
238 branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
239 and R_PARISC_PCREL12F relocations.
240
241 2009-01-24 Alan Modra <amodra@bigpond.net.au>
242
243 PR 6022
244 * elflink.c (find_version_for_sym): New function split out from,
245 but without export_dynamic test, ..
246 (_bfd_elf_link_assign_sym_version): ..here.
247 (_bfd_elf_export_symbol): Use it.
248
249 2009-01-23 Alan Modra <amodra@bigpond.net.au>
250
251 * elf-bfd.h (struct elf_assign_sym_version_info): Delete.
252 (struct elf_info_failed, struct elf_find_verdep_info): Move to..
253 * elflink.c: ..here, somewhat modified.
254 * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol,
255 _bfd_elf_link_find_version_dependencies,
256 _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section,
257 _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
258 _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't
259 declare..
260 * elflink.c: ..and make static here.
261 (_bfd_elf_link_find_version_dependencies): Adjust for removal
262 of output_bfd from struct elf_find_verdep_info.
263 (_bfd_elf_link_assign_sym_version): Similarly adjust to use
264 struct elf_info_failed.
265 (bfd_elf_size_dynamic_sections): Adjust.
266
267 2009-01-22 Alan Modra <amodra@bigpond.net.au>
268
269 PR 6832
270 * dwarf2.c (find_line): Don't update stash->sec_info_ptr until
271 after comp_unit_find_line call.
272
273 2009-01-21 Nick Clifton <nickc@redhat.com>
274
275 PR 9769
276 * vmsutil.c (vms_file_stats_name): Remove use of unsupported
277 tm_gmtoff field in struct tm.
278
279 2009-01-21 Alan Modra <amodra@bigpond.net.au>
280
281 * elf32-spu.h (struct spu_elf_params): Add non_ia_text.
282 * elf32-spu.c (mark_overlay_section): Only include .text.ia.*
283 sections in soft-icache lines unless non_ia_text. Don't add
284 rodata if doing so would exceed line size.
285
286 2009-01-19 Hans-Peter Nilsson <hp@axis.com>
287
288 * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol
289 types than bfd_link_hash_indirect, before early return, call
290 _bfd_elf_link_hash_copy_indirect.
291
292 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
293
294 * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
295 * elf-bfd.h (elf_backend_data): Add obj_attrs_order.
296 * elf32-arm.c (elf32_arm_obj_attrs_order): New function.
297 (elf_backend_obj_attrs_order): New define.
298 * elfxx-target.h (elf_backend_obj_attrs_order): New define.
299 (elfNN_bed): Add elf_backend_obj_attrs_order.
300
301 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
302
303 * elf-attrs.c (is_default_attr): Substitute magic numbers with macros.
304 (obj_attr_size): Likewise.
305 (write_obj_attribute): Likewise.
306 (_bfd_elf_copy_obj_attributes): Likewise.
307 (_bfd_elf_parse_attributes): Likewise.
308 * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define.
309 (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines.
310 (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines.
311 (ATTR_TYPE_HAS_NO_DEFAULT): New define.
312 * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers
313 with macros.
314
315 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
316
317 * elf-attrs.c (is_default_attr): Support defaultless attributes.
318 (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
319 (bfd_elf_add_obj_attr_string): Likewise.
320 (bfd_elf_add_obj_attr_int_string): Likewise.
321 (_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
322 * elf-bfd.h (struct obj_attribute): Document new flag bit.
323 * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
324 Tag_nodefaults has no default value.
325 (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
326 comment to reflect the new state.
327
328 2009-01-19 Alan Modra <amodra@bigpond.net.au>
329
330 PR 9695
331 * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC.
332 (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC.
333 (adjust_z_magix): Delete dead code handling QMAGIC.
334
335 2009-01-16 Kai Tietz <kai.tietz@onevision.com>
336
337 * coffcode.h (styp_to_sec_flags): Correct interpretation of
338 IMAGE_SCN_MEM_DISCARDABLE.
339
340 2009-01-16 Alan Modra <amodra@bigpond.net.au>
341
342 * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
343 SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
344 * configure.in (commonbfdlib): Delete.
345 (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
346 (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such
347 is available, not just for linux.
348 * po/SRC-POTFILES.in: Regenerate.
349 * Makefile.in: Regenerate.
350 * configure: Regenerate.
351
352 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
353 Julian Brown <julian@codesourcery.com>
354
355 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
356 ARM attributes in ABI 2.07.
357 * elf32-arm.c (get_secondary_compatible_arch): New function.
358 (set_secondary_compatible_arch): New function.
359 (tag_cpu_arch_combine): New function.
360 (elf32_arm_copy_one_eabi_other_attribute): Delete function.
361 (elf32_arm_copy_eabi_other_attribute_list): Delete function.
362 (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
363 make it fit with order_01243.
364 Add support for Tag_also_compatible_with,
365 Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
366 Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
367 Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
368 Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
369 Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
370 Tag_VFP_arch and Tag_ABI_FP_16bit_format.
371 Rework the way unknown attributes are handled.
372 Defer errors until all attributes have been processed.
373
374 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
375
376 * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
377 bfd_elf_add_obj_attr_int_string.
378 Read Tag_compatibility from its new location in the attribute array,
379 rather than the attribute list.
380 (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
381 bfd_elf_add_obj_attr_int_string.
382 (_bfd_elf_parse_attributes): Likewise.
383 (_bfd_elf_merge_object_attributes): There's now only one
384 Tag_compatibility, and it's in the array, not the list.
385 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
386 Tag_compatibility.
387 (bfd_elf_add_obj_attr_compat): Rename to
388 bfd_elf_add_obj_attr_int_string.
389 (bfd_elf_add_proc_attr_compat): Rename to
390 bfd_elf_add_proc_attr_int_string.
391 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
392 Tag_compatibility.
393
394 2009-01-15 Douglas B Rupp <rupp@gnat.com>
395
396 * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
397 (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
398 (vmsutil.lo): Add dependency rule.
399 * Makefile.in: Regenerate.
400 * config.bfd (ia64*-*-*vms*): Add case.
401 * configure.in (bfd_elf64_ia64_vms_vec): Add case.
402 * configure: Regenerate.
403 * vmsutil.c: New file.
404 * vmsutil.h: New file.
405 * elf-bfd.h (struct bfd_elf_special_section): Change type of
406 attr to bfd_vma.
407 * elfxx-ia64.c (elfNN_vms_post_process_headers,
408 elfNN_vms_section_processing, elfNN_vms_final_write_processing,
409 elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
410 elfNN_vms_object_p): New functions
411 * targets.c (bfd_elf64_ia64_vms_vec): New target.
412
413 2009-01-14 H.J. Lu <hongjiu.lu@intel.com>
414
415 PR ld/9727
416 * elflink.c (elf_gc_sweep): Exclude the group section if the
417 first member of the section group is excluded.
418
419 2009-01-14 Alan Modra <amodra@bigpond.net.au>
420
421 PR 9735
422 * syms.c (_bfd_stab_section_find_nearest_line): Don't free
423 saved filename, use bfd_alloc rather than bfd_malloc for it.
424
425 2009-01-13 Alan Modra <amodra@bigpond.net.au>
426
427 * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
428
429 2009-01-13 Alan Modra <amodra@bigpond.net.au>
430
431 * elf32-spu.c (remove_cycles): Always set call->max_depth.
432
433 2009-01-12 Alan Modra <amodra@bigpond.net.au>
434
435 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
436
437 2009-01-12 Alan Modra <amodra@bigpond.net.au>
438
439 * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
440 num_lines_log2.
441 (struct got_entry): Add br_addr.
442 (struct call_info): Add priority.
443 (struct function_info): Add lr_store and sp_adjust.
444 (spu_elf_setup): Init line_size_log2 and num_lines_log2.
445 (spu_elf_find_overlays): For soft-icache, mark any section within cache
446 area as an overlay, and check that no other overlays exist. Look up
447 icache overlay manager entry sym.
448 (BRA_STUBS, BRA, BRASL): Define.
449 (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
450 (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
451 in branch insn.
452 (count_stub, build_stub): Support soft-icache.
453 (build_spuear_stubs, process_stubs): Adjust build_stub call.
454 (spu_elf_size_stubs): Size soft-icache stubs.
455 (overlay_index): New function.
456 (spu_elf_build_stubs): Make static. Support soft-icache.
457 (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
458 (find_function_stack_adjust): Save lr store and stack adjust insn
459 offsets.
460 (maybe_insert_function): Adjust find_function_stack_adjust call.
461 (mark_functions_via_relocs): Retrieve priority.
462 (remove_cycles): Only warn about pruned arcs when stack_analysis.
463 (sort_calls): Sort by priority first.
464 (mark_overlay_section): Ignore .ovl.init.
465 (sum_stack): Only print when stack_analysis.
466 (print_one_overlay_section): New function, extracted from..
467 (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
468 (spu_elf_stack_analysis): Only print when htab->stack_analysis.
469 (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
470 analysis. Call spu_elf_build_stubs.
471 (spu_elf_relocate_section): For soft-icache encode overlay index
472 into addresses.
473 (spu_elf_output_symbol_hook): Support soft-icache.
474 (spu_elf_modify_program_headers: Likewise.
475
476 * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
477 num_regions to num_lines. Add line_size and max_branch.
478 (enum _ovly_flavour): Add ovly_soft_icache.
479 (spu_elf_build_stubs): Delete.
480
481 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
482
483 * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
484 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
485
486 2009-01-07 Hans-Peter Nilsson <hp@axis.com>
487
488 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
489 <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
490 the program, the known offset starts at the negative size of the
491 TLS section.
492 <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
493 Similar.
494
495 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
496
497 * config.bfd: Add lm32-*-rtems*.
498
499 2009-01-03 H.J. Lu <hongjiu.lu@intel.com>
500
501 * coff-ppc.c: Add 2009 to Copyright.
502 * elf32-cris.c: Likewise.
503 * elflink.c: Likewise.
504
505 2009-01-03 Hans-Peter Nilsson <hp@axis.com>
506
507 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
508 gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
509
510 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
511
512 PR ld/9679
513 * elflink.c (elf_merge_st_other): New.
514 (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
515 hide them if needed.
516 (elf_link_add_object_symbols): Updated.
517
518 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
519
520 PR ld/9676
521 * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
522 ref_dynamic and dynamic_def fields when setting def_regular
523 to 1.
524
525 2009-01-02 Curtis Mackie <curtmackevo@gmail.com>
526
527 PR 9682
528 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
529 literal.
530
531 For older changes see ChangeLog-2008
532 \f
533 Local Variables:
534 mode: change-log
535 left-margin: 8
536 fill-column: 74
537 version-control: never
538 End:
This page took 0.044525 seconds and 5 git commands to generate.