* Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2013-02-04 Alan Modra <amodra@gmail.com>
2
3 * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.
4 (BFD64_BACKENDS_CFILES): Remove elf-nacl.c.
5 * Makefile.in: Regenerate.
6 * po/SRC-POTFILES.in: Regenerate.
7
8 2013-02-04 Alan Modra <amodra@gmail.com>
9
10 * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete.
11 * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
12
13 2013-02-01 Alan Modra <amodra@gmail.com>
14
15 * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
16 clears def_regular.
17
18 2013-01-31 Tristan Gingold <gingold@adacore.com>
19
20 * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections
21 earlier. Fix status checking of bfd_mach_o_scan_start_address.
22 (bfd_mach_o_scan_start_address): Handle LC_MAIN.
23
24 2013-01-31 Alan Modra <amodra@gmail.com>
25 David S. Miller <davem@davemloft.net>
26
27 PR ld/15056
28 * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit
29 references to __tls_get_addr.
30 * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct
31 vtinherit and vtentry reloc handling too.
32 * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.
33
34 2013-01-31 Alan Modra <amodra@gmail.com>
35
36 * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0".
37
38 2013-01-31 Alan Modra <amodra@gmail.com>
39
40 * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
41
42 2013-01-28 Alan Modra <amodra@gmail.com>
43
44 * elf64-ppc.c: Use %T to print symbols names and remove redundant
45 "relocation" in error messages throughout file.
46 (ppc64_elf_relocate_section): Remove sibling call error message,
47 replace with "call lacks nop". Specially report errors for
48 branches to function entry points via OPD lookup and branches
49 to stubs. Remove NULL symbol handling now done by %T.
50
51 2013-01-28 Alan Modra <amodra@gmail.com>
52
53 * archive.c (bfd_generic_archive_p): Return target and keep
54 ardata on partial matches.
55 * format.c (bfd_check_format_matches): Adjust for above
56 change. Remove bfd_error_file_ambiguously_recognized dead
57 code.
58
59 2013-01-26 Alan Modra <amodra@gmail.com>
60
61 * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,
62 bfd_preserve_finish): Move to..
63 * format.c: ..here, splitting out..
64 (bfd_reinit): ..this. New function.
65 (bfd_check_format_matches): Use bfd_preserve_save/restore to
66 keep bfd state for a match.
67 * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
68 * elfcore.h (elf_core_file_p): Likewise.
69 * mach-o.c (bfd_mach_o_header_p): Likewise.
70 * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
71 * xsym.c (bfd_sym_object_p): Likewise.
72 * mmo.c (mmo_scan): Clear abfd->symcount.
73 * opncls.c (_bfd_new_bfd): Use a smaller section hash table.
74 * section.c (bfd_section_list_clear): Clear section_htab.count.
75 * bfd-in2.h: Regenerate.
76
77 2013-01-25 Michael Schewe <michael.schewe@gmx.net>
78
79 * elf32-h8300.c (elf32_h8_relax_section): When checking for a
80 second reloc, make sure that the reloc potentially exists first.
81
82 2013-01-24 Nick Clifton <nickc@redhat.com>
83
84 * archures.c: Add bfd_mach_v850e3v5.
85 * bfd-in2.h: Regenerate.
86 * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
87 * cpu-v850_rh850.c: Likewise.
88 * elf32-v850.c: Add support for v850e3v5 architecture.
89
90 2013-01-23 Markos Chandras <markos.chandras@imgtec.com>
91
92 * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
93
94 2013-01-23 Leif Ekblad <leif@rdos.net>
95
96 * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
97
98 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
99
100 * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
101 non-zero TLS symbol.
102 (elf_i386_relocate_section): Resolve size relocation against
103 non-zero TLS symbol.
104 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
105 for non-zero TLS symbol.
106 (elf_x86_64_relocate_section): Resolve size relocation against
107 non-zero TLS symbol.
108
109 2013-01-18 Mike Frysinger <vapier@gentoo.org>
110
111 * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
112 when new_dtags is false. Only add DT_RUNPATH when new_dtags is
113 true.
114
115 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
116
117 * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
118 PC-relative relocation.
119 * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
120 as PC-relative relocation.
121
122 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
123
124 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
125 check.
126 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
127
128 * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
129 and R_X86_64_SIZE64 check.
130 (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
131 nor R_X86_64_SIZE64.
132
133 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
134
135 * bfd-in2.h: Regenerated.
136 * libbfd.h: Likewise.
137
138 * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
139 (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
140 (elf_i386_check_relocs): Handle R_386_SIZE32.
141 (elf_i386_gc_sweep_hook): Likewise.
142 (elf_i386_relocate_section): Likewise.
143
144 * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
145 and R_X86_64_SIZE64 entries.
146 (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
147 (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
148 (elf_x86_64_reloc_name_lookup): Likewise.
149 (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
150 R_X86_64_SIZE64.
151 (elf_x86_64_gc_sweep_hook): Likewise.
152 (elf_x86_64_relocate_section): Likewise.
153
154 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
155 BFD_RELOC_SIZE64.
156
157 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
158
159 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
160 with R_X86_64_RELATIVE64.
161
162 2013-01-15 Nick Clifton <nickc@redhat.com>
163
164 * elf32-msp430.c: Fix spelling typo.
165
166 2013-01-15 Alan Modra <amodra@gmail.com>
167
168 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
169 plt-thread-safe.
170
171 2013-01-14 Alan Modra <amodra@gmail.com>
172
173 PR binutils/14813
174 * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
175 (memory_bclose): Likewise. Return 0 on success.
176 * cache.c (cache_bclose): Likewise.
177 * opncls.c (opncls_bclose, bfd_close): Likewise.
178 * vms-lib.c (vms_lib_bclose): Likewise.
179 * libbfd.h: Regenerate.
180
181 2013-01-13 Alan Modra <amodra@gmail.com>
182
183 * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
184 Add ref_dynamic_nonweak.
185 * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
186 (_bfd_elf_merge_symbol): Don't call above function. Move
187 setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
188 clear dynamic_def.
189 (elf_link_add_object_symbols): Delete redundant "override" test.
190 Don't set dynamic_def here.
191 (elf_link_output_extsym): Update.
192
193 2013-01-12 H.J. Lu <hongjiu.lu@intel.com>
194
195 * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
196 normal and TLS symbol access.
197 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
198
199 2013-01-12 Alan Modra <amodra@gmail.com>
200
201 * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
202 * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
203 * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
204
205 2013-01-12 Alan Modra <amodra@gmail.com>
206
207 PR ld/12549
208 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
209 (_bfd_elf_strtab_clear_all_refs): Define.
210 * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
211 (_bfd_elf_strtab_clear_all_refs): Delete.
212 * elflink.c (elf_link_add_object_symbols): Clear out added
213 strtab refs. Correct handling of warning common symbols.
214
215 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
216
217 * aout0.c: Remove trailing white spaces.
218 * archive.c: Likewise.
219 * archures.c: Likewise.
220 * bfd-in.h: Likewise.
221 * bfd-in2.h: Likewise.
222 * coff-alpha.c: Likewise.
223 * coff-i860.c: Likewise.
224 * coff-mips.c: Likewise.
225 * coff-ppc.c: Likewise.
226 * coff-tic80.c: Likewise.
227 * coff-x86_64.c: Likewise.
228 * coff-z80.c: Likewise.
229 * coffcode.h: Likewise.
230 * coffgen.c: Likewise.
231 * cofflink.c: Likewise.
232 * compress.c: Likewise.
233 * corefile.c: Likewise.
234 * cpu-arm.c: Likewise.
235 * cpu-avr.c: Likewise.
236 * cpu-bfin.c: Likewise.
237 * cpu-cr16.c: Likewise.
238 * cpu-cr16c.c: Likewise.
239 * cpu-crx.c: Likewise.
240 * cpu-h8300.c: Likewise.
241 * cpu-i386.c: Likewise.
242 * cpu-lm32.c: Likewise.
243 * cpu-m68k.c: Likewise.
244 * cpu-moxie.c: Likewise.
245 * cpu-msp430.c: Likewise.
246 * cpu-sh.c: Likewise.
247 * cpu-xc16x.c: Likewise.
248 * dwarf2.c: Likewise.
249 * ecofflink.c: Likewise.
250 * ecoffswap.h: Likewise.
251 * elf-ifunc.c: Likewise.
252 * elf-m10300.c: Likewise.
253 * elf-vxworks.c: Likewise.
254 * elf32-avr.c: Likewise.
255 * elf32-avr.h: Likewise.
256 * elf32-cr16.c: Likewise.
257 * elf32-cr16c.c: Likewise.
258 * elf32-cris.c: Likewise.
259 * elf32-crx.c: Likewise.
260 * elf32-frv.c: Likewise.
261 * elf32-hppa.c: Likewise.
262 * elf32-i860.c: Likewise.
263 * elf32-ip2k.c: Likewise.
264 * elf32-iq2000.c: Likewise.
265 * elf32-m32c.c: Likewise.
266 * elf32-m68hc1x.c: Likewise.
267 * elf32-msp430.c: Likewise.
268 * elf32-mt.c: Likewise.
269 * elf32-ppc.c: Likewise.
270 * elf32-rl78.c: Likewise.
271 * elf32-s390.c: Likewise.
272 * elf32-score.h: Likewise.
273 * elf32-sh-symbian.c: Likewise.
274 * elf32-sh.c: Likewise.
275 * elf32-spu.c: Likewise.
276 * elf32-tic6x.c: Likewise.
277 * elf32-v850.c: Likewise.
278 * elf32-xc16x.c: Likewise.
279 * elf32-xtensa.c: Likewise.
280 * elf64-alpha.c: Likewise.
281 * elf64-hppa.c: Likewise.
282 * elf64-ppc.c: Likewise.
283 * elf64-s390.c: Likewise.
284 * elfcore.h: Likewise.
285 * elflink.c: Likewise.
286 * elfxx-mips.c: Likewise.
287 * elfxx-sparc.c: Likewise.
288 * elfxx-tilegx.c: Likewise.
289 * ieee.c: Likewise.
290 * libcoff.h: Likewise.
291 * libpei.h: Likewise.
292 * libxcoff.h: Likewise.
293 * linker.c: Likewise.
294 * mach-o-i386.c: Likewise.
295 * mach-o-target.c: Likewise.
296 * mach-o.c: Likewise.
297 * mach-o.h: Likewise.
298 * mmo.c: Likewise.
299 * opncls.c: Likewise.
300 * pdp11.c: Likewise.
301 * pe-x86_64.c: Likewise.
302 * peXXigen.c: Likewise.
303 * pef-traceback.h: Likewise.
304 * pei-x86_64.c: Likewise.
305 * peicode.h: Likewise.
306 * plugin.c: Likewise.
307 * reloc.c: Likewise.
308 * riscix.c: Likewise.
309 * section.c: Likewise.
310 * som.c: Likewise.
311 * syms.c: Likewise.
312 * tekhex.c: Likewise.
313 * ticoff.h: Likewise.
314 * vaxbsd.c: Likewise.
315 * xcofflink.c: Likewise.
316 * xtensa-isa.c: Likewise.
317
318 2013-01-10 Will Newton <will.newton@imgtec.com>
319
320 * Makefile.am: Add Meta.
321 * Makefile.in: Regenerate.
322 * archures.c (bfd_mach_metag): New.
323 * bfd-in2.h: Regenerate.
324 * config.bfd: Add Meta.
325 * configure: Regenerate.
326 * configure.in: Add Meta.
327 * cpu-metag.c: New file.
328 * elf-bfd.h: Add Meta.
329 * elf32-metag.c: New file.
330 * elf32-metag.h: New file.
331 * libbfd.h: Regenerate.
332 * reloc.c: Add Meta relocations.
333 * targets.c: Add Meta.
334
335 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
336
337 * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
338 (elfcore_write_aarch_hw_break): Likewise.
339 (elfcore_write_aarch_hw_watch): Likewise.
340 * elf.c (elfcore_grok_aarch_tls): New function.
341 (elfcore_grok_aarch_hw_break): Likewise.
342 (elfcore_grok_aarch_hw_watch): Likewise.
343 (elfcore_grok_note): Call the new functions to handle the
344 corresponding notes.
345 (elfcore_write_aarch_tls): New function.
346 (elfcore_write_aarch_hw_break): Likewise.
347 (elfcore_write_aarch_hw_watch): Likewise.
348 (elfcore_write_register_note): Call the new functions to handle the
349 corresponding pseudo sections.
350
351 2013-01-07 Tom Tromey <tromey@redhat.com>
352
353 * section.c (_bfd_std_section): Rename from std_section.
354 (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
355 (STD_SECTION): Update.
356 * bfd-in2.h: Rebuild.
357
358 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
359
360 * archures.c (bfd_mach_mips5900): Define.
361 * bfd-in2.h: Regenerate.
362 * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
363 * cpu-mips.c: Add support for MIPS r5900.
364 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
365
366 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
367 Nick Clifton <nickc@redhat.com>
368
369 * elflink.c (get_value): Prevent the use of an undefined shift
370 operation. Add sanity checks.
371
372 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
373
374 * config.bfd (cr16*-*-uclinux*): New target support.
375
376
377 For older changes see ChangeLog-2012
378 \f
379 Copyright (C) 2013 Free Software Foundation, Inc.
380
381 Copying and distribution of this file, with or without modification,
382 are permitted in any medium without royalty provided the copyright
383 notice and this notice are preserved.
384
385 Local Variables:
386 mode: change-log
387 left-margin: 8
388 fill-column: 74
389 version-control: never
390 End:
This page took 0.03812 seconds and 5 git commands to generate.