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