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