1 2013-02-27 DJ Delorie <dj@redhat.com>
3 * reloc.c (BFD_RELOC_RL78_CODE): Add.
4 * libbfd.h: Regenerate.
5 * bfd-in2.h: Regenerate.
6 * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code
7 references in compuated relocs.
9 2013-02-26 Anthony Green <green@moxielogic.com>
11 * config.bfd: Extend moxie-rtems target triplet name support.
13 2013-02-21 H.J. Lu <hongjiu.lu@intel.com>
16 * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set
17 unique_global only for definition.
18 * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global
20 (elf_link_add_object_symbols): Set unique_global only
23 2013-02-21 Alan Modra <amodra@gmail.com>
25 * elf-bfd.h (struct elf_build_id): Extracted from..
26 (struct elf_build_id_info): ..here. Delete.
27 (struct output_elf_obj_tdata): New, extracted from..
28 (struct elf_obj_tdata): ..here. Reorganize for better packing.
30 (elf_program_header_size): Reference tdata->o.
31 (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker,
32 elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec,
33 elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise.
34 * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata
35 when opening bfd in any mode that might write.
36 (_bfd_elf_write_object_contents): Use build_id field in
38 (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test.
39 (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes.
41 2013-02-21 Alan Modra <amodra@gmail.com>
43 * elf-bfd.h (struct core_elf_obj_tdata): New.
44 (struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid,
45 core_program, and core_command. Add "core".
46 * elf.c (bfd_elf_mkcorefile): Allocate "core" struct.
47 Update all refs to tdata core fields.
48 * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c,
49 * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c,
50 * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c,
51 * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c,
52 * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c,
53 * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c,
54 * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs
57 2013-02-21 Alan Modra <amodra@gmail.com>
59 * elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map.
60 Delete num_locals and num_globals.
61 (elf_num_locals, elf_num_globals): Don't define.
62 (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker,
63 elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define.
64 * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c,
65 * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c,
66 * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c,
67 * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata
69 * elf.c (elf_map_symbols): Add pnum_locals param. Return
70 number of locals syms via new param.
71 (swap_out_syms): Adjust to suit elf_map_symbols change.
73 2013-02-19 Maciej W. Rozycki <macro@codesourcery.com>
75 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear
76 STO_MICROMIPS annotation.
78 2013-02-19 Alan Modra <amodra@gmail.com>
80 * configure.in: Bump version to 2.23.52.
81 * elf-bfd.h (struct elf_build_id_info): New.
82 (struct elf_obj_tdata): Delete after_write_object_contents,
83 after_write_object_contents_info and build_id_size. Make build_id
84 a pointer to struct elf_build_id_info.
85 * elf.c (_bfd_elf_write_object_contents): Style. Update
86 after_write_ibject_contents invocation.
87 (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't
88 allow zero size notes.
89 * configure: Regenerate.
91 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
93 * elf64-mips.c (micromips_elf64_howto_table_rel): Add
94 R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR.
95 (micromips_elf64_howto_table_rela): Likewise.
96 (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR.
97 * elfn32-mips.c (elf_micromips_howto_table_rel): Add
98 R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR.
99 (elf_micromips_howto_table_rela): Likewise.
100 (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR.
102 2013-02-18 Paul Brook <paul@codesourcery.com>
104 * elfxx-mips.c (MICROMIPS_P): New macro.
105 (_bfd_mips_elf_symbol_processing): Use it.
107 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
109 * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify
110 comment on _PROCEDURE_LINKAGE_TABLE_ creation.
112 2013-02-18 Alan Modra <amodra@gmail.com>
115 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Delete.
116 (_bfd_elf_strtab_clear_all_refs): Declare.
117 (_bfd_elf_strtab_resize): Declare.
118 * elf-strtab.c (_bfd_elf_strtab_clear_refs): Delete.
119 (_bfd_elf_strtab_clear_all_refs): New function.
120 (_bfd_elf_strtab_resize): Likewise.
121 * elflink.c (elf_link_add_object_symbols): Use _bfd_elf_strtab_resize.
123 2013-02-18 Alan Modra <amodra@gmail.com>
125 * elf-bfd.h (struct elf_obj_tdata): Move find_line_info, local_stubs,
126 local_call_stubs, elf_data_symbol, elf_text_symbol, elf_data_section,
127 and elf_text_section to..
128 * elfxx-mips.c (struct mips_elf_obj_tdata): ..here. Update all refs.
129 * elf64-alpha.c (struct mips_elf_find_line): Rename to..
130 (struct alpha_elf_find_line): ..this.
131 (struct alpha_elf_obj_tdata): Add find_line_info, update refs.
133 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
136 * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
137 for references from the dummy bfd.
139 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
142 * elflink.c (elf_link_add_object_symbols): Also track weak
145 2013-02-15 H.J. Lu <hongjiu.lu@intel.com>
148 * archive.c (_bfd_find_nested_archive): Don't allow a nested
149 archive pointing to itself.
150 (_bfd_get_elt_at_filepos): Revert the last 2 changes.
152 2013-02-15 Nick Clifton <nickc@redhat.com>
155 * archive.c (_bfd_get_elt_at_filepos): Prevent an infinite loop
156 accessing a corrupt nested archive.
158 2013-02-13 Richard Sandiford <rdsandiford@googlemail.com>
160 * elfxx-mips.c (mips_got_page_ref): New structure.
161 (mips_got_page_entry): Use a section rather than a (bfd, symndx)
162 pair to represent the anchor point.
163 (mips_got_info): Add a got_page_refs field.
164 (mips_elf_link_hash_table): Add a sym_cache field.
165 (mips_got_page_ref_hash, mips_got_page_ref_eq): New functions.
166 (mips_got_page_entry_hash, mips_got_page_entry_eq): Update for
167 new anchor representation.
168 (mips_elf_create_got_info): Create got_page_refs rather than
170 (mips_elf_record_got_page_ref): New function.
171 (mips_elf_pages_for_range): Move further down file.
172 (mips_elf_record_got_page_entry): Likewise. Take a got as argument.
173 Use a section rather than a (bfd, symndx) pair to represent the
175 (mips_elf_resolve_got_page_ref): New function.
176 (mips_elf_resolve_final_got_entries): Use it to populate
178 (_bfd_mips_elf_check_relocs): Call mips_elf_record_got_page_ref
179 rather than mips_elf_record_got_page_entry. Only nullify h
181 (mips_elf_lay_out_got): Call mips_elf_resolve_final_got_entries
184 2013-02-12 Richard Sandiford <rdsandiford@googlemail.com>
186 * elfxx-mips.c (mips_elf_lay_out_got): Count VxWorks GOT relocs
189 2013-02-12 Alan Modra <amodra@gmail.com>
191 * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide
192 suitable definition when using generic linker hash table.
194 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
196 * elfxx-mips.c (mips_elf_count_got_entries): Delete.
197 (mips_elf_check_recreate_got, mips_elf_recreate_got): Take a
198 mips_elf_traverse_got_arg. Count GOT entries.
199 (mips_elf_resolve_final_got_entries): Take the bfd_link_info
200 as argument. Update after above changes.
201 (mips_elf_merge_got, mips_elf_lay_out_got): Don't call
202 mips_elf_count_got_entries. Update the calls to
203 mips_elf_resolve_final_got_entries.
205 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
207 * elfxx-mips.c (mips_got_tls_type): New enum.
208 (mips_got_entry): Add tls_initialized.
209 (mips_elf_got_entry_hash, mips_elf_got_entry_eq, mips_tls_got_relocs)
210 (mips_elf_count_got_entry, mips_elf_initialize_tls_index): Remove
212 (mips_elf_reloc_tls_type, mips_tls_got_entries)
213 (mips_elf_record_global_got_symbol, mips_elf_initialize_tls_index)
214 (_bfd_mips_elf_finish_dynamic_symbol): Use GOT_TLS_NONE rather
216 (mips_elf_initialize_tls_slots): Replace got_offset and tls_type_p
217 arguments with a GOT entry. Remove GOT_TLS_TYPE masks. Use
218 tls_initialized rather than GOT_TLS_DONE.
219 (mips_tls_got_index): Delete.
220 (mips_elf_local_got_index, mips_elf_global_got_index): Use
221 mips_elf_initialize_tls_slots rather than mips_tls_got_index.
222 (mips_elf_record_got_entry): Initialize tls_initialized.
224 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
226 * elfxx-mips.c (mips_got_entry): Remove tls_ldm_offset.
227 (mips_elf_link_hash_entry): Remove tls_ie_type, tls_gd_type,
228 tls_ie_got_offset and tls_gd_got_offset.
229 (mips_elf_link_hash_newfunc): Remove initialization.
230 (mips_elf_create_got_info): Likewise.
231 (mips_elf_count_local_got_entries, mips_elf_count_global_tls_entries)
232 (mips_tls_single_got_index): Delete.
233 (mips_elf_local_got_index): Always use the GOT entry to track
235 (mips_elf_global_got_index): Likewise.
236 (mips_elf_create_local_got_entry): Assert that TLS entries have
237 already been allocated.
238 (mips_elf_record_global_got_symbol): Don't initialize
239 tls_ie_type or tls_gd_type.
240 (mips_elf_count_got_symbols): Only count reloc-only GOT entries here.
241 (mips_elf_initialize_tls_index): Allocate a GOT index for every TLS
243 (mips_elf_lay_out_got): Use mips_elf_count_got_entries to count
245 (_bfd_mips_elf_finish_dynamic_symbol): Assert that TLS GOT offsets
247 (_bfd_mips_elf_copy_indirect_symbol): Remove handling of
248 tls_ie_type and tls_gd_type.
250 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
252 * elfxx-mips.c (mips_elf_create_local_got_entry): Tidy. Avoid
253 aliasing violation. Check for htab allocation failures.
255 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
257 * elfxx-mips.c (mips_elf_primary_global_got_index): New function,
259 (mips_elf_global_got_index): ...here. Reorder arguments so that
260 the output bfd and info come first.
261 (mips_elf_calculate_relocation): Update the call to
262 mips_elf_global_got_index accordingly.
263 (_bfd_mips_elf_finish_dynamic_symbol): Use
264 mips_elf_primary_global_got_index rather than
265 mips_elf_global_got_index.
266 (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
268 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
270 * elfxx-mips.c (mips_got_entry): Update comments.
271 (mips_elf_multi_got_entry_eq): Rename to...
272 (mips_elf_got_entry_eq): ...this, deleting the old definition.
273 (mips_elf_create_got_info): Remove master_got_p argument.
274 Always use mips_elf_got_entry_eq.
275 (mips_elf_bfd_got, mips_elf_multi_got, mips_elf_create_got_section):
276 Update calls accordingly.
278 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
280 * elfxx-mips.c (mips_got_info): Remove bfd2got.
281 (mips_elf_bfd2got_hash): Delete.
282 (mips_elf_got_per_bfd_arg): Remove bfd2got.
283 (mips_elf_replace_bfd_got, mips_elf_count_got_entries): New functions.
284 (mips_elf_global_got_index, mips_elf_create_local_got_entry): Use
285 g->next to test for the multigot case. Use mips_elf_bfd_got rather
286 than mips_elf_got_for_ibfd.
287 (mips_elf_bfd2got_entry_hash, mips_elf_bfd2got_entry_eq)
288 (mips_elf_got_for_ibfd, mips_elf_get_got_for_bfd): Delete.
289 (mips_elf_make_got_per_bfd): Replace with...
290 (mips_elf_add_got_entry): ...this new function.
291 (mips_elf_make_got_pages_per_bfd): Replace with...
292 (mips_elf_add_got_page_entry): ...this new function.
293 (mips_elf_merge_got_with): Replace bfd2got argument with separate
294 bfd and GOT arguments. Use mips_elf_add_got_entry and
295 mips_elf_add_got_page_entry instead of mips_elf_make_got_per_bfd
296 and mips_elf_make_got_pages_per_bfd. Use mips_elf_replace_bfd_got
297 to set the BFD's GOT and free the old table.
298 (mips_elf_merge_got): Replace bfd2got argument with separate
299 bfd and GOT arguments. Apply mips_elf_resolve_final_got_entries.
300 Use mips_elf_count_got_entries to count the number of entries in
301 each GOT. Update the calls to mips_elf_merge_got_with.
302 (mips_elf_adjust_gp): Use g->next to test for the multigot case.
303 Use mips_elf_bfd_got rather than mips_elf_got_for_ibfd.
304 (mips_elf_multi_got): Don't create the bfd2got hash table.
305 Replace hash table traversal with a walk over the input bfds,
306 updating the call to mips_elf_merge_got. Use mips_elf_replace_bfd_got
307 to set the output bfd's GOT.
308 (mips_elf_lay_out_got): Rename "sub" to "ibfd". Record that all
309 bfds use the master GOT in the single-GOT case.
310 (_bfd_mips_elf_finish_dynamic_sections): Use mips_elf_bfd_got
311 rather than mips_elf_got_for_ibfd.
313 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
315 * elfxx-mips.c (mips_elf_obj_tdata): Add a got field.
316 (mips_elf_bfd_got, mips_elf_record_got_entry): New functions.
317 (mips_elf_record_global_got_symbol): Update the hash entry before
318 adding the mips_got_entry. Use mips_elf_record_got_entry to do
320 (mips_elf_record_local_got_symbol): Use mips_elf_record_got_entry.
321 (mips_elf_record_got_page_entry): Record the entry in both the
324 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
326 * elfxx-mips.c (mips_elf_recreate_got): Don't change the entry;
327 create another one if necessary.
328 (mips_elf_set_gotidx): New function.
329 (mips_elf_set_global_gotidx): Use it.
330 (mips_elf_initialize_tls_index): Likewise. Take a
331 mips_elf_traverse_got_arg as argument.
332 (mips_elf_lay_out_got): Update use of mips_elf_initialize_tls_index.
333 (mips_elf_multi_got): Likewise. Cope with error returns from
334 mips_elf_set_global_gotidx.
336 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
338 * elfxx-mips.c (mips_got_info): Add relocs field.
339 (mips_elf_set_global_got_offset_arg, mips_elf_count_tls_arg): Replace
341 (mips_elf_traverse_got_arg): ...this new structure.
342 (mips_elf_count_local_tls_relocs): Delete.
343 (mips_elf_count_global_tls_relocs): Likewise.
344 (mips_elf_count_got_entry): New function.
345 (mips_elf_count_local_got_entries): Likewise.
346 (mips_elf_count_global_tls_entries): Take a mips_elf_traverse_got_arg
347 rather than a mips_elf_count_tls_arg. Count both relocs and entries.
348 (mips_elf_record_local_got_symbol): Don't count got entries here.
349 (mips_elf_make_got_per_bfd): Use mips_elf_count_got_entry.
350 (mips_elf_set_global_got_offset): Split into...
351 (mips_elf_set_global_got_area, mips_elf_set_global_gotidx): ...these
352 new functions. Take a mips_elf_traverse_got_arg rather than a
353 mips_elf_set_global_got_offset_arg. Don't count TLS relocs here.
354 Use g->relocs to record the number of relocs needed for global GOT
356 (mips_elf_multi_got): Use mips_elf_traverse_got_arg rather than
357 mips_elf_set_global_got_offset_arg. Use the relocs field to count
358 relocations. Update for above function split.
359 (mips_elf_lay_out_got): Use mips_elf_count_local_got_entries
360 to count both the number of GOT entries and the number of TLS
361 relocs required by local entries. Likewise
362 mips_elf_count_global_tls_entries and global entries.
363 Remove uses of mips_elf_count_local_tls_relocs and
364 mips_elf_count_global_tls_relocs.
366 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
368 * elfxx-mips.c (mips_got_entry): Update comment above tls_type entry
369 to say that each structure represents only one type of TLS reference.
370 (GOT_TLS_TYPE): New define.
371 (mips_elf_link_hash_entry): Temporarily split tls_type and
372 tls_got_offset into two variables each.
373 (mips_elf_link_hash_newfunc): Update accordingly.
374 (mips_elf_got_entry_eq, mips_elf_got_entry_hash)
375 (mips_elf_multi_got_entry_eq): Require the tls_type to be the same.
376 (mips_elf_reloc_tls_type, mips_tls_got_entries): New functions.
377 (mips_tls_got_relocs): Use a switch statement.
378 (mips_elf_count_global_tls_entries): Handle the new hash entry fields.
379 (mips_elf_initialize_tls_slots): Use a switch statement. Avoid
380 local "offset" variable.
381 (mips_tls_got_index): Remove r_type argument and assert. Remove
382 code that handled entries with two TLS types; always use the
383 original got_index instead.
384 (mips_tls_single_got_index): New function.
385 (mips_elf_local_got_index): Use entry->tls_type to check for
386 TLS entries. Use mips_tls_single_got_index. Update call to
388 (mips_elf_global_got_index): Use mips_elf_reloc_tls_type.
389 Use p->tls_type to check for TLS entries. Update call to
390 mips_tls_got_index. Use mips_tls_single_got_index.
391 (mips_elf_create_local_got_entry): Use mips_elf_reloc_tls_type.
392 Use entry.tls_type to check for TLS entries.
393 (mips_elf_record_global_got_symbol): Replace tls_flag argument
394 with r_type argument. Use mips_elf_reloc_tls_type.
395 Set up the new hash entry fields.
396 (mips_elf_record_local_got_symbol): Replace tls_flag argument
397 with r_type argument. Use mips_elf_reloc_tls_type and
398 mips_tls_got_entries. Remove code that handled entries
399 with multiple TLS types.
400 (mips_elf_make_got_per_bfd): Use mips_tls_got_entries.
401 (mips_elf_initialize_tls_index): Handle new hash entry fields.
402 Use equality rather than masks when checking for specific TLS types.
403 Use mips_tls_got_entries. Remove code that handled entries
404 with multiple TLS types.
405 (mips_elf_calculate_relocation): Use TLS_RELOC_P instead of
406 testing the hash table entry.
407 (_bfd_mips_elf_check_relocs): Update calls to
408 mips_elf_record_global_got_symbol and mips_elf_record_local_got_symbol.
409 (_bfd_mips_elf_finish_dynamic_symbol): Don't check h->type.
410 (_bfd_mips_elf_copy_indirect_symbol): Handle new hash entry fields.
412 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
414 * elfxx-mips.c (mips_elf_multi_got_entry_hash): Rename to...
415 (mips_elf_got_entry_hash): ...this, deleting the old version.
416 (mips_elf_create_got_info): Use mips_elf_got_entry_hash for
419 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
421 * elfxx-mips.c (mips_elf_create_got_info): New function.
422 (mips_elf_get_got_for_bfd, mips_elf_multi_got): Use it.
423 (mips_elf_create_got_section): Likewise.
425 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
427 * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set
430 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
432 * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation.
434 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
436 * elfxx-mips.c (mips_got_info): Move global_gotsym to...
437 (mips_elf_link_hash_table): ...here. Update rest of file accordingly.
439 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
441 * elfxx-mips.c (mips_elf_count_global_tls_entries)
442 (mips_elf_count_global_tls_relocs): Don't count indirect or
444 (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right
445 number of TLS entries were allocated.
447 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
449 * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.
451 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
453 * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count
454 if there are TLS relocations.
456 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
458 * elfxx-mips.c (mips_elf_recreate_got): Remove free.
459 (mips_elf_resolve_final_got_entries): Remove bogus comment.
461 2013-02-11 Alan Modra <amodra@gmail.com>
463 * elfcode.h (elf_checksum_contents): Free contents.
464 * elf-bfd.h (_bfd_elf_link_hash_table_free): Declare.
465 * elflink.c (_bfd_elf_link_hash_table_free): New function.
466 (elf_final_link_free): New function, extracted from..
467 (bfd_elf_final_link): ..here. Always call
468 _bfd_elf_write_section_eh_frame_hdr.
469 * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Default to
470 _bfd_elf_link_hash_table_free.
471 * libbfd-in.h (_bfd_merge_sections_free): Declare.
472 * libbfd.h: Regenerate.
473 * merge.c (_bfd_merge_sections_free): New function.
474 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): Free
476 * elf-m10300.c (elf32_mn10300_link_hash_table_free): Call
477 _bfd_elf_link_hash_table_free.
478 * elf32-arm.c (elf32_arm_link_hash_table_free): Likewise.
479 * elf32-avr.c (elf32_avr_link_hash_table_free): Likewise.
480 * elf32-hppa.c (elf32_hppa_link_hash_table_free): Likewise.
481 * elf32-i386.c (elf_i386_link_hash_table_free): Likewise.
482 * elf32-m68hc1x.c (m68hc11_elf_hash_table_free): Likewise.
483 * elf32-m68k.c (elf_m68k_link_hash_table_free): Likewise.
484 * elf32-metag.c (elf_metag_link_hash_table_free): Likewise.
485 * elf32-xgate.c (xgate_elf_bfd_link_hash_table_free): Likewise.
486 * elf64-aarch64.c (elf64_aarch64_link_hash_table_free): Likewise.
487 * elf64-ia64-vms.c (elf64_ia64_hash_table_free): Likewise.
488 * elf64-ppc.c (ppc64_elf_link_hash_table_free): Likewise.
489 * elf64-x86-64.c (elf_x86_64_link_hash_table_free): Likewise.
490 * elfnn-ia64.c (elfNN_ia64_hash_table_free): Likewise.
491 * elf32-cr16.c (elf32_cr16_link_hash_table_free): Delete.
492 (bfd_elf32_bfd_link_hash_table_free): Don't define.
493 * elf32-tic6x.c (elf32_tic6x_link_hash_table_free): Delete.
494 (bfd_elf32_bfd_link_hash_table_free): Dont' define.
496 2013-02-10 Alan Modra <amodra@gmail.com>
498 * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc.
499 * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
500 * m68klinux.c (linux_link_hash_table_create): Likewise.
501 * sparclinux.c (linux_link_hash_table_create): Likewise.
502 * sunos.c (sunos_link_hash_table_create): Likewise.
503 * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.
504 * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
505 * elf32-arm.c (elf32_arm_link_hash_table_create): Likewise.
506 * elf32-avr.c (elf32_avr_link_hash_table_create): Likewise.
507 * elf32-cr16.c (elf32_cr16_link_hash_table_create): Likewise.
508 * elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
509 * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
510 * elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
511 * elf32-lm32.c (lm32_elf_link_hash_table_create): Likewise.
512 * elf32-m32r.c (m32r_elf_link_hash_table_create): Likewise.
513 * elf32-m68hc1x.c (m68hc11_elf_hash_table_create): Likewise.
514 * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
515 * elf32-metag.c (elf_metag_link_hash_table_create): Likewise.
516 * elf32-nios2.c (nios2_elf32_link_hash_table_create): Likewise.
517 * elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
518 * elf32-score.c (elf32_score_link_hash_table_create): Likewise.
519 * elf32-spu.c (spu_elf_link_hash_table_create): Likewise.
520 * elf32-tic6x.c (elf32_tic6x_link_hash_table_create): Likewise.
521 * elf32-vax.c (elf_vax_link_hash_table_create): Likewise.
522 * elf32-xgate.c (xgate_elf_bfd_link_hash_table_create): Likewise.
523 * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Likewise.
524 * elf64-aarch64.c (elf64_aarch64_link_hash_table_create): Likewise.
525 * elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
526 * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
527 * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Likewise.
528 * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
529 * elflink.c (_bfd_elf_link_hash_table_create): Likewise.
530 (_bfd_elf_link_hash_table_init): Assume zero fill table on entry.
532 2013-02-10 Alan Modra <amodra@gmail.com>
534 * i386linux.c (linux_link_hash_table_create): Allocate table
535 with bfd_zmalloc, not bfd_alloc.
536 * pdp11.c (link_hash_table_create): Allocate table with
537 bfd_malloc, not bfd_alloc.
538 * elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table
539 with bfd_zmalloc, not bfd_zalloc.
540 (bfin_link_hash_table_create): Likewise.
541 * elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise.
542 * elf64-hppa.c (elf64_hppa_hash_table_create): Likewise.
544 2013-02-10 Alan Modra <amodra@gmail.com>
547 * elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc.
549 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
551 * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED
553 (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss
556 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
558 * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from
561 2013-02-08 Alan Modra <amodra@gmail.com>
564 * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache.
565 * elf.c (elf_find_function): Revert last change. Use new
566 tdata field rather than static vars for cache.
568 2013-02-07 H.J. Lu <hongjiu.lu@intel.com>
571 * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if
572 symbol is defined in regular object.
574 2013-02-07 Roberto Agostino Vitillo <ra.vitillo@gmail.com>
577 * elf.c (elf_find_function): Don't cache if symbols change.
579 2013-02-07 Alan Modra <amodra@gmail.com>
582 * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to
583 copy attributes from or to non-ELF.
585 2013-02-06 H.J. Lu <hongjiu.lu@intel.com>
587 * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count
588 for non-zero TLS symbol.
589 (elf_i386_relocate_section): Don't resolve size relocation against
591 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear
592 pc_count for non-zero TLS symbol.
593 (elf_x86_64_relocate_section): Don't resolve size relocation
594 against non-zero TLS symbol.
596 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
597 Andrew Jenner <andrew@codesourcery.com>
599 Based on patches from Altera Corporation.
601 * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo.
602 (ALL_MACHINES_CFILES): Add cpu-nios2.c.
603 (BFD_BACKENDS): Add elf32-nios2.lo.
604 (BFD32_BACKENDS_CFILES): Add elf32-nios2.c.
605 * Makefile.in: Regenerated.
606 * configure.in: Add entries for bfd_elf32_bignios2_vec and
607 bfd_elf32_littlenios2_vec.
608 * configure: Regenerated.
609 * config.bfd: Add cases for nios2.
610 * archures.c (enum bfd_architecture): Add bfd_arch_nios2.
611 (bfd_mach_nios2): Define.
612 (bfd_nios2_arch): Declare.
613 (bfd_archures_list): Add bfd_nios2_arch.
614 * targets.c (bfd_elf32_bignios2_vec): Declare.
615 (bfd_elf32_littlenios2_vec): Declare.
616 (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and
617 bfd_elf32_littlenios2_vec.
618 * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA.
619 * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations.
620 * bfd-in2.h: Regenerated.
621 * libbfd.h: Regenerated.
622 * cpu-nios2.c: New file.
623 * elf32-nios2.c: New file.
625 2013-02-06 Alan Modra <amodra@gmail.com>
627 * elf32-arm.c (elf32_arm_final_link_relocate): Only test for
630 2013-02-06 Alan Modra <amodra@gmail.com>
632 * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'.
633 * Makefile.in: Regenerate.
635 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
636 Pedro Alves <palves@redhat.com>
638 * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'.
639 * elf-bfd.h (elf_internal_linux_prpsinfo): New structure
641 (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64)
642 (elfcore_write_ppc32_linux_prpsinfo32): New declarations.
643 * elf-linux-psinfo.h: New file.
644 * elf.c: Include elf-linux-psinfo.h.
645 (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64):
647 * elf32-ppc.c: Include `elf-linux-psinfo.h'.
648 (elf_external_ppc_linux_prpsinfo32): New structure declaration.
649 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro.
650 (elfcore_write_ppc_linux_prpsinfo32): New function.
652 2013-02-04 Tristan Gingold <gingold@adacore.com>
654 * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no
657 2013-02-04 Alan Modra <amodra@gmail.com>
659 * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.
660 (BFD64_BACKENDS_CFILES): Remove elf-nacl.c.
661 * Makefile.in: Regenerate.
662 * po/SRC-POTFILES.in: Regenerate.
664 2013-02-04 Alan Modra <amodra@gmail.com>
666 * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete.
667 * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
669 2013-02-01 Alan Modra <amodra@gmail.com>
671 * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
674 2013-01-31 Tristan Gingold <gingold@adacore.com>
676 * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections
677 earlier. Fix status checking of bfd_mach_o_scan_start_address.
678 (bfd_mach_o_scan_start_address): Handle LC_MAIN.
680 2013-01-31 Alan Modra <amodra@gmail.com>
681 David S. Miller <davem@davemloft.net>
684 * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit
685 references to __tls_get_addr.
686 * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct
687 vtinherit and vtentry reloc handling too.
688 * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.
690 2013-01-31 Alan Modra <amodra@gmail.com>
692 * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0".
694 2013-01-31 Alan Modra <amodra@gmail.com>
696 * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
698 2013-01-28 Alan Modra <amodra@gmail.com>
700 * elf64-ppc.c: Use %T to print symbols names and remove redundant
701 "relocation" in error messages throughout file.
702 (ppc64_elf_relocate_section): Remove sibling call error message,
703 replace with "call lacks nop". Specially report errors for
704 branches to function entry points via OPD lookup and branches
705 to stubs. Remove NULL symbol handling now done by %T.
707 2013-01-28 Alan Modra <amodra@gmail.com>
709 * archive.c (bfd_generic_archive_p): Return target and keep
710 ardata on partial matches.
711 * format.c (bfd_check_format_matches): Adjust for above
712 change. Remove bfd_error_file_ambiguously_recognized dead
715 2013-01-26 Alan Modra <amodra@gmail.com>
717 * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,
718 bfd_preserve_finish): Move to..
719 * format.c: ..here, splitting out..
720 (bfd_reinit): ..this. New function.
721 (bfd_check_format_matches): Use bfd_preserve_save/restore to
722 keep bfd state for a match.
723 * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
724 * elfcore.h (elf_core_file_p): Likewise.
725 * mach-o.c (bfd_mach_o_header_p): Likewise.
726 * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
727 * xsym.c (bfd_sym_object_p): Likewise.
728 * mmo.c (mmo_scan): Clear abfd->symcount.
729 * opncls.c (_bfd_new_bfd): Use a smaller section hash table.
730 * section.c (bfd_section_list_clear): Clear section_htab.count.
731 * bfd-in2.h: Regenerate.
733 2013-01-25 Michael Schewe <michael.schewe@gmx.net>
735 * elf32-h8300.c (elf32_h8_relax_section): When checking for a
736 second reloc, make sure that the reloc potentially exists first.
738 2013-01-24 Nick Clifton <nickc@redhat.com>
740 * archures.c: Add bfd_mach_v850e3v5.
741 * bfd-in2.h: Regenerate.
742 * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
743 * cpu-v850_rh850.c: Likewise.
744 * elf32-v850.c: Add support for v850e3v5 architecture.
746 2013-01-23 Markos Chandras <markos.chandras@imgtec.com>
748 * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
750 2013-01-23 Leif Ekblad <leif@rdos.net>
752 * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
754 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
756 * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
758 (elf_i386_relocate_section): Resolve size relocation against
760 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
761 for non-zero TLS symbol.
762 (elf_x86_64_relocate_section): Resolve size relocation against
765 2013-01-18 Mike Frysinger <vapier@gentoo.org>
767 * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
768 when new_dtags is false. Only add DT_RUNPATH when new_dtags is
771 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
773 * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
774 PC-relative relocation.
775 * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
776 as PC-relative relocation.
778 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
780 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
782 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
784 * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
785 and R_X86_64_SIZE64 check.
786 (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
789 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
791 * bfd-in2.h: Regenerated.
792 * libbfd.h: Likewise.
794 * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
795 (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
796 (elf_i386_check_relocs): Handle R_386_SIZE32.
797 (elf_i386_gc_sweep_hook): Likewise.
798 (elf_i386_relocate_section): Likewise.
800 * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
801 and R_X86_64_SIZE64 entries.
802 (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
803 (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
804 (elf_x86_64_reloc_name_lookup): Likewise.
805 (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
807 (elf_x86_64_gc_sweep_hook): Likewise.
808 (elf_x86_64_relocate_section): Likewise.
810 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
813 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
815 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
816 with R_X86_64_RELATIVE64.
818 2013-01-15 Nick Clifton <nickc@redhat.com>
820 * elf32-msp430.c: Fix spelling typo.
822 2013-01-15 Alan Modra <amodra@gmail.com>
824 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
827 2013-01-14 Alan Modra <amodra@gmail.com>
830 * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
831 (memory_bclose): Likewise. Return 0 on success.
832 * cache.c (cache_bclose): Likewise.
833 * opncls.c (opncls_bclose, bfd_close): Likewise.
834 * vms-lib.c (vms_lib_bclose): Likewise.
835 * libbfd.h: Regenerate.
837 2013-01-13 Alan Modra <amodra@gmail.com>
839 * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
840 Add ref_dynamic_nonweak.
841 * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
842 (_bfd_elf_merge_symbol): Don't call above function. Move
843 setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
845 (elf_link_add_object_symbols): Delete redundant "override" test.
846 Don't set dynamic_def here.
847 (elf_link_output_extsym): Update.
849 2013-01-12 H.J. Lu <hongjiu.lu@intel.com>
851 * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
852 normal and TLS symbol access.
853 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
855 2013-01-12 Alan Modra <amodra@gmail.com>
857 * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
858 * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
859 * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
861 2013-01-12 Alan Modra <amodra@gmail.com>
864 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
865 (_bfd_elf_strtab_clear_all_refs): Define.
866 * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
867 (_bfd_elf_strtab_clear_all_refs): Delete.
868 * elflink.c (elf_link_add_object_symbols): Clear out added
869 strtab refs. Correct handling of warning common symbols.
871 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
873 * aout0.c: Remove trailing white spaces.
874 * archive.c: Likewise.
875 * archures.c: Likewise.
876 * bfd-in.h: Likewise.
877 * bfd-in2.h: Likewise.
878 * coff-alpha.c: Likewise.
879 * coff-i860.c: Likewise.
880 * coff-mips.c: Likewise.
881 * coff-ppc.c: Likewise.
882 * coff-tic80.c: Likewise.
883 * coff-x86_64.c: Likewise.
884 * coff-z80.c: Likewise.
885 * coffcode.h: Likewise.
886 * coffgen.c: Likewise.
887 * cofflink.c: Likewise.
888 * compress.c: Likewise.
889 * corefile.c: Likewise.
890 * cpu-arm.c: Likewise.
891 * cpu-avr.c: Likewise.
892 * cpu-bfin.c: Likewise.
893 * cpu-cr16.c: Likewise.
894 * cpu-cr16c.c: Likewise.
895 * cpu-crx.c: Likewise.
896 * cpu-h8300.c: Likewise.
897 * cpu-i386.c: Likewise.
898 * cpu-lm32.c: Likewise.
899 * cpu-m68k.c: Likewise.
900 * cpu-moxie.c: Likewise.
901 * cpu-msp430.c: Likewise.
902 * cpu-sh.c: Likewise.
903 * cpu-xc16x.c: Likewise.
904 * dwarf2.c: Likewise.
905 * ecofflink.c: Likewise.
906 * ecoffswap.h: Likewise.
907 * elf-ifunc.c: Likewise.
908 * elf-m10300.c: Likewise.
909 * elf-vxworks.c: Likewise.
910 * elf32-avr.c: Likewise.
911 * elf32-avr.h: Likewise.
912 * elf32-cr16.c: Likewise.
913 * elf32-cr16c.c: Likewise.
914 * elf32-cris.c: Likewise.
915 * elf32-crx.c: Likewise.
916 * elf32-frv.c: Likewise.
917 * elf32-hppa.c: Likewise.
918 * elf32-i860.c: Likewise.
919 * elf32-ip2k.c: Likewise.
920 * elf32-iq2000.c: Likewise.
921 * elf32-m32c.c: Likewise.
922 * elf32-m68hc1x.c: Likewise.
923 * elf32-msp430.c: Likewise.
924 * elf32-mt.c: Likewise.
925 * elf32-ppc.c: Likewise.
926 * elf32-rl78.c: Likewise.
927 * elf32-s390.c: Likewise.
928 * elf32-score.h: Likewise.
929 * elf32-sh-symbian.c: Likewise.
930 * elf32-sh.c: Likewise.
931 * elf32-spu.c: Likewise.
932 * elf32-tic6x.c: Likewise.
933 * elf32-v850.c: Likewise.
934 * elf32-xc16x.c: Likewise.
935 * elf32-xtensa.c: Likewise.
936 * elf64-alpha.c: Likewise.
937 * elf64-hppa.c: Likewise.
938 * elf64-ppc.c: Likewise.
939 * elf64-s390.c: Likewise.
940 * elfcore.h: Likewise.
941 * elflink.c: Likewise.
942 * elfxx-mips.c: Likewise.
943 * elfxx-sparc.c: Likewise.
944 * elfxx-tilegx.c: Likewise.
946 * libcoff.h: Likewise.
947 * libpei.h: Likewise.
948 * libxcoff.h: Likewise.
949 * linker.c: Likewise.
950 * mach-o-i386.c: Likewise.
951 * mach-o-target.c: Likewise.
952 * mach-o.c: Likewise.
953 * mach-o.h: Likewise.
955 * opncls.c: Likewise.
957 * pe-x86_64.c: Likewise.
958 * peXXigen.c: Likewise.
959 * pef-traceback.h: Likewise.
960 * pei-x86_64.c: Likewise.
961 * peicode.h: Likewise.
962 * plugin.c: Likewise.
964 * riscix.c: Likewise.
965 * section.c: Likewise.
968 * tekhex.c: Likewise.
969 * ticoff.h: Likewise.
970 * vaxbsd.c: Likewise.
971 * xcofflink.c: Likewise.
972 * xtensa-isa.c: Likewise.
974 2013-01-10 Will Newton <will.newton@imgtec.com>
976 * Makefile.am: Add Meta.
977 * Makefile.in: Regenerate.
978 * archures.c (bfd_mach_metag): New.
979 * bfd-in2.h: Regenerate.
980 * config.bfd: Add Meta.
981 * configure: Regenerate.
982 * configure.in: Add Meta.
983 * cpu-metag.c: New file.
984 * elf-bfd.h: Add Meta.
985 * elf32-metag.c: New file.
986 * elf32-metag.h: New file.
987 * libbfd.h: Regenerate.
988 * reloc.c: Add Meta relocations.
989 * targets.c: Add Meta.
991 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
993 * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
994 (elfcore_write_aarch_hw_break): Likewise.
995 (elfcore_write_aarch_hw_watch): Likewise.
996 * elf.c (elfcore_grok_aarch_tls): New function.
997 (elfcore_grok_aarch_hw_break): Likewise.
998 (elfcore_grok_aarch_hw_watch): Likewise.
999 (elfcore_grok_note): Call the new functions to handle the
1000 corresponding notes.
1001 (elfcore_write_aarch_tls): New function.
1002 (elfcore_write_aarch_hw_break): Likewise.
1003 (elfcore_write_aarch_hw_watch): Likewise.
1004 (elfcore_write_register_note): Call the new functions to handle the
1005 corresponding pseudo sections.
1007 2013-01-07 Tom Tromey <tromey@redhat.com>
1009 * section.c (_bfd_std_section): Rename from std_section.
1010 (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
1011 (STD_SECTION): Update.
1012 * bfd-in2.h: Rebuild.
1014 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
1016 * archures.c (bfd_mach_mips5900): Define.
1017 * bfd-in2.h: Regenerate.
1018 * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
1019 * cpu-mips.c: Add support for MIPS r5900.
1020 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
1022 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
1023 Nick Clifton <nickc@redhat.com>
1025 * elflink.c (get_value): Prevent the use of an undefined shift
1026 operation. Add sanity checks.
1028 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
1030 * config.bfd (cr16*-*-uclinux*): New target support.
1033 For older changes see ChangeLog-2012
1035 Copyright (C) 2013 Free Software Foundation, Inc.
1037 Copying and distribution of this file, with or without modification,
1038 are permitted in any medium without royalty provided the copyright
1039 notice and this notice are preserved.
1045 version-control: never