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