bfd/
[platform/upstream/binutils.git] / bfd / ChangeLog
1 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
2
3         * elfxx-mips.c (mips_elf_multi_got_entry_hash): Rename to...
4         (mips_elf_got_entry_hash): ...this, deleting the old version.
5         (mips_elf_create_got_info): Use mips_elf_got_entry_hash for
6         both types of GOT.
7
8 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
9
10         * elfxx-mips.c (mips_elf_create_got_info): New function.
11         (mips_elf_get_got_for_bfd, mips_elf_multi_got): Use it.
12         (mips_elf_create_got_section): Likewise.
13
14 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
15
16         * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set
17         gotidx to -1.
18
19 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
20
21         * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation.
22
23 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
24
25         * elfxx-mips.c (mips_got_info): Move global_gotsym to...
26         (mips_elf_link_hash_table): ...here.  Update rest of file accordingly.
27
28 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
29
30         * elfxx-mips.c (mips_elf_count_global_tls_entries)
31         (mips_elf_count_global_tls_relocs): Don't count indirect or
32         warning symbols.
33         (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right
34         number of TLS entries were allocated.
35
36 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
37
38         * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.
39
40 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
41
42         * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count
43         if there are TLS relocations.
44
45 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
46
47         * elfxx-mips.c (mips_elf_recreate_got): Remove free.
48         (mips_elf_resolve_final_got_entries): Remove bogus comment.
49
50 2013-02-10  Alan Modra  <amodra@gmail.com>
51
52         * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc.
53         * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
54         * m68klinux.c (linux_link_hash_table_create): Likewise.
55         * sparclinux.c (linux_link_hash_table_create): Likewise.
56         * sunos.c (sunos_link_hash_table_create): Likewise.
57         * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.
58         * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
59         * elf32-arm.c (elf32_arm_link_hash_table_create): Likewise.
60         * elf32-avr.c (elf32_avr_link_hash_table_create): Likewise.
61         * elf32-cr16.c (elf32_cr16_link_hash_table_create): Likewise.
62         * elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
63         * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
64         * elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
65         * elf32-lm32.c (lm32_elf_link_hash_table_create): Likewise.
66         * elf32-m32r.c (m32r_elf_link_hash_table_create): Likewise.
67         * elf32-m68hc1x.c (m68hc11_elf_hash_table_create): Likewise.
68         * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
69         * elf32-metag.c (elf_metag_link_hash_table_create): Likewise.
70         * elf32-nios2.c (nios2_elf32_link_hash_table_create): Likewise.
71         * elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
72         * elf32-score.c (elf32_score_link_hash_table_create): Likewise.
73         * elf32-spu.c (spu_elf_link_hash_table_create): Likewise.
74         * elf32-tic6x.c (elf32_tic6x_link_hash_table_create): Likewise.
75         * elf32-vax.c (elf_vax_link_hash_table_create): Likewise.
76         * elf32-xgate.c (xgate_elf_bfd_link_hash_table_create): Likewise.
77         * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Likewise.
78         * elf64-aarch64.c (elf64_aarch64_link_hash_table_create): Likewise.
79         * elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
80         * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
81         * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Likewise.
82         * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
83         * elflink.c (_bfd_elf_link_hash_table_create): Likewise.
84         (_bfd_elf_link_hash_table_init): Assume zero fill table on entry.
85
86 2013-02-10  Alan Modra  <amodra@gmail.com>
87
88         * i386linux.c (linux_link_hash_table_create): Allocate table
89         with bfd_zmalloc, not bfd_alloc.
90         * pdp11.c (link_hash_table_create): Allocate table with
91         bfd_malloc, not bfd_alloc.
92         * elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table
93         with bfd_zmalloc, not bfd_zalloc.
94         (bfin_link_hash_table_create): Likewise.
95         * elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise.
96         * elf64-hppa.c (elf64_hppa_hash_table_create): Likewise.
97
98 2013-02-10  Alan Modra  <amodra@gmail.com>
99
100         PR ld/15113
101         * elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc.
102
103 2013-02-08  Markos Chandras  <markos.chandras@imgtec.com>
104
105         * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED
106         sections.
107         (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss
108         symbol.
109
110 2013-02-08  Yufeng Zhang  <yufeng.zhang@arm.com>
111
112         * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from
113         288 to 272.
114
115 2013-02-08  Alan Modra  <amodra@gmail.com>
116
117         PR binutils/15106
118         * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache.
119         * elf.c (elf_find_function): Revert last change.  Use new
120         tdata field rather than static vars for cache.
121
122 2013-02-07  H.J. Lu  <hongjiu.lu@intel.com>
123
124         PR ld/15107
125         * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if
126         symbol is defined in regular object.
127
128 2013-02-07  Roberto Agostino Vitillo  <ra.vitillo@gmail.com>
129
130         PR binutils/15106
131         * elf.c (elf_find_function): Don't cache if symbols change.
132
133 2013-02-07  Alan Modra  <amodra@gmail.com>
134
135         PR binutils/14873
136         * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to
137         copy attributes from or to non-ELF.
138
139 2013-02-06  H.J. Lu  <hongjiu.lu@intel.com>
140
141         * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count
142         for non-zero TLS symbol.
143         (elf_i386_relocate_section): Don't resolve size relocation against
144         non-zero TLS symbol.
145         * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear
146         pc_count for non-zero TLS symbol.
147         (elf_x86_64_relocate_section): Don't resolve size relocation
148         against non-zero TLS symbol.
149
150 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
151             Andrew Jenner <andrew@codesourcery.com>
152
153         Based on patches from Altera Corporation.
154
155         * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo.
156         (ALL_MACHINES_CFILES): Add cpu-nios2.c.
157         (BFD_BACKENDS): Add elf32-nios2.lo.
158         (BFD32_BACKENDS_CFILES): Add elf32-nios2.c.
159         * Makefile.in: Regenerated.
160         * configure.in: Add entries for bfd_elf32_bignios2_vec and
161         bfd_elf32_littlenios2_vec.
162         * configure: Regenerated.
163         * config.bfd: Add cases for nios2.
164         * archures.c (enum bfd_architecture): Add bfd_arch_nios2.
165         (bfd_mach_nios2): Define.
166         (bfd_nios2_arch): Declare.
167         (bfd_archures_list): Add bfd_nios2_arch.
168         * targets.c (bfd_elf32_bignios2_vec): Declare.
169         (bfd_elf32_littlenios2_vec): Declare.
170         (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and
171         bfd_elf32_littlenios2_vec.
172         * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA.
173         * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations.
174         * bfd-in2.h: Regenerated.
175         * libbfd.h: Regenerated.
176         * cpu-nios2.c: New file.
177         * elf32-nios2.c: New file.
178
179 2013-02-06  Alan Modra  <amodra@gmail.com>
180
181         * elf32-arm.c (elf32_arm_final_link_relocate): Only test for
182         stubs in stub_bfd.
183
184 2013-02-06  Alan Modra  <amodra@gmail.com>
185
186         * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'.
187         * Makefile.in: Regenerate.
188
189 2013-02-04  Sergio Durigan Junior  <sergiodj@redhat.com>
190             Pedro Alves  <palves@redhat.com>
191
192         * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'.
193         * elf-bfd.h (elf_internal_linux_prpsinfo): New structure
194         declaration.
195         (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64)
196         (elfcore_write_ppc32_linux_prpsinfo32): New declarations.
197         * elf-linux-psinfo.h: New file.
198         * elf.c: Include elf-linux-psinfo.h.
199         (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64):
200         New functions.
201         * elf32-ppc.c: Include `elf-linux-psinfo.h'.
202         (elf_external_ppc_linux_prpsinfo32): New structure declaration.
203         (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro.
204         (elfcore_write_ppc_linux_prpsinfo32): New function.
205
206 2013-02-04  Tristan Gingold  <gingold@adacore.com>
207
208         * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no
209         start address.
210
211 2013-02-04  Alan Modra  <amodra@gmail.com>
212
213         * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.
214         (BFD64_BACKENDS_CFILES): Remove elf-nacl.c.
215         * Makefile.in: Regenerate.
216         * po/SRC-POTFILES.in: Regenerate.
217
218 2013-02-04  Alan Modra  <amodra@gmail.com>
219
220         * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete.
221         * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
222
223 2013-02-01  Alan Modra  <amodra@gmail.com>
224
225         * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
226         clears def_regular.
227
228 2013-01-31  Tristan Gingold  <gingold@adacore.com>
229
230         * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections
231         earlier.  Fix status checking of bfd_mach_o_scan_start_address.
232         (bfd_mach_o_scan_start_address): Handle LC_MAIN.
233
234 2013-01-31  Alan Modra  <amodra@gmail.com>
235             David S. Miller  <davem@davemloft.net>
236
237         PR ld/15056
238         * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit
239         references to __tls_get_addr.
240         * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise.  Correct
241         vtinherit and vtentry reloc handling too.
242         * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.
243
244 2013-01-31  Alan Modra  <amodra@gmail.com>
245
246         * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0".
247
248 2013-01-31  Alan Modra  <amodra@gmail.com>
249
250         * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
251
252 2013-01-28  Alan Modra  <amodra@gmail.com>
253
254         * elf64-ppc.c: Use %T to print symbols names and remove redundant
255         "relocation" in error messages throughout file.
256         (ppc64_elf_relocate_section): Remove sibling call error message,
257         replace with "call lacks nop".  Specially report errors for
258         branches to function entry points via OPD lookup and branches
259         to stubs.  Remove NULL symbol handling now done by %T.
260
261 2013-01-28  Alan Modra  <amodra@gmail.com>
262
263         * archive.c (bfd_generic_archive_p): Return target and keep
264         ardata on partial matches.
265         * format.c (bfd_check_format_matches): Adjust for above
266         change.  Remove bfd_error_file_ambiguously_recognized dead
267         code.
268
269 2013-01-26  Alan Modra  <amodra@gmail.com>
270
271         * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,
272         bfd_preserve_finish): Move to..
273         * format.c: ..here, splitting out..
274         (bfd_reinit): ..this.  New function.
275         (bfd_check_format_matches): Use bfd_preserve_save/restore to
276         keep bfd state for a match.
277         * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
278         * elfcore.h (elf_core_file_p): Likewise.
279         * mach-o.c (bfd_mach_o_header_p): Likewise.
280         * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
281         * xsym.c (bfd_sym_object_p): Likewise.
282         * mmo.c (mmo_scan): Clear abfd->symcount.
283         * opncls.c (_bfd_new_bfd): Use a smaller section hash table.
284         * section.c (bfd_section_list_clear): Clear section_htab.count.
285         * bfd-in2.h: Regenerate.
286
287 2013-01-25  Michael Schewe  <michael.schewe@gmx.net>
288
289         * elf32-h8300.c (elf32_h8_relax_section): When checking for a
290         second reloc, make sure that the reloc potentially exists first.
291
292 2013-01-24  Nick Clifton  <nickc@redhat.com>
293
294         * archures.c: Add bfd_mach_v850e3v5.
295         * bfd-in2.h: Regenerate.
296         * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
297         * cpu-v850_rh850.c: Likewise.
298         * elf32-v850.c: Add support for v850e3v5 architecture.
299
300 2013-01-23  Markos Chandras  <markos.chandras@imgtec.com>
301
302         * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
303
304 2013-01-23  Leif Ekblad  <leif@rdos.net>
305
306         * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
307
308 2013-01-18  H.J. Lu  <hongjiu.lu@intel.com>
309
310         * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
311         non-zero TLS symbol.
312         (elf_i386_relocate_section): Resolve size relocation against
313         non-zero TLS symbol.
314         * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
315         for non-zero TLS symbol.
316         (elf_x86_64_relocate_section): Resolve size relocation against
317         non-zero TLS symbol.
318
319 2013-01-18  Mike Frysinger  <vapier@gentoo.org>
320
321         * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
322         when new_dtags is false.  Only add DT_RUNPATH when new_dtags is
323         true.
324
325 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
326
327         * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
328         PC-relative relocation.
329         * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
330         as PC-relative relocation.
331
332 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
333
334         * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
335         check.
336         (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
337
338         * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
339         and R_X86_64_SIZE64 check.
340         (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
341         nor R_X86_64_SIZE64.
342
343 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
344
345         * bfd-in2.h: Regenerated.
346         * libbfd.h: Likewise.
347
348         * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
349         (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
350         (elf_i386_check_relocs): Handle R_386_SIZE32.
351         (elf_i386_gc_sweep_hook): Likewise.
352         (elf_i386_relocate_section): Likewise.
353
354         * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
355         and R_X86_64_SIZE64 entries.
356         (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
357         (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
358         (elf_x86_64_reloc_name_lookup): Likewise.
359         (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
360         R_X86_64_SIZE64.
361         (elf_x86_64_gc_sweep_hook): Likewise.
362         (elf_x86_64_relocate_section): Likewise.
363
364         * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
365         BFD_RELOC_SIZE64.
366
367 2013-01-15  H.J. Lu  <hongjiu.lu@intel.com>
368
369         * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
370         with R_X86_64_RELATIVE64.
371
372 2013-01-15  Nick Clifton  <nickc@redhat.com>
373
374         * elf32-msp430.c: Fix spelling typo.
375
376 2013-01-15  Alan Modra  <amodra@gmail.com>
377
378         * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
379         plt-thread-safe.
380
381 2013-01-14  Alan Modra  <amodra@gmail.com>
382
383         PR binutils/14813
384         * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
385         (memory_bclose): Likewise.  Return 0 on success.
386         * cache.c (cache_bclose): Likewise.
387         * opncls.c (opncls_bclose, bfd_close): Likewise.
388         * vms-lib.c (vms_lib_bclose): Likewise.
389         * libbfd.h: Regenerate.
390
391 2013-01-13  Alan Modra  <amodra@gmail.com>
392
393         * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
394         Add ref_dynamic_nonweak.
395         * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
396         (_bfd_elf_merge_symbol): Don't call above function.  Move
397         setting of ref_dynamic_nonweak and dynamic_def earlier.  Don't
398         clear dynamic_def.
399         (elf_link_add_object_symbols): Delete redundant "override" test.
400         Don't set dynamic_def here.
401         (elf_link_output_extsym): Update.
402
403 2013-01-12  H.J. Lu  <hongjiu.lu@intel.com>
404
405         * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
406         normal and TLS symbol access.
407         * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
408
409 2013-01-12  Alan Modra  <amodra@gmail.com>
410
411         * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
412         * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
413         * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
414
415 2013-01-12  Alan Modra  <amodra@gmail.com>
416
417         PR ld/12549
418         * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
419         (_bfd_elf_strtab_clear_all_refs): Define.
420         * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
421         (_bfd_elf_strtab_clear_all_refs): Delete.
422         * elflink.c (elf_link_add_object_symbols): Clear out added
423         strtab refs.  Correct handling of warning common symbols.
424
425 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
426
427         * aout0.c: Remove trailing white spaces.
428         * archive.c: Likewise.
429         * archures.c: Likewise.
430         * bfd-in.h: Likewise.
431         * bfd-in2.h: Likewise.
432         * coff-alpha.c: Likewise.
433         * coff-i860.c: Likewise.
434         * coff-mips.c: Likewise.
435         * coff-ppc.c: Likewise.
436         * coff-tic80.c: Likewise.
437         * coff-x86_64.c: Likewise.
438         * coff-z80.c: Likewise.
439         * coffcode.h: Likewise.
440         * coffgen.c: Likewise.
441         * cofflink.c: Likewise.
442         * compress.c: Likewise.
443         * corefile.c: Likewise.
444         * cpu-arm.c: Likewise.
445         * cpu-avr.c: Likewise.
446         * cpu-bfin.c: Likewise.
447         * cpu-cr16.c: Likewise.
448         * cpu-cr16c.c: Likewise.
449         * cpu-crx.c: Likewise.
450         * cpu-h8300.c: Likewise.
451         * cpu-i386.c: Likewise.
452         * cpu-lm32.c: Likewise.
453         * cpu-m68k.c: Likewise.
454         * cpu-moxie.c: Likewise.
455         * cpu-msp430.c: Likewise.
456         * cpu-sh.c: Likewise.
457         * cpu-xc16x.c: Likewise.
458         * dwarf2.c: Likewise.
459         * ecofflink.c: Likewise.
460         * ecoffswap.h: Likewise.
461         * elf-ifunc.c: Likewise.
462         * elf-m10300.c: Likewise.
463         * elf-vxworks.c: Likewise.
464         * elf32-avr.c: Likewise.
465         * elf32-avr.h: Likewise.
466         * elf32-cr16.c: Likewise.
467         * elf32-cr16c.c: Likewise.
468         * elf32-cris.c: Likewise.
469         * elf32-crx.c: Likewise.
470         * elf32-frv.c: Likewise.
471         * elf32-hppa.c: Likewise.
472         * elf32-i860.c: Likewise.
473         * elf32-ip2k.c: Likewise.
474         * elf32-iq2000.c: Likewise.
475         * elf32-m32c.c: Likewise.
476         * elf32-m68hc1x.c: Likewise.
477         * elf32-msp430.c: Likewise.
478         * elf32-mt.c: Likewise.
479         * elf32-ppc.c: Likewise.
480         * elf32-rl78.c: Likewise.
481         * elf32-s390.c: Likewise.
482         * elf32-score.h: Likewise.
483         * elf32-sh-symbian.c: Likewise.
484         * elf32-sh.c: Likewise.
485         * elf32-spu.c: Likewise.
486         * elf32-tic6x.c: Likewise.
487         * elf32-v850.c: Likewise.
488         * elf32-xc16x.c: Likewise.
489         * elf32-xtensa.c: Likewise.
490         * elf64-alpha.c: Likewise.
491         * elf64-hppa.c: Likewise.
492         * elf64-ppc.c: Likewise.
493         * elf64-s390.c: Likewise.
494         * elfcore.h: Likewise.
495         * elflink.c: Likewise.
496         * elfxx-mips.c: Likewise.
497         * elfxx-sparc.c: Likewise.
498         * elfxx-tilegx.c: Likewise.
499         * ieee.c: Likewise.
500         * libcoff.h: Likewise.
501         * libpei.h: Likewise.
502         * libxcoff.h: Likewise.
503         * linker.c: Likewise.
504         * mach-o-i386.c: Likewise.
505         * mach-o-target.c: Likewise.
506         * mach-o.c: Likewise.
507         * mach-o.h: Likewise.
508         * mmo.c: Likewise.
509         * opncls.c: Likewise.
510         * pdp11.c: Likewise.
511         * pe-x86_64.c: Likewise.
512         * peXXigen.c: Likewise.
513         * pef-traceback.h: Likewise.
514         * pei-x86_64.c: Likewise.
515         * peicode.h: Likewise.
516         * plugin.c: Likewise.
517         * reloc.c: Likewise.
518         * riscix.c: Likewise.
519         * section.c: Likewise.
520         * som.c: Likewise.
521         * syms.c: Likewise.
522         * tekhex.c: Likewise.
523         * ticoff.h: Likewise.
524         * vaxbsd.c: Likewise.
525         * xcofflink.c: Likewise.
526         * xtensa-isa.c: Likewise.
527
528 2013-01-10  Will Newton <will.newton@imgtec.com>
529
530         * Makefile.am: Add Meta.
531         * Makefile.in: Regenerate.
532         * archures.c (bfd_mach_metag): New.
533         * bfd-in2.h: Regenerate.
534         * config.bfd: Add Meta.
535         * configure: Regenerate.
536         * configure.in: Add Meta.
537         * cpu-metag.c: New file.
538         * elf-bfd.h: Add Meta.
539         * elf32-metag.c: New file.
540         * elf32-metag.h: New file.
541         * libbfd.h: Regenerate.
542         * reloc.c: Add Meta relocations.
543         * targets.c: Add Meta.
544
545 2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
546
547         * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
548         (elfcore_write_aarch_hw_break): Likewise.
549         (elfcore_write_aarch_hw_watch): Likewise.
550         * elf.c (elfcore_grok_aarch_tls): New function.
551         (elfcore_grok_aarch_hw_break): Likewise.
552         (elfcore_grok_aarch_hw_watch): Likewise.
553         (elfcore_grok_note): Call the new functions to handle the
554         corresponding notes.
555         (elfcore_write_aarch_tls): New function.
556         (elfcore_write_aarch_hw_break): Likewise.
557         (elfcore_write_aarch_hw_watch): Likewise.
558         (elfcore_write_register_note): Call the new functions to handle the
559         corresponding pseudo sections.
560
561 2013-01-07  Tom Tromey  <tromey@redhat.com>
562
563         * section.c (_bfd_std_section): Rename from std_section.
564         (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
565         (STD_SECTION): Update.
566         * bfd-in2.h: Rebuild.
567
568 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
569
570         * archures.c (bfd_mach_mips5900): Define.
571         * bfd-in2.h: Regenerate.
572         * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
573         * cpu-mips.c: Add support for MIPS r5900.
574         * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
575
576 2013-01-03  Nickolai Zeldovich  <nickolai@csail.mit.edu>
577             Nick Clifton  <nickc@redhat.com>
578
579         * elflink.c (get_value): Prevent the use of an undefined shift
580         operation.  Add sanity checks.
581
582 2013-01-02  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
583
584         * config.bfd (cr16*-*-uclinux*): New target support.
585
586
587 For older changes see ChangeLog-2012
588 \f
589 Copyright (C) 2013 Free Software Foundation, Inc.
590
591 Copying and distribution of this file, with or without modification,
592 are permitted in any medium without royalty provided the copyright
593 notice and this notice are preserved.
594
595 Local Variables:
596 mode: change-log
597 left-margin: 8
598 fill-column: 74
599 version-control: never
600 End: