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