Commit | Line | Data |
---|---|---|
5d42dfb5 AM |
1 | 2013-02-04 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. | |
4 | * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. | |
5 | ||
c57da1a7 AM |
6 | 2013-02-01 Alan Modra <amodra@gmail.com> |
7 | ||
8 | * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol | |
9 | clears def_regular. | |
10 | ||
c0fd7846 TG |
11 | 2013-01-31 Tristan Gingold <gingold@adacore.com> |
12 | ||
13 | * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections | |
14 | earlier. Fix status checking of bfd_mach_o_scan_start_address. | |
15 | (bfd_mach_o_scan_start_address): Handle LC_MAIN. | |
16 | ||
b45b6908 AM |
17 | 2013-01-31 Alan Modra <amodra@gmail.com> |
18 | David S. Miller <davem@davemloft.net> | |
19 | ||
20 | PR ld/15056 | |
21 | * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit | |
22 | references to __tls_get_addr. | |
23 | * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct | |
24 | vtinherit and vtentry reloc handling too. | |
25 | * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro. | |
26 | ||
bcaa2f82 AM |
27 | 2013-01-31 Alan Modra <amodra@gmail.com> |
28 | ||
29 | * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". | |
30 | ||
22aa0c7e AM |
31 | 2013-01-31 Alan Modra <amodra@gmail.com> |
32 | ||
33 | * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. | |
34 | ||
bc30df16 AM |
35 | 2013-01-28 Alan Modra <amodra@gmail.com> |
36 | ||
37 | * elf64-ppc.c: Use %T to print symbols names and remove redundant | |
38 | "relocation" in error messages throughout file. | |
39 | (ppc64_elf_relocate_section): Remove sibling call error message, | |
40 | replace with "call lacks nop". Specially report errors for | |
41 | branches to function entry points via OPD lookup and branches | |
42 | to stubs. Remove NULL symbol handling now done by %T. | |
43 | ||
89d7b8aa AM |
44 | 2013-01-28 Alan Modra <amodra@gmail.com> |
45 | ||
46 | * archive.c (bfd_generic_archive_p): Return target and keep | |
47 | ardata on partial matches. | |
48 | * format.c (bfd_check_format_matches): Adjust for above | |
49 | change. Remove bfd_error_file_ambiguously_recognized dead | |
50 | code. | |
51 | ||
c9ba0c87 AM |
52 | 2013-01-26 Alan Modra <amodra@gmail.com> |
53 | ||
54 | * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, | |
55 | bfd_preserve_finish): Move to.. | |
56 | * format.c: ..here, splitting out.. | |
57 | (bfd_reinit): ..this. New function. | |
58 | (bfd_check_format_matches): Use bfd_preserve_save/restore to | |
59 | keep bfd state for a match. | |
60 | * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore. | |
61 | * elfcore.h (elf_core_file_p): Likewise. | |
62 | * mach-o.c (bfd_mach_o_header_p): Likewise. | |
63 | * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise. | |
64 | * xsym.c (bfd_sym_object_p): Likewise. | |
65 | * mmo.c (mmo_scan): Clear abfd->symcount. | |
66 | * opncls.c (_bfd_new_bfd): Use a smaller section hash table. | |
67 | * section.c (bfd_section_list_clear): Clear section_htab.count. | |
68 | * bfd-in2.h: Regenerate. | |
69 | ||
d79dcc73 NC |
70 | 2013-01-25 Michael Schewe <michael.schewe@gmx.net> |
71 | ||
72 | * elf32-h8300.c (elf32_h8_relax_section): When checking for a | |
73 | second reloc, make sure that the reloc potentially exists first. | |
74 | ||
78c8d46c NC |
75 | 2013-01-24 Nick Clifton <nickc@redhat.com> |
76 | ||
77 | * archures.c: Add bfd_mach_v850e3v5. | |
78 | * bfd-in2.h: Regenerate. | |
79 | * cpu-v850.c: Add entries for v850e2v5 and v850e3v5. | |
80 | * cpu-v850_rh850.c: Likewise. | |
81 | * elf32-v850.c: Add support for v850e3v5 architecture. | |
82 | ||
1a18f0ae NC |
83 | 2013-01-23 Markos Chandras <markos.chandras@imgtec.com> |
84 | ||
85 | * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link. | |
86 | ||
f65a9e53 AM |
87 | 2013-01-23 Leif Ekblad <leif@rdos.net> |
88 | ||
89 | * config.bfd (x86_64-*-rdos*): Remove targ_selvecs. | |
90 | ||
3bea1fcb L |
91 | 2013-01-18 H.J. Lu <hongjiu.lu@intel.com> |
92 | ||
93 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for | |
94 | non-zero TLS symbol. | |
95 | (elf_i386_relocate_section): Resolve size relocation against | |
96 | non-zero TLS symbol. | |
97 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count | |
98 | for non-zero TLS symbol. | |
99 | (elf_x86_64_relocate_section): Resolve size relocation against | |
100 | non-zero TLS symbol. | |
101 | ||
b1b00fcc MF |
102 | 2013-01-18 Mike Frysinger <vapier@gentoo.org> |
103 | ||
104 | * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH | |
105 | when new_dtags is false. Only add DT_RUNPATH when new_dtags is | |
106 | true. | |
107 | ||
06a6a421 L |
108 | 2013-01-17 H.J. Lu <hongjiu.lu@intel.com> |
109 | ||
110 | * elf32-i386.c (elf_i386_check_relocs): Count size relocation as | |
111 | PC-relative relocation. | |
112 | * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation | |
113 | as PC-relative relocation. | |
114 | ||
6a3e1bae L |
115 | 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> |
116 | ||
117 | * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 | |
118 | check. | |
119 | (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. | |
120 | ||
121 | * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 | |
122 | and R_X86_64_SIZE64 check. | |
123 | (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 | |
124 | nor R_X86_64_SIZE64. | |
125 | ||
1788fc08 L |
126 | 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | * bfd-in2.h: Regenerated. | |
129 | * libbfd.h: Likewise. | |
130 | ||
131 | * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. | |
132 | (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. | |
133 | (elf_i386_check_relocs): Handle R_386_SIZE32. | |
134 | (elf_i386_gc_sweep_hook): Likewise. | |
135 | (elf_i386_relocate_section): Likewise. | |
136 | ||
137 | * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 | |
138 | and R_X86_64_SIZE64 entries. | |
139 | (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, | |
140 | (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. | |
141 | (elf_x86_64_reloc_name_lookup): Likewise. | |
142 | (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and | |
143 | R_X86_64_SIZE64. | |
144 | (elf_x86_64_gc_sweep_hook): Likewise. | |
145 | (elf_x86_64_relocate_section): Likewise. | |
146 | ||
147 | * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and | |
148 | BFD_RELOC_SIZE64. | |
149 | ||
1e536451 L |
150 | 2013-01-15 H.J. Lu <hongjiu.lu@intel.com> |
151 | ||
152 | * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE | |
153 | with R_X86_64_RELATIVE64. | |
154 | ||
77bf820f NC |
155 | 2013-01-15 Nick Clifton <nickc@redhat.com> |
156 | ||
157 | * elf32-msp430.c: Fix spelling typo. | |
158 | ||
e2458743 AM |
159 | 2013-01-15 Alan Modra <amodra@gmail.com> |
160 | ||
161 | * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to | |
162 | plt-thread-safe. | |
163 | ||
405bf443 AM |
164 | 2013-01-14 Alan Modra <amodra@gmail.com> |
165 | ||
166 | PR binutils/14813 | |
167 | * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06. | |
168 | (memory_bclose): Likewise. Return 0 on success. | |
169 | * cache.c (cache_bclose): Likewise. | |
170 | * opncls.c (opncls_bclose, bfd_close): Likewise. | |
171 | * vms-lib.c (vms_lib_bclose): Likewise. | |
172 | * libbfd.h: Regenerate. | |
173 | ||
ee659f1f AM |
174 | 2013-01-13 Alan Modra <amodra@gmail.com> |
175 | ||
176 | * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak. | |
177 | Add ref_dynamic_nonweak. | |
178 | * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. | |
179 | (_bfd_elf_merge_symbol): Don't call above function. Move | |
180 | setting of ref_dynamic_nonweak and dynamic_def earlier. Don't | |
181 | clear dynamic_def. | |
182 | (elf_link_add_object_symbols): Delete redundant "override" test. | |
183 | Don't set dynamic_def here. | |
184 | (elf_link_output_extsym): Update. | |
185 | ||
68c4a57e L |
186 | 2013-01-12 H.J. Lu <hongjiu.lu@intel.com> |
187 | ||
188 | * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for | |
189 | normal and TLS symbol access. | |
190 | * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. | |
191 | ||
02be4619 AM |
192 | 2013-01-12 Alan Modra <amodra@gmail.com> |
193 | ||
194 | * elf-bfd.h (_bfd_elf_strtab_refcount): Declare. | |
195 | * elf-strtab.c (_bfd_elf_strtab_refcount): New function. | |
196 | * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount. | |
197 | ||
a4542f1b AM |
198 | 2013-01-12 Alan Modra <amodra@gmail.com> |
199 | ||
200 | PR ld/12549 | |
201 | * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare. | |
202 | (_bfd_elf_strtab_clear_all_refs): Define. | |
203 | * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function. | |
204 | (_bfd_elf_strtab_clear_all_refs): Delete. | |
205 | * elflink.c (elf_link_add_object_symbols): Clear out added | |
206 | strtab refs. Correct handling of warning common symbols. | |
207 | ||
68ffbac6 L |
208 | 2013-01-10 H.J. Lu <hongjiu.lu@intel.com> |
209 | ||
210 | * aout0.c: Remove trailing white spaces. | |
211 | * archive.c: Likewise. | |
212 | * archures.c: Likewise. | |
213 | * bfd-in.h: Likewise. | |
214 | * bfd-in2.h: Likewise. | |
215 | * coff-alpha.c: Likewise. | |
216 | * coff-i860.c: Likewise. | |
217 | * coff-mips.c: Likewise. | |
218 | * coff-ppc.c: Likewise. | |
219 | * coff-tic80.c: Likewise. | |
220 | * coff-x86_64.c: Likewise. | |
221 | * coff-z80.c: Likewise. | |
222 | * coffcode.h: Likewise. | |
223 | * coffgen.c: Likewise. | |
224 | * cofflink.c: Likewise. | |
225 | * compress.c: Likewise. | |
226 | * corefile.c: Likewise. | |
227 | * cpu-arm.c: Likewise. | |
228 | * cpu-avr.c: Likewise. | |
229 | * cpu-bfin.c: Likewise. | |
230 | * cpu-cr16.c: Likewise. | |
231 | * cpu-cr16c.c: Likewise. | |
232 | * cpu-crx.c: Likewise. | |
233 | * cpu-h8300.c: Likewise. | |
234 | * cpu-i386.c: Likewise. | |
235 | * cpu-lm32.c: Likewise. | |
236 | * cpu-m68k.c: Likewise. | |
237 | * cpu-moxie.c: Likewise. | |
238 | * cpu-msp430.c: Likewise. | |
239 | * cpu-sh.c: Likewise. | |
240 | * cpu-xc16x.c: Likewise. | |
241 | * dwarf2.c: Likewise. | |
242 | * ecofflink.c: Likewise. | |
243 | * ecoffswap.h: Likewise. | |
244 | * elf-ifunc.c: Likewise. | |
245 | * elf-m10300.c: Likewise. | |
246 | * elf-vxworks.c: Likewise. | |
247 | * elf32-avr.c: Likewise. | |
248 | * elf32-avr.h: Likewise. | |
249 | * elf32-cr16.c: Likewise. | |
250 | * elf32-cr16c.c: Likewise. | |
251 | * elf32-cris.c: Likewise. | |
252 | * elf32-crx.c: Likewise. | |
253 | * elf32-frv.c: Likewise. | |
254 | * elf32-hppa.c: Likewise. | |
255 | * elf32-i860.c: Likewise. | |
256 | * elf32-ip2k.c: Likewise. | |
257 | * elf32-iq2000.c: Likewise. | |
258 | * elf32-m32c.c: Likewise. | |
259 | * elf32-m68hc1x.c: Likewise. | |
260 | * elf32-msp430.c: Likewise. | |
261 | * elf32-mt.c: Likewise. | |
262 | * elf32-ppc.c: Likewise. | |
263 | * elf32-rl78.c: Likewise. | |
264 | * elf32-s390.c: Likewise. | |
265 | * elf32-score.h: Likewise. | |
266 | * elf32-sh-symbian.c: Likewise. | |
267 | * elf32-sh.c: Likewise. | |
268 | * elf32-spu.c: Likewise. | |
269 | * elf32-tic6x.c: Likewise. | |
270 | * elf32-v850.c: Likewise. | |
271 | * elf32-xc16x.c: Likewise. | |
272 | * elf32-xtensa.c: Likewise. | |
273 | * elf64-alpha.c: Likewise. | |
274 | * elf64-hppa.c: Likewise. | |
275 | * elf64-ppc.c: Likewise. | |
276 | * elf64-s390.c: Likewise. | |
277 | * elfcore.h: Likewise. | |
278 | * elflink.c: Likewise. | |
279 | * elfxx-mips.c: Likewise. | |
280 | * elfxx-sparc.c: Likewise. | |
281 | * elfxx-tilegx.c: Likewise. | |
282 | * ieee.c: Likewise. | |
283 | * libcoff.h: Likewise. | |
284 | * libpei.h: Likewise. | |
285 | * libxcoff.h: Likewise. | |
286 | * linker.c: Likewise. | |
287 | * mach-o-i386.c: Likewise. | |
288 | * mach-o-target.c: Likewise. | |
289 | * mach-o.c: Likewise. | |
290 | * mach-o.h: Likewise. | |
291 | * mmo.c: Likewise. | |
292 | * opncls.c: Likewise. | |
293 | * pdp11.c: Likewise. | |
294 | * pe-x86_64.c: Likewise. | |
295 | * peXXigen.c: Likewise. | |
296 | * pef-traceback.h: Likewise. | |
297 | * pei-x86_64.c: Likewise. | |
298 | * peicode.h: Likewise. | |
299 | * plugin.c: Likewise. | |
300 | * reloc.c: Likewise. | |
301 | * riscix.c: Likewise. | |
302 | * section.c: Likewise. | |
303 | * som.c: Likewise. | |
304 | * syms.c: Likewise. | |
305 | * tekhex.c: Likewise. | |
306 | * ticoff.h: Likewise. | |
307 | * vaxbsd.c: Likewise. | |
308 | * xcofflink.c: Likewise. | |
309 | * xtensa-isa.c: Likewise. | |
310 | ||
a3c62988 NC |
311 | 2013-01-10 Will Newton <will.newton@imgtec.com> |
312 | ||
313 | * Makefile.am: Add Meta. | |
314 | * Makefile.in: Regenerate. | |
315 | * archures.c (bfd_mach_metag): New. | |
316 | * bfd-in2.h: Regenerate. | |
317 | * config.bfd: Add Meta. | |
318 | * configure: Regenerate. | |
319 | * configure.in: Add Meta. | |
320 | * cpu-metag.c: New file. | |
321 | * elf-bfd.h: Add Meta. | |
322 | * elf32-metag.c: New file. | |
323 | * elf32-metag.h: New file. | |
324 | * libbfd.h: Regenerate. | |
325 | * reloc.c: Add Meta relocations. | |
326 | * targets.c: Add Meta. | |
327 | ||
652451f8 YZ |
328 | 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> |
329 | ||
330 | * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. | |
331 | (elfcore_write_aarch_hw_break): Likewise. | |
332 | (elfcore_write_aarch_hw_watch): Likewise. | |
333 | * elf.c (elfcore_grok_aarch_tls): New function. | |
334 | (elfcore_grok_aarch_hw_break): Likewise. | |
335 | (elfcore_grok_aarch_hw_watch): Likewise. | |
336 | (elfcore_grok_note): Call the new functions to handle the | |
337 | corresponding notes. | |
338 | (elfcore_write_aarch_tls): New function. | |
339 | (elfcore_write_aarch_hw_break): Likewise. | |
340 | (elfcore_write_aarch_hw_watch): Likewise. | |
341 | (elfcore_write_register_note): Call the new functions to handle the | |
342 | corresponding pseudo sections. | |
343 | ||
45a466b5 TT |
344 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
345 | ||
346 | * section.c (_bfd_std_section): Rename from std_section. | |
347 | (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr) | |
348 | (STD_SECTION): Update. | |
349 | * bfd-in2.h: Rebuild. | |
350 | ||
e407c74b NC |
351 | 2013-01-04 Juergen Urban <JuergenUrban@gmx.de> |
352 | ||
353 | * archures.c (bfd_mach_mips5900): Define. | |
354 | * bfd-in2.h: Regenerate. | |
355 | * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets. | |
356 | * cpu-mips.c: Add support for MIPS r5900. | |
357 | * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000). | |
358 | ||
9b239e0e NC |
359 | 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu> |
360 | Nick Clifton <nickc@redhat.com> | |
361 | ||
362 | * elflink.c (get_value): Prevent the use of an undefined shift | |
363 | operation. Add sanity checks. | |
364 | ||
bab4becb | 365 | 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
884f2a8d | 366 | |
bab4becb | 367 | * config.bfd (cr16*-*-uclinux*): New target support. |
884f2a8d | 368 | |
9911c0fc | 369 | |
bab4becb | 370 | For older changes see ChangeLog-2012 |
56882138 | 371 | \f |
bab4becb | 372 | Copyright (C) 2013 Free Software Foundation, Inc. |
752937aa NC |
373 | |
374 | Copying and distribution of this file, with or without modification, | |
375 | are permitted in any medium without royalty provided the copyright | |
376 | notice and this notice are preserved. | |
377 | ||
56882138 AM |
378 | Local Variables: |
379 | mode: change-log | |
380 | left-margin: 8 | |
381 | fill-column: 74 | |
382 | version-control: never | |
383 | End: |