1 2013-01-26 Alan Modra <amodra@gmail.com>
3 * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,
4 bfd_preserve_finish): Move to..
5 * format.c: ..here, splitting out..
6 (bfd_reinit): ..this. New function.
7 (bfd_check_format_matches): Use bfd_preserve_save/restore to
8 keep bfd state for a match.
9 * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
10 * elfcore.h (elf_core_file_p): Likewise.
11 * mach-o.c (bfd_mach_o_header_p): Likewise.
12 * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
13 * xsym.c (bfd_sym_object_p): Likewise.
14 * mmo.c (mmo_scan): Clear abfd->symcount.
15 * opncls.c (_bfd_new_bfd): Use a smaller section hash table.
16 * section.c (bfd_section_list_clear): Clear section_htab.count.
17 * bfd-in2.h: Regenerate.
19 2013-01-25 Michael Schewe <michael.schewe@gmx.net>
21 * elf32-h8300.c (elf32_h8_relax_section): When checking for a
22 second reloc, make sure that the reloc potentially exists first.
24 2013-01-24 Nick Clifton <nickc@redhat.com>
26 * archures.c: Add bfd_mach_v850e3v5.
27 * bfd-in2.h: Regenerate.
28 * cpu-v850.c: Add entries for v850e2v5 and v850e3v5.
29 * cpu-v850_rh850.c: Likewise.
30 * elf32-v850.c: Add support for v850e3v5 architecture.
32 2013-01-23 Markos Chandras <markos.chandras@imgtec.com>
34 * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.
36 2013-01-23 Leif Ekblad <leif@rdos.net>
38 * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.
40 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
42 * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for
44 (elf_i386_relocate_section): Resolve size relocation against
46 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count
47 for non-zero TLS symbol.
48 (elf_x86_64_relocate_section): Resolve size relocation against
51 2013-01-18 Mike Frysinger <vapier@gentoo.org>
53 * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH
54 when new_dtags is false. Only add DT_RUNPATH when new_dtags is
57 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
59 * elf32-i386.c (elf_i386_check_relocs): Count size relocation as
60 PC-relative relocation.
61 * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
62 as PC-relative relocation.
64 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
66 * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32
68 (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32.
70 * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32
71 and R_X86_64_SIZE64 check.
72 (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32
75 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
77 * bfd-in2.h: Regenerated.
80 * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry.
81 (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32.
82 (elf_i386_check_relocs): Handle R_386_SIZE32.
83 (elf_i386_gc_sweep_hook): Likewise.
84 (elf_i386_relocate_section): Likewise.
86 * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32
87 and R_X86_64_SIZE64 entries.
88 (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64,
89 (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32.
90 (elf_x86_64_reloc_name_lookup): Likewise.
91 (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and
93 (elf_x86_64_gc_sweep_hook): Likewise.
94 (elf_x86_64_relocate_section): Likewise.
96 * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and
99 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
101 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
102 with R_X86_64_RELATIVE64.
104 2013-01-15 Nick Clifton <nickc@redhat.com>
106 * elf32-msp430.c: Fix spelling typo.
108 2013-01-15 Alan Modra <amodra@gmail.com>
110 * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
113 2013-01-14 Alan Modra <amodra@gmail.com>
116 * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
117 (memory_bclose): Likewise. Return 0 on success.
118 * cache.c (cache_bclose): Likewise.
119 * opncls.c (opncls_bclose, bfd_close): Likewise.
120 * vms-lib.c (vms_lib_bclose): Likewise.
121 * libbfd.h: Regenerate.
123 2013-01-13 Alan Modra <amodra@gmail.com>
125 * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
126 Add ref_dynamic_nonweak.
127 * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
128 (_bfd_elf_merge_symbol): Don't call above function. Move
129 setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
131 (elf_link_add_object_symbols): Delete redundant "override" test.
132 Don't set dynamic_def here.
133 (elf_link_output_extsym): Update.
135 2013-01-12 H.J. Lu <hongjiu.lu@intel.com>
137 * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
138 normal and TLS symbol access.
139 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
141 2013-01-12 Alan Modra <amodra@gmail.com>
143 * elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
144 * elf-strtab.c (_bfd_elf_strtab_refcount): New function.
145 * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
147 2013-01-12 Alan Modra <amodra@gmail.com>
150 * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
151 (_bfd_elf_strtab_clear_all_refs): Define.
152 * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
153 (_bfd_elf_strtab_clear_all_refs): Delete.
154 * elflink.c (elf_link_add_object_symbols): Clear out added
155 strtab refs. Correct handling of warning common symbols.
157 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
159 * aout0.c: Remove trailing white spaces.
160 * archive.c: Likewise.
161 * archures.c: Likewise.
162 * bfd-in.h: Likewise.
163 * bfd-in2.h: Likewise.
164 * coff-alpha.c: Likewise.
165 * coff-i860.c: Likewise.
166 * coff-mips.c: Likewise.
167 * coff-ppc.c: Likewise.
168 * coff-tic80.c: Likewise.
169 * coff-x86_64.c: Likewise.
170 * coff-z80.c: Likewise.
171 * coffcode.h: Likewise.
172 * coffgen.c: Likewise.
173 * cofflink.c: Likewise.
174 * compress.c: Likewise.
175 * corefile.c: Likewise.
176 * cpu-arm.c: Likewise.
177 * cpu-avr.c: Likewise.
178 * cpu-bfin.c: Likewise.
179 * cpu-cr16.c: Likewise.
180 * cpu-cr16c.c: Likewise.
181 * cpu-crx.c: Likewise.
182 * cpu-h8300.c: Likewise.
183 * cpu-i386.c: Likewise.
184 * cpu-lm32.c: Likewise.
185 * cpu-m68k.c: Likewise.
186 * cpu-moxie.c: Likewise.
187 * cpu-msp430.c: Likewise.
188 * cpu-sh.c: Likewise.
189 * cpu-xc16x.c: Likewise.
190 * dwarf2.c: Likewise.
191 * ecofflink.c: Likewise.
192 * ecoffswap.h: Likewise.
193 * elf-ifunc.c: Likewise.
194 * elf-m10300.c: Likewise.
195 * elf-vxworks.c: Likewise.
196 * elf32-avr.c: Likewise.
197 * elf32-avr.h: Likewise.
198 * elf32-cr16.c: Likewise.
199 * elf32-cr16c.c: Likewise.
200 * elf32-cris.c: Likewise.
201 * elf32-crx.c: Likewise.
202 * elf32-frv.c: Likewise.
203 * elf32-hppa.c: Likewise.
204 * elf32-i860.c: Likewise.
205 * elf32-ip2k.c: Likewise.
206 * elf32-iq2000.c: Likewise.
207 * elf32-m32c.c: Likewise.
208 * elf32-m68hc1x.c: Likewise.
209 * elf32-msp430.c: Likewise.
210 * elf32-mt.c: Likewise.
211 * elf32-ppc.c: Likewise.
212 * elf32-rl78.c: Likewise.
213 * elf32-s390.c: Likewise.
214 * elf32-score.h: Likewise.
215 * elf32-sh-symbian.c: Likewise.
216 * elf32-sh.c: Likewise.
217 * elf32-spu.c: Likewise.
218 * elf32-tic6x.c: Likewise.
219 * elf32-v850.c: Likewise.
220 * elf32-xc16x.c: Likewise.
221 * elf32-xtensa.c: Likewise.
222 * elf64-alpha.c: Likewise.
223 * elf64-hppa.c: Likewise.
224 * elf64-ppc.c: Likewise.
225 * elf64-s390.c: Likewise.
226 * elfcore.h: Likewise.
227 * elflink.c: Likewise.
228 * elfxx-mips.c: Likewise.
229 * elfxx-sparc.c: Likewise.
230 * elfxx-tilegx.c: Likewise.
232 * libcoff.h: Likewise.
233 * libpei.h: Likewise.
234 * libxcoff.h: Likewise.
235 * linker.c: Likewise.
236 * mach-o-i386.c: Likewise.
237 * mach-o-target.c: Likewise.
238 * mach-o.c: Likewise.
239 * mach-o.h: Likewise.
241 * opncls.c: Likewise.
243 * pe-x86_64.c: Likewise.
244 * peXXigen.c: Likewise.
245 * pef-traceback.h: Likewise.
246 * pei-x86_64.c: Likewise.
247 * peicode.h: Likewise.
248 * plugin.c: Likewise.
250 * riscix.c: Likewise.
251 * section.c: Likewise.
254 * tekhex.c: Likewise.
255 * ticoff.h: Likewise.
256 * vaxbsd.c: Likewise.
257 * xcofflink.c: Likewise.
258 * xtensa-isa.c: Likewise.
260 2013-01-10 Will Newton <will.newton@imgtec.com>
262 * Makefile.am: Add Meta.
263 * Makefile.in: Regenerate.
264 * archures.c (bfd_mach_metag): New.
265 * bfd-in2.h: Regenerate.
266 * config.bfd: Add Meta.
267 * configure: Regenerate.
268 * configure.in: Add Meta.
269 * cpu-metag.c: New file.
270 * elf-bfd.h: Add Meta.
271 * elf32-metag.c: New file.
272 * elf32-metag.h: New file.
273 * libbfd.h: Regenerate.
274 * reloc.c: Add Meta relocations.
275 * targets.c: Add Meta.
277 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
279 * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
280 (elfcore_write_aarch_hw_break): Likewise.
281 (elfcore_write_aarch_hw_watch): Likewise.
282 * elf.c (elfcore_grok_aarch_tls): New function.
283 (elfcore_grok_aarch_hw_break): Likewise.
284 (elfcore_grok_aarch_hw_watch): Likewise.
285 (elfcore_grok_note): Call the new functions to handle the
287 (elfcore_write_aarch_tls): New function.
288 (elfcore_write_aarch_hw_break): Likewise.
289 (elfcore_write_aarch_hw_watch): Likewise.
290 (elfcore_write_register_note): Call the new functions to handle the
291 corresponding pseudo sections.
293 2013-01-07 Tom Tromey <tromey@redhat.com>
295 * section.c (_bfd_std_section): Rename from std_section.
296 (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
297 (STD_SECTION): Update.
298 * bfd-in2.h: Rebuild.
300 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
302 * archures.c (bfd_mach_mips5900): Define.
303 * bfd-in2.h: Regenerate.
304 * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets.
305 * cpu-mips.c: Add support for MIPS r5900.
306 * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000).
308 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu>
309 Nick Clifton <nickc@redhat.com>
311 * elflink.c (get_value): Prevent the use of an undefined shift
312 operation. Add sanity checks.
314 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
316 * config.bfd (cr16*-*-uclinux*): New target support.
319 For older changes see ChangeLog-2012
321 Copyright (C) 2013 Free Software Foundation, Inc.
323 Copying and distribution of this file, with or without modification,
324 are permitted in any medium without royalty provided the copyright
325 notice and this notice are preserved.
331 version-control: never