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