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