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