3 * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no
8 * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.
9 (BFD64_BACKENDS_CFILES): Remove elf-nacl.c.
10 * Makefile.in: Regenerate.
11 * po/SRC-POTFILES.in: Regenerate.
15 * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete.
16 * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
20 * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
25 * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections
26 earlier. Fix status checking of bfd_mach_o_scan_start_address.
27 (bfd_mach_o_scan_start_address): Handle LC_MAIN.
33 * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit
34 references to __tls_get_addr.
35 * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct
36 vtinherit and vtentry reloc handling too.
37 * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.
41 * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0".
45 * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
49 * elf64-ppc.c: Use %T to print symbols names and remove redundant
50 "relocation" in error messages throughout file.
51 (ppc64_elf_relocate_section): Remove sibling call error message,
52 replace with "call lacks nop". Specially report errors for
53 branches to function entry points via OPD lookup and branches
54 to stubs. Remove NULL symbol handling now done by %T.
58 * archive.c (bfd_generic_archive_p): Return target and keep
59 ardata on partial matches.
60 * format.c (bfd_check_format_matches): Adjust for above
61 change. Remove bfd_error_file_ambiguously_recognized dead
66 * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,
67 bfd_preserve_finish): Move to..
68 * format.c: ..here, splitting out..
69 (bfd_reinit): ..this. New function.
70 (bfd_check_format_matches): Use bfd_preserve_save/restore to
71 keep bfd state for a match.
72 * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
73 * elfcore.h (elf_core_file_p): Likewise.
74 * mach-o.c (bfd_mach_o_header_p): Likewise.
75 * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
76 * xsym.c (bfd_sym_object_p): Likewise.
77 * mmo.c (mmo_scan): Clear abfd->symcount.
78 * opncls.c (_bfd_new_bfd): Use a smaller section hash table.
79 * section.c (bfd_section_list_clear): Clear section_htab.count.
80 * bfd-in2.h: Regenerate.
84 * elf32-h8300.c (elf32_h8_relax_section): When checking for a
85 second reloc, make sure that the reloc potentially exists first.
89 * archures.c: Add bfd_mach_v850e3v5.
90 * bfd-in2.h: Regenerate.
91 * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
92 * cpu-v850_rh850.c: Likewise.
93 * elf32-v850.c: Add support for v850e3v5 architecture.
97 * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
101 * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
105 * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
107 (elf_i386_relocate_section): Resolve size relocation against
109 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
110 for non-zero TLS symbol.
111 (elf_x86_64_relocate_section): Resolve size relocation against
116 * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
117 when new_dtags is false. Only add DT_RUNPATH when new_dtags is
122 * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
123 PC-relative relocation.
124 * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
125 as PC-relative relocation.
129 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
131 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
133 * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
134 and R_X86_64_SIZE64 check.
135 (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
140 * bfd-in2.h: Regenerated.
141 * libbfd.h: Likewise.
143 * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
144 (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
145 (elf_i386_check_relocs): Handle R_386_SIZE32.
146 (elf_i386_gc_sweep_hook): Likewise.
147 (elf_i386_relocate_section): Likewise.
149 * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
150 and R_X86_64_SIZE64 entries.
151 (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
152 (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
153 (elf_x86_64_reloc_name_lookup): Likewise.
154 (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
156 (elf_x86_64_gc_sweep_hook): Likewise.
157 (elf_x86_64_relocate_section): Likewise.
159 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
164 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
165 with R_X86_64_RELATIVE64.
169 * elf32-msp430.c: Fix spelling typo.
173 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
179 * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
180 (memory_bclose): Likewise. Return 0 on success.
181 * cache.c (cache_bclose): Likewise.
182 * opncls.c (opncls_bclose, bfd_close): Likewise.
183 * vms-lib.c (vms_lib_bclose): Likewise.
184 * libbfd.h: Regenerate.
188 * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
189 Add ref_dynamic_nonweak.
190 * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
191 (_bfd_elf_merge_symbol): Don't call above function. Move
192 setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
194 (elf_link_add_object_symbols): Delete redundant "override" test.
195 Don't set dynamic_def here.
196 (elf_link_output_extsym): Update.
200 * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
201 normal and TLS symbol access.
202 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
206 * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
207 * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
208 * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
213 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
214 (_bfd_elf_strtab_clear_all_refs): Define.
215 * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
216 (_bfd_elf_strtab_clear_all_refs): Delete.
217 * elflink.c (elf_link_add_object_symbols): Clear out added
218 strtab refs. Correct handling of warning common symbols.
222 * aout0.c: Remove trailing white spaces.
223 * archive.c: Likewise.
224 * archures.c: Likewise.
225 * bfd-in.h: Likewise.
226 * bfd-in2.h: Likewise.
227 * coff-alpha.c: Likewise.
228 * coff-i860.c: Likewise.
229 * coff-mips.c: Likewise.
230 * coff-ppc.c: Likewise.
231 * coff-tic80.c: Likewise.
232 * coff-x86_64.c: Likewise.
233 * coff-z80.c: Likewise.
234 * coffcode.h: Likewise.
235 * coffgen.c: Likewise.
236 * cofflink.c: Likewise.
237 * compress.c: Likewise.
238 * corefile.c: Likewise.
239 * cpu-arm.c: Likewise.
240 * cpu-avr.c: Likewise.
241 * cpu-bfin.c: Likewise.
242 * cpu-cr16.c: Likewise.
243 * cpu-cr16c.c: Likewise.
244 * cpu-crx.c: Likewise.
245 * cpu-h8300.c: Likewise.
246 * cpu-i386.c: Likewise.
247 * cpu-lm32.c: Likewise.
248 * cpu-m68k.c: Likewise.
249 * cpu-moxie.c: Likewise.
250 * cpu-msp430.c: Likewise.
251 * cpu-sh.c: Likewise.
252 * cpu-xc16x.c: Likewise.
253 * dwarf2.c: Likewise.
254 * ecofflink.c: Likewise.
255 * ecoffswap.h: Likewise.
256 * elf-ifunc.c: Likewise.
257 * elf-m10300.c: Likewise.
258 * elf-vxworks.c: Likewise.
259 * elf32-avr.c: Likewise.
260 * elf32-avr.h: Likewise.
261 * elf32-cr16.c: Likewise.
262 * elf32-cr16c.c: Likewise.
263 * elf32-cris.c: Likewise.
264 * elf32-crx.c: Likewise.
265 * elf32-frv.c: Likewise.
266 * elf32-hppa.c: Likewise.
267 * elf32-i860.c: Likewise.
268 * elf32-ip2k.c: Likewise.
269 * elf32-iq2000.c: Likewise.
270 * elf32-m32c.c: Likewise.
271 * elf32-m68hc1x.c: Likewise.
272 * elf32-msp430.c: Likewise.
273 * elf32-mt.c: Likewise.
274 * elf32-ppc.c: Likewise.
275 * elf32-rl78.c: Likewise.
276 * elf32-s390.c: Likewise.
277 * elf32-score.h: Likewise.
278 * elf32-sh-symbian.c: Likewise.
279 * elf32-sh.c: Likewise.
280 * elf32-spu.c: Likewise.
281 * elf32-tic6x.c: Likewise.
282 * elf32-v850.c: Likewise.
283 * elf32-xc16x.c: Likewise.
284 * elf32-xtensa.c: Likewise.
285 * elf64-alpha.c: Likewise.
286 * elf64-hppa.c: Likewise.
287 * elf64-ppc.c: Likewise.
288 * elf64-s390.c: Likewise.
289 * elfcore.h: Likewise.
290 * elflink.c: Likewise.
291 * elfxx-mips.c: Likewise.
292 * elfxx-sparc.c: Likewise.
293 * elfxx-tilegx.c: Likewise.
295 * libcoff.h: Likewise.
296 * libpei.h: Likewise.
297 * libxcoff.h: Likewise.
298 * linker.c: Likewise.
299 * mach-o-i386.c: Likewise.
300 * mach-o-target.c: Likewise.
301 * mach-o.c: Likewise.
302 * mach-o.h: Likewise.
304 * opncls.c: Likewise.
306 * pe-x86_64.c: Likewise.
307 * peXXigen.c: Likewise.
308 * pef-traceback.h: Likewise.
309 * pei-x86_64.c: Likewise.
310 * peicode.h: Likewise.
311 * plugin.c: Likewise.
313 * riscix.c: Likewise.
314 * section.c: Likewise.
317 * tekhex.c: Likewise.
318 * ticoff.h: Likewise.
319 * vaxbsd.c: Likewise.
320 * xcofflink.c: Likewise.
321 * xtensa-isa.c: Likewise.
325 * Makefile.am: Add Meta.
326 * Makefile.in: Regenerate.
327 * archures.c (bfd_mach_metag): New.
328 * bfd-in2.h: Regenerate.
329 * config.bfd: Add Meta.
330 * configure: Regenerate.
331 * configure.in: Add Meta.
332 * cpu-metag.c: New file.
333 * elf-bfd.h: Add Meta.
334 * elf32-metag.c: New file.
335 * elf32-metag.h: New file.
336 * libbfd.h: Regenerate.
337 * reloc.c: Add Meta relocations.
338 * targets.c: Add Meta.
342 * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
343 (elfcore_write_aarch_hw_break): Likewise.
344 (elfcore_write_aarch_hw_watch): Likewise.
345 * elf.c (elfcore_grok_aarch_tls): New function.
346 (elfcore_grok_aarch_hw_break): Likewise.
347 (elfcore_grok_aarch_hw_watch): Likewise.
348 (elfcore_grok_note): Call the new functions to handle the
350 (elfcore_write_aarch_tls): New function.
351 (elfcore_write_aarch_hw_break): Likewise.
352 (elfcore_write_aarch_hw_watch): Likewise.
353 (elfcore_write_register_note): Call the new functions to handle the
354 corresponding pseudo sections.
358 * section.c (_bfd_std_section): Rename from std_section.
359 (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
360 (STD_SECTION): Update.
361 * bfd-in2.h: Rebuild.
365 * archures.c (bfd_mach_mips5900): Define.
366 * bfd-in2.h: Regenerate.
367 * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
368 * cpu-mips.c: Add support for MIPS r5900.
369 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
374 * elflink.c (get_value): Prevent the use of an undefined shift
375 operation. Add sanity checks.
379 * config.bfd (cr16*-*-uclinux*): New target support.
382 For older changes see ChangeLog-2012
384 Copyright (C) 2013 Free Software Foundation, Inc.
386 Copying and distribution of this file, with or without modification,
387 are permitted in any medium without royalty provided the copyright
388 notice and this notice are preserved.
394 version-control: never