Add support for V850E3V5 architecture
[platform/upstream/binutils.git] / bfd / ChangeLog
1 2013-01-24  Nick Clifton  <nickc@redhat.com>
2
3         * archures.c: Add bfd_mach_v850e3v5.
4         * bfd-in2.h: Regenerate.
5         * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
6         * cpu-v850_rh850.c: Likewise.
7         * elf32-v850.c: Add support for v850e3v5 architecture.
8
9 2013-01-23  Markos Chandras  <markos.chandras@imgtec.com>
10
11         * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
12
13 2013-01-23  Leif Ekblad  <leif@rdos.net>
14
15         * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
16
17 2013-01-18  H.J. Lu  <hongjiu.lu@intel.com>
18
19         * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
20         non-zero TLS symbol.
21         (elf_i386_relocate_section): Resolve size relocation against
22         non-zero TLS symbol.
23         * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
24         for non-zero TLS symbol.
25         (elf_x86_64_relocate_section): Resolve size relocation against
26         non-zero TLS symbol.
27
28 2013-01-18  Mike Frysinger  <vapier@gentoo.org>
29
30         * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
31         when new_dtags is false.  Only add DT_RUNPATH when new_dtags is
32         true.
33
34 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35
36         * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
37         PC-relative relocation.
38         * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
39         as PC-relative relocation.
40
41 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
42
43         * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
44         check.
45         (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
46
47         * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
48         and R_X86_64_SIZE64 check.
49         (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
50         nor R_X86_64_SIZE64.
51
52 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
53
54         * bfd-in2.h: Regenerated.
55         * libbfd.h: Likewise.
56
57         * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
58         (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
59         (elf_i386_check_relocs): Handle R_386_SIZE32.
60         (elf_i386_gc_sweep_hook): Likewise.
61         (elf_i386_relocate_section): Likewise.
62
63         * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
64         and R_X86_64_SIZE64 entries.
65         (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
66         (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
67         (elf_x86_64_reloc_name_lookup): Likewise.
68         (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
69         R_X86_64_SIZE64.
70         (elf_x86_64_gc_sweep_hook): Likewise.
71         (elf_x86_64_relocate_section): Likewise.
72
73         * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
74         BFD_RELOC_SIZE64.
75
76 2013-01-15  H.J. Lu  <hongjiu.lu@intel.com>
77
78         * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
79         with R_X86_64_RELATIVE64.
80
81 2013-01-15  Nick Clifton  <nickc@redhat.com>
82
83         * elf32-msp430.c: Fix spelling typo.
84
85 2013-01-15  Alan Modra  <amodra@gmail.com>
86
87         * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
88         plt-thread-safe.
89
90 2013-01-14  Alan Modra  <amodra@gmail.com>
91
92         PR binutils/14813
93         * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
94         (memory_bclose): Likewise.  Return 0 on success.
95         * cache.c (cache_bclose): Likewise.
96         * opncls.c (opncls_bclose, bfd_close): Likewise.
97         * vms-lib.c (vms_lib_bclose): Likewise.
98         * libbfd.h: Regenerate.
99
100 2013-01-13  Alan Modra  <amodra@gmail.com>
101
102         * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
103         Add ref_dynamic_nonweak.
104         * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
105         (_bfd_elf_merge_symbol): Don't call above function.  Move
106         setting of ref_dynamic_nonweak and dynamic_def earlier.  Don't
107         clear dynamic_def.
108         (elf_link_add_object_symbols): Delete redundant "override" test.
109         Don't set dynamic_def here.
110         (elf_link_output_extsym): Update.
111
112 2013-01-12  H.J. Lu  <hongjiu.lu@intel.com>
113
114         * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
115         normal and TLS symbol access.
116         * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
117
118 2013-01-12  Alan Modra  <amodra@gmail.com>
119
120         * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
121         * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
122         * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
123
124 2013-01-12  Alan Modra  <amodra@gmail.com>
125
126         PR ld/12549
127         * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
128         (_bfd_elf_strtab_clear_all_refs): Define.
129         * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
130         (_bfd_elf_strtab_clear_all_refs): Delete.
131         * elflink.c (elf_link_add_object_symbols): Clear out added
132         strtab refs.  Correct handling of warning common symbols.
133
134 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
135
136         * aout0.c: Remove trailing white spaces.
137         * archive.c: Likewise.
138         * archures.c: Likewise.
139         * bfd-in.h: Likewise.
140         * bfd-in2.h: Likewise.
141         * coff-alpha.c: Likewise.
142         * coff-i860.c: Likewise.
143         * coff-mips.c: Likewise.
144         * coff-ppc.c: Likewise.
145         * coff-tic80.c: Likewise.
146         * coff-x86_64.c: Likewise.
147         * coff-z80.c: Likewise.
148         * coffcode.h: Likewise.
149         * coffgen.c: Likewise.
150         * cofflink.c: Likewise.
151         * compress.c: Likewise.
152         * corefile.c: Likewise.
153         * cpu-arm.c: Likewise.
154         * cpu-avr.c: Likewise.
155         * cpu-bfin.c: Likewise.
156         * cpu-cr16.c: Likewise.
157         * cpu-cr16c.c: Likewise.
158         * cpu-crx.c: Likewise.
159         * cpu-h8300.c: Likewise.
160         * cpu-i386.c: Likewise.
161         * cpu-lm32.c: Likewise.
162         * cpu-m68k.c: Likewise.
163         * cpu-moxie.c: Likewise.
164         * cpu-msp430.c: Likewise.
165         * cpu-sh.c: Likewise.
166         * cpu-xc16x.c: Likewise.
167         * dwarf2.c: Likewise.
168         * ecofflink.c: Likewise.
169         * ecoffswap.h: Likewise.
170         * elf-ifunc.c: Likewise.
171         * elf-m10300.c: Likewise.
172         * elf-vxworks.c: Likewise.
173         * elf32-avr.c: Likewise.
174         * elf32-avr.h: Likewise.
175         * elf32-cr16.c: Likewise.
176         * elf32-cr16c.c: Likewise.
177         * elf32-cris.c: Likewise.
178         * elf32-crx.c: Likewise.
179         * elf32-frv.c: Likewise.
180         * elf32-hppa.c: Likewise.
181         * elf32-i860.c: Likewise.
182         * elf32-ip2k.c: Likewise.
183         * elf32-iq2000.c: Likewise.
184         * elf32-m32c.c: Likewise.
185         * elf32-m68hc1x.c: Likewise.
186         * elf32-msp430.c: Likewise.
187         * elf32-mt.c: Likewise.
188         * elf32-ppc.c: Likewise.
189         * elf32-rl78.c: Likewise.
190         * elf32-s390.c: Likewise.
191         * elf32-score.h: Likewise.
192         * elf32-sh-symbian.c: Likewise.
193         * elf32-sh.c: Likewise.
194         * elf32-spu.c: Likewise.
195         * elf32-tic6x.c: Likewise.
196         * elf32-v850.c: Likewise.
197         * elf32-xc16x.c: Likewise.
198         * elf32-xtensa.c: Likewise.
199         * elf64-alpha.c: Likewise.
200         * elf64-hppa.c: Likewise.
201         * elf64-ppc.c: Likewise.
202         * elf64-s390.c: Likewise.
203         * elfcore.h: Likewise.
204         * elflink.c: Likewise.
205         * elfxx-mips.c: Likewise.
206         * elfxx-sparc.c: Likewise.
207         * elfxx-tilegx.c: Likewise.
208         * ieee.c: Likewise.
209         * libcoff.h: Likewise.
210         * libpei.h: Likewise.
211         * libxcoff.h: Likewise.
212         * linker.c: Likewise.
213         * mach-o-i386.c: Likewise.
214         * mach-o-target.c: Likewise.
215         * mach-o.c: Likewise.
216         * mach-o.h: Likewise.
217         * mmo.c: Likewise.
218         * opncls.c: Likewise.
219         * pdp11.c: Likewise.
220         * pe-x86_64.c: Likewise.
221         * peXXigen.c: Likewise.
222         * pef-traceback.h: Likewise.
223         * pei-x86_64.c: Likewise.
224         * peicode.h: Likewise.
225         * plugin.c: Likewise.
226         * reloc.c: Likewise.
227         * riscix.c: Likewise.
228         * section.c: Likewise.
229         * som.c: Likewise.
230         * syms.c: Likewise.
231         * tekhex.c: Likewise.
232         * ticoff.h: Likewise.
233         * vaxbsd.c: Likewise.
234         * xcofflink.c: Likewise.
235         * xtensa-isa.c: Likewise.
236
237 2013-01-10  Will Newton <will.newton@imgtec.com>
238
239         * Makefile.am: Add Meta.
240         * Makefile.in: Regenerate.
241         * archures.c (bfd_mach_metag): New.
242         * bfd-in2.h: Regenerate.
243         * config.bfd: Add Meta.
244         * configure: Regenerate.
245         * configure.in: Add Meta.
246         * cpu-metag.c: New file.
247         * elf-bfd.h: Add Meta.
248         * elf32-metag.c: New file.
249         * elf32-metag.h: New file.
250         * libbfd.h: Regenerate.
251         * reloc.c: Add Meta relocations.
252         * targets.c: Add Meta.
253
254 2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
255
256         * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
257         (elfcore_write_aarch_hw_break): Likewise.
258         (elfcore_write_aarch_hw_watch): Likewise.
259         * elf.c (elfcore_grok_aarch_tls): New function.
260         (elfcore_grok_aarch_hw_break): Likewise.
261         (elfcore_grok_aarch_hw_watch): Likewise.
262         (elfcore_grok_note): Call the new functions to handle the
263         corresponding notes.
264         (elfcore_write_aarch_tls): New function.
265         (elfcore_write_aarch_hw_break): Likewise.
266         (elfcore_write_aarch_hw_watch): Likewise.
267         (elfcore_write_register_note): Call the new functions to handle the
268         corresponding pseudo sections.
269
270 2013-01-07  Tom Tromey  <tromey@redhat.com>
271
272         * section.c (_bfd_std_section): Rename from std_section.
273         (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
274         (STD_SECTION): Update.
275         * bfd-in2.h: Rebuild.
276
277 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
278
279         * archures.c (bfd_mach_mips5900): Define.
280         * bfd-in2.h: Regenerate.
281         * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
282         * cpu-mips.c: Add support for MIPS r5900.
283         * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
284
285 2013-01-03  Nickolai Zeldovich  <nickolai@csail.mit.edu>
286             Nick Clifton  <nickc@redhat.com>
287
288         * elflink.c (get_value): Prevent the use of an undefined shift
289         operation.  Add sanity checks.
290
291 2013-01-02  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
292
293         * config.bfd (cr16*-*-uclinux*): New target support.
294
295
296 For older changes see ChangeLog-2012
297 \f
298 Copyright (C) 2013 Free Software Foundation, Inc.
299
300 Copying and distribution of this file, with or without modification,
301 are permitted in any medium without royalty provided the copyright
302 notice and this notice are preserved.
303
304 Local Variables:
305 mode: change-log
306 left-margin: 8
307 fill-column: 74
308 version-control: never
309 End: