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