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