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