Commit | Line | Data |
---|---|---|
946c668d RS |
1 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
2 | ||
3 | * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set | |
4 | gotidx to -1. | |
5 | ||
59b08994 RS |
6 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
7 | ||
8 | * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. | |
9 | ||
d222d210 RS |
10 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
11 | ||
12 | * elfxx-mips.c (mips_got_info): Move global_gotsym to... | |
13 | (mips_elf_link_hash_table): ...here. Update rest of file accordingly. | |
14 | ||
1fd20d70 RS |
15 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
16 | ||
17 | * elfxx-mips.c (mips_elf_count_global_tls_entries) | |
18 | (mips_elf_count_global_tls_relocs): Don't count indirect or | |
19 | warning symbols. | |
20 | (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right | |
21 | number of TLS entries were allocated. | |
22 | ||
7d94b319 RS |
23 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
24 | ||
25 | * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts. | |
26 | ||
17214937 RS |
27 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
28 | ||
29 | * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count | |
30 | if there are TLS relocations. | |
31 | ||
9efeb38d RS |
32 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
33 | ||
34 | * elfxx-mips.c (mips_elf_recreate_got): Remove free. | |
35 | (mips_elf_resolve_final_got_entries): Remove bogus comment. | |
36 | ||
7bf52ea2 AM |
37 | 2013-02-10 Alan Modra <amodra@gmail.com> |
38 | ||
39 | * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. | |
40 | * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. | |
41 | * m68klinux.c (linux_link_hash_table_create): Likewise. | |
42 | * sparclinux.c (linux_link_hash_table_create): Likewise. | |
43 | * sunos.c (sunos_link_hash_table_create): Likewise. | |
44 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. | |
45 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. | |
46 | * elf32-arm.c (elf32_arm_link_hash_table_create): Likewise. | |
47 | * elf32-avr.c (elf32_avr_link_hash_table_create): Likewise. | |
48 | * elf32-cr16.c (elf32_cr16_link_hash_table_create): Likewise. | |
49 | * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. | |
50 | * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. | |
51 | * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. | |
52 | * elf32-lm32.c (lm32_elf_link_hash_table_create): Likewise. | |
53 | * elf32-m32r.c (m32r_elf_link_hash_table_create): Likewise. | |
54 | * elf32-m68hc1x.c (m68hc11_elf_hash_table_create): Likewise. | |
55 | * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. | |
56 | * elf32-metag.c (elf_metag_link_hash_table_create): Likewise. | |
57 | * elf32-nios2.c (nios2_elf32_link_hash_table_create): Likewise. | |
58 | * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. | |
59 | * elf32-score.c (elf32_score_link_hash_table_create): Likewise. | |
60 | * elf32-spu.c (spu_elf_link_hash_table_create): Likewise. | |
61 | * elf32-tic6x.c (elf32_tic6x_link_hash_table_create): Likewise. | |
62 | * elf32-vax.c (elf_vax_link_hash_table_create): Likewise. | |
63 | * elf32-xgate.c (xgate_elf_bfd_link_hash_table_create): Likewise. | |
64 | * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Likewise. | |
65 | * elf64-aarch64.c (elf64_aarch64_link_hash_table_create): Likewise. | |
66 | * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. | |
67 | * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. | |
68 | * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Likewise. | |
69 | * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. | |
70 | * elflink.c (_bfd_elf_link_hash_table_create): Likewise. | |
71 | (_bfd_elf_link_hash_table_init): Assume zero fill table on entry. | |
72 | ||
22cdc249 AM |
73 | 2013-02-10 Alan Modra <amodra@gmail.com> |
74 | ||
75 | * i386linux.c (linux_link_hash_table_create): Allocate table | |
76 | with bfd_zmalloc, not bfd_alloc. | |
77 | * pdp11.c (link_hash_table_create): Allocate table with | |
78 | bfd_malloc, not bfd_alloc. | |
79 | * elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table | |
80 | with bfd_zmalloc, not bfd_zalloc. | |
81 | (bfin_link_hash_table_create): Likewise. | |
82 | * elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise. | |
83 | * elf64-hppa.c (elf64_hppa_hash_table_create): Likewise. | |
84 | ||
0e5de31a AM |
85 | 2013-02-10 Alan Modra <amodra@gmail.com> |
86 | ||
87 | PR ld/15113 | |
88 | * elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc. | |
89 | ||
ad1fc92a NC |
90 | 2013-02-08 Markos Chandras <markos.chandras@imgtec.com> |
91 | ||
92 | * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED | |
93 | sections. | |
34c67f14 NC |
94 | (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss |
95 | symbol. | |
ad1fc92a | 96 | |
170a8295 YZ |
97 | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> |
98 | ||
99 | * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from | |
100 | 288 to 272. | |
101 | ||
619a703e AM |
102 | 2013-02-08 Alan Modra <amodra@gmail.com> |
103 | ||
104 | PR binutils/15106 | |
105 | * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache. | |
106 | * elf.c (elf_find_function): Revert last change. Use new | |
107 | tdata field rather than static vars for cache. | |
108 | ||
02acbe22 L |
109 | 2013-02-07 H.J. Lu <hongjiu.lu@intel.com> |
110 | ||
111 | PR ld/15107 | |
112 | * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if | |
113 | symbol is defined in regular object. | |
114 | ||
1965d5f2 AM |
115 | 2013-02-07 Roberto Agostino Vitillo <ra.vitillo@gmail.com> |
116 | ||
117 | PR binutils/15106 | |
118 | * elf.c (elf_find_function): Don't cache if symbols change. | |
119 | ||
dafbc74d AM |
120 | 2013-02-07 Alan Modra <amodra@gmail.com> |
121 | ||
122 | PR binutils/14873 | |
123 | * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to | |
124 | copy attributes from or to non-ELF. | |
125 | ||
20e52bd2 L |
126 | 2013-02-06 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count | |
129 | for non-zero TLS symbol. | |
130 | (elf_i386_relocate_section): Don't resolve size relocation against | |
131 | non-zero TLS symbol. | |
132 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear | |
133 | pc_count for non-zero TLS symbol. | |
134 | (elf_x86_64_relocate_section): Don't resolve size relocation | |
135 | against non-zero TLS symbol. | |
136 | ||
36591ba1 | 137 | 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> |
20e52bd2 | 138 | Andrew Jenner <andrew@codesourcery.com> |
36591ba1 SL |
139 | |
140 | Based on patches from Altera Corporation. | |
141 | ||
142 | * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo. | |
143 | (ALL_MACHINES_CFILES): Add cpu-nios2.c. | |
144 | (BFD_BACKENDS): Add elf32-nios2.lo. | |
145 | (BFD32_BACKENDS_CFILES): Add elf32-nios2.c. | |
146 | * Makefile.in: Regenerated. | |
147 | * configure.in: Add entries for bfd_elf32_bignios2_vec and | |
148 | bfd_elf32_littlenios2_vec. | |
149 | * configure: Regenerated. | |
150 | * config.bfd: Add cases for nios2. | |
151 | * archures.c (enum bfd_architecture): Add bfd_arch_nios2. | |
152 | (bfd_mach_nios2): Define. | |
153 | (bfd_nios2_arch): Declare. | |
154 | (bfd_archures_list): Add bfd_nios2_arch. | |
155 | * targets.c (bfd_elf32_bignios2_vec): Declare. | |
156 | (bfd_elf32_littlenios2_vec): Declare. | |
157 | (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and | |
158 | bfd_elf32_littlenios2_vec. | |
159 | * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA. | |
160 | * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations. | |
161 | * bfd-in2.h: Regenerated. | |
162 | * libbfd.h: Regenerated. | |
163 | * cpu-nios2.c: New file. | |
164 | * elf32-nios2.c: New file. | |
165 | ||
ca6b5f82 AM |
166 | 2013-02-06 Alan Modra <amodra@gmail.com> |
167 | ||
168 | * elf32-arm.c (elf32_arm_final_link_relocate): Only test for | |
169 | stubs in stub_bfd. | |
170 | ||
37ba9f93 AM |
171 | 2013-02-06 Alan Modra <amodra@gmail.com> |
172 | ||
173 | * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'. | |
174 | * Makefile.in: Regenerate. | |
175 | ||
70a38d42 SDJ |
176 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
177 | Pedro Alves <palves@redhat.com> | |
178 | ||
179 | * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. | |
180 | * elf-bfd.h (elf_internal_linux_prpsinfo): New structure | |
181 | declaration. | |
182 | (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) | |
183 | (elfcore_write_ppc32_linux_prpsinfo32): New declarations. | |
184 | * elf-linux-psinfo.h: New file. | |
185 | * elf.c: Include elf-linux-psinfo.h. | |
186 | (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): | |
187 | New functions. | |
188 | * elf32-ppc.c: Include `elf-linux-psinfo.h'. | |
189 | (elf_external_ppc_linux_prpsinfo32): New structure declaration. | |
190 | (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. | |
191 | (elfcore_write_ppc_linux_prpsinfo32): New function. | |
192 | ||
5ee43bc4 TG |
193 | 2013-02-04 Tristan Gingold <gingold@adacore.com> |
194 | ||
195 | * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no | |
196 | start address. | |
197 | ||
0cadb185 AM |
198 | 2013-02-04 Alan Modra <amodra@gmail.com> |
199 | ||
200 | * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. | |
201 | (BFD64_BACKENDS_CFILES): Remove elf-nacl.c. | |
202 | * Makefile.in: Regenerate. | |
203 | * po/SRC-POTFILES.in: Regenerate. | |
204 | ||
5d42dfb5 AM |
205 | 2013-02-04 Alan Modra <amodra@gmail.com> |
206 | ||
207 | * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. | |
208 | * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. | |
209 | ||
c57da1a7 AM |
210 | 2013-02-01 Alan Modra <amodra@gmail.com> |
211 | ||
212 | * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol | |
213 | clears def_regular. | |
214 | ||
c0fd7846 TG |
215 | 2013-01-31 Tristan Gingold <gingold@adacore.com> |
216 | ||
217 | * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections | |
218 | earlier. Fix status checking of bfd_mach_o_scan_start_address. | |
219 | (bfd_mach_o_scan_start_address): Handle LC_MAIN. | |
220 | ||
b45b6908 AM |
221 | 2013-01-31 Alan Modra <amodra@gmail.com> |
222 | David S. Miller <davem@davemloft.net> | |
223 | ||
224 | PR ld/15056 | |
225 | * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit | |
226 | references to __tls_get_addr. | |
227 | * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct | |
228 | vtinherit and vtentry reloc handling too. | |
229 | * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro. | |
230 | ||
bcaa2f82 AM |
231 | 2013-01-31 Alan Modra <amodra@gmail.com> |
232 | ||
233 | * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". | |
234 | ||
22aa0c7e AM |
235 | 2013-01-31 Alan Modra <amodra@gmail.com> |
236 | ||
237 | * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. | |
238 | ||
bc30df16 AM |
239 | 2013-01-28 Alan Modra <amodra@gmail.com> |
240 | ||
241 | * elf64-ppc.c: Use %T to print symbols names and remove redundant | |
242 | "relocation" in error messages throughout file. | |
243 | (ppc64_elf_relocate_section): Remove sibling call error message, | |
244 | replace with "call lacks nop". Specially report errors for | |
245 | branches to function entry points via OPD lookup and branches | |
246 | to stubs. Remove NULL symbol handling now done by %T. | |
247 | ||
89d7b8aa AM |
248 | 2013-01-28 Alan Modra <amodra@gmail.com> |
249 | ||
250 | * archive.c (bfd_generic_archive_p): Return target and keep | |
251 | ardata on partial matches. | |
252 | * format.c (bfd_check_format_matches): Adjust for above | |
253 | change. Remove bfd_error_file_ambiguously_recognized dead | |
254 | code. | |
255 | ||
c9ba0c87 AM |
256 | 2013-01-26 Alan Modra <amodra@gmail.com> |
257 | ||
258 | * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, | |
259 | bfd_preserve_finish): Move to.. | |
260 | * format.c: ..here, splitting out.. | |
261 | (bfd_reinit): ..this. New function. | |
262 | (bfd_check_format_matches): Use bfd_preserve_save/restore to | |
263 | keep bfd state for a match. | |
264 | * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore. | |
265 | * elfcore.h (elf_core_file_p): Likewise. | |
266 | * mach-o.c (bfd_mach_o_header_p): Likewise. | |
267 | * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise. | |
268 | * xsym.c (bfd_sym_object_p): Likewise. | |
269 | * mmo.c (mmo_scan): Clear abfd->symcount. | |
270 | * opncls.c (_bfd_new_bfd): Use a smaller section hash table. | |
271 | * section.c (bfd_section_list_clear): Clear section_htab.count. | |
272 | * bfd-in2.h: Regenerate. | |
273 | ||
d79dcc73 NC |
274 | 2013-01-25 Michael Schewe <michael.schewe@gmx.net> |
275 | ||
276 | * elf32-h8300.c (elf32_h8_relax_section): When checking for a | |
277 | second reloc, make sure that the reloc potentially exists first. | |
278 | ||
78c8d46c NC |
279 | 2013-01-24 Nick Clifton <nickc@redhat.com> |
280 | ||
281 | * archures.c: Add bfd_mach_v850e3v5. | |
282 | * bfd-in2.h: Regenerate. | |
283 | * cpu-v850.c: Add entries for v850e2v5 and v850e3v5. | |
284 | * cpu-v850_rh850.c: Likewise. | |
285 | * elf32-v850.c: Add support for v850e3v5 architecture. | |
286 | ||
1a18f0ae NC |
287 | 2013-01-23 Markos Chandras <markos.chandras@imgtec.com> |
288 | ||
289 | * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link. | |
290 | ||
f65a9e53 AM |
291 | 2013-01-23 Leif Ekblad <leif@rdos.net> |
292 | ||
293 | * config.bfd (x86_64-*-rdos*): Remove targ_selvecs. | |
294 | ||
3bea1fcb L |
295 | 2013-01-18 H.J. Lu <hongjiu.lu@intel.com> |
296 | ||
297 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for | |
298 | non-zero TLS symbol. | |
299 | (elf_i386_relocate_section): Resolve size relocation against | |
300 | non-zero TLS symbol. | |
301 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count | |
302 | for non-zero TLS symbol. | |
303 | (elf_x86_64_relocate_section): Resolve size relocation against | |
304 | non-zero TLS symbol. | |
305 | ||
b1b00fcc MF |
306 | 2013-01-18 Mike Frysinger <vapier@gentoo.org> |
307 | ||
308 | * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH | |
309 | when new_dtags is false. Only add DT_RUNPATH when new_dtags is | |
310 | true. | |
311 | ||
06a6a421 L |
312 | 2013-01-17 H.J. Lu <hongjiu.lu@intel.com> |
313 | ||
314 | * elf32-i386.c (elf_i386_check_relocs): Count size relocation as | |
315 | PC-relative relocation. | |
316 | * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation | |
317 | as PC-relative relocation. | |
318 | ||
6a3e1bae L |
319 | 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> |
320 | ||
321 | * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 | |
322 | check. | |
323 | (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. | |
324 | ||
325 | * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 | |
326 | and R_X86_64_SIZE64 check. | |
327 | (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 | |
328 | nor R_X86_64_SIZE64. | |
329 | ||
1788fc08 L |
330 | 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> |
331 | ||
332 | * bfd-in2.h: Regenerated. | |
333 | * libbfd.h: Likewise. | |
334 | ||
335 | * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. | |
336 | (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. | |
337 | (elf_i386_check_relocs): Handle R_386_SIZE32. | |
338 | (elf_i386_gc_sweep_hook): Likewise. | |
339 | (elf_i386_relocate_section): Likewise. | |
340 | ||
341 | * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 | |
342 | and R_X86_64_SIZE64 entries. | |
343 | (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, | |
344 | (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. | |
345 | (elf_x86_64_reloc_name_lookup): Likewise. | |
346 | (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and | |
347 | R_X86_64_SIZE64. | |
348 | (elf_x86_64_gc_sweep_hook): Likewise. | |
349 | (elf_x86_64_relocate_section): Likewise. | |
350 | ||
351 | * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and | |
352 | BFD_RELOC_SIZE64. | |
353 | ||
1e536451 L |
354 | 2013-01-15 H.J. Lu <hongjiu.lu@intel.com> |
355 | ||
356 | * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE | |
357 | with R_X86_64_RELATIVE64. | |
358 | ||
77bf820f NC |
359 | 2013-01-15 Nick Clifton <nickc@redhat.com> |
360 | ||
361 | * elf32-msp430.c: Fix spelling typo. | |
362 | ||
e2458743 AM |
363 | 2013-01-15 Alan Modra <amodra@gmail.com> |
364 | ||
365 | * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to | |
366 | plt-thread-safe. | |
367 | ||
405bf443 AM |
368 | 2013-01-14 Alan Modra <amodra@gmail.com> |
369 | ||
370 | PR binutils/14813 | |
371 | * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06. | |
372 | (memory_bclose): Likewise. Return 0 on success. | |
373 | * cache.c (cache_bclose): Likewise. | |
374 | * opncls.c (opncls_bclose, bfd_close): Likewise. | |
375 | * vms-lib.c (vms_lib_bclose): Likewise. | |
376 | * libbfd.h: Regenerate. | |
377 | ||
ee659f1f AM |
378 | 2013-01-13 Alan Modra <amodra@gmail.com> |
379 | ||
380 | * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak. | |
381 | Add ref_dynamic_nonweak. | |
382 | * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. | |
383 | (_bfd_elf_merge_symbol): Don't call above function. Move | |
384 | setting of ref_dynamic_nonweak and dynamic_def earlier. Don't | |
385 | clear dynamic_def. | |
386 | (elf_link_add_object_symbols): Delete redundant "override" test. | |
387 | Don't set dynamic_def here. | |
388 | (elf_link_output_extsym): Update. | |
389 | ||
68c4a57e L |
390 | 2013-01-12 H.J. Lu <hongjiu.lu@intel.com> |
391 | ||
392 | * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for | |
393 | normal and TLS symbol access. | |
394 | * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. | |
395 | ||
02be4619 AM |
396 | 2013-01-12 Alan Modra <amodra@gmail.com> |
397 | ||
398 | * elf-bfd.h (_bfd_elf_strtab_refcount): Declare. | |
399 | * elf-strtab.c (_bfd_elf_strtab_refcount): New function. | |
400 | * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount. | |
401 | ||
a4542f1b AM |
402 | 2013-01-12 Alan Modra <amodra@gmail.com> |
403 | ||
404 | PR ld/12549 | |
405 | * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare. | |
406 | (_bfd_elf_strtab_clear_all_refs): Define. | |
407 | * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function. | |
408 | (_bfd_elf_strtab_clear_all_refs): Delete. | |
409 | * elflink.c (elf_link_add_object_symbols): Clear out added | |
410 | strtab refs. Correct handling of warning common symbols. | |
411 | ||
68ffbac6 L |
412 | 2013-01-10 H.J. Lu <hongjiu.lu@intel.com> |
413 | ||
414 | * aout0.c: Remove trailing white spaces. | |
415 | * archive.c: Likewise. | |
416 | * archures.c: Likewise. | |
417 | * bfd-in.h: Likewise. | |
418 | * bfd-in2.h: Likewise. | |
419 | * coff-alpha.c: Likewise. | |
420 | * coff-i860.c: Likewise. | |
421 | * coff-mips.c: Likewise. | |
422 | * coff-ppc.c: Likewise. | |
423 | * coff-tic80.c: Likewise. | |
424 | * coff-x86_64.c: Likewise. | |
425 | * coff-z80.c: Likewise. | |
426 | * coffcode.h: Likewise. | |
427 | * coffgen.c: Likewise. | |
428 | * cofflink.c: Likewise. | |
429 | * compress.c: Likewise. | |
430 | * corefile.c: Likewise. | |
431 | * cpu-arm.c: Likewise. | |
432 | * cpu-avr.c: Likewise. | |
433 | * cpu-bfin.c: Likewise. | |
434 | * cpu-cr16.c: Likewise. | |
435 | * cpu-cr16c.c: Likewise. | |
436 | * cpu-crx.c: Likewise. | |
437 | * cpu-h8300.c: Likewise. | |
438 | * cpu-i386.c: Likewise. | |
439 | * cpu-lm32.c: Likewise. | |
440 | * cpu-m68k.c: Likewise. | |
441 | * cpu-moxie.c: Likewise. | |
442 | * cpu-msp430.c: Likewise. | |
443 | * cpu-sh.c: Likewise. | |
444 | * cpu-xc16x.c: Likewise. | |
445 | * dwarf2.c: Likewise. | |
446 | * ecofflink.c: Likewise. | |
447 | * ecoffswap.h: Likewise. | |
448 | * elf-ifunc.c: Likewise. | |
449 | * elf-m10300.c: Likewise. | |
450 | * elf-vxworks.c: Likewise. | |
451 | * elf32-avr.c: Likewise. | |
452 | * elf32-avr.h: Likewise. | |
453 | * elf32-cr16.c: Likewise. | |
454 | * elf32-cr16c.c: Likewise. | |
455 | * elf32-cris.c: Likewise. | |
456 | * elf32-crx.c: Likewise. | |
457 | * elf32-frv.c: Likewise. | |
458 | * elf32-hppa.c: Likewise. | |
459 | * elf32-i860.c: Likewise. | |
460 | * elf32-ip2k.c: Likewise. | |
461 | * elf32-iq2000.c: Likewise. | |
462 | * elf32-m32c.c: Likewise. | |
463 | * elf32-m68hc1x.c: Likewise. | |
464 | * elf32-msp430.c: Likewise. | |
465 | * elf32-mt.c: Likewise. | |
466 | * elf32-ppc.c: Likewise. | |
467 | * elf32-rl78.c: Likewise. | |
468 | * elf32-s390.c: Likewise. | |
469 | * elf32-score.h: Likewise. | |
470 | * elf32-sh-symbian.c: Likewise. | |
471 | * elf32-sh.c: Likewise. | |
472 | * elf32-spu.c: Likewise. | |
473 | * elf32-tic6x.c: Likewise. | |
474 | * elf32-v850.c: Likewise. | |
475 | * elf32-xc16x.c: Likewise. | |
476 | * elf32-xtensa.c: Likewise. | |
477 | * elf64-alpha.c: Likewise. | |
478 | * elf64-hppa.c: Likewise. | |
479 | * elf64-ppc.c: Likewise. | |
480 | * elf64-s390.c: Likewise. | |
481 | * elfcore.h: Likewise. | |
482 | * elflink.c: Likewise. | |
483 | * elfxx-mips.c: Likewise. | |
484 | * elfxx-sparc.c: Likewise. | |
485 | * elfxx-tilegx.c: Likewise. | |
486 | * ieee.c: Likewise. | |
487 | * libcoff.h: Likewise. | |
488 | * libpei.h: Likewise. | |
489 | * libxcoff.h: Likewise. | |
490 | * linker.c: Likewise. | |
491 | * mach-o-i386.c: Likewise. | |
492 | * mach-o-target.c: Likewise. | |
493 | * mach-o.c: Likewise. | |
494 | * mach-o.h: Likewise. | |
495 | * mmo.c: Likewise. | |
496 | * opncls.c: Likewise. | |
497 | * pdp11.c: Likewise. | |
498 | * pe-x86_64.c: Likewise. | |
499 | * peXXigen.c: Likewise. | |
500 | * pef-traceback.h: Likewise. | |
501 | * pei-x86_64.c: Likewise. | |
502 | * peicode.h: Likewise. | |
503 | * plugin.c: Likewise. | |
504 | * reloc.c: Likewise. | |
505 | * riscix.c: Likewise. | |
506 | * section.c: Likewise. | |
507 | * som.c: Likewise. | |
508 | * syms.c: Likewise. | |
509 | * tekhex.c: Likewise. | |
510 | * ticoff.h: Likewise. | |
511 | * vaxbsd.c: Likewise. | |
512 | * xcofflink.c: Likewise. | |
513 | * xtensa-isa.c: Likewise. | |
514 | ||
a3c62988 NC |
515 | 2013-01-10 Will Newton <will.newton@imgtec.com> |
516 | ||
517 | * Makefile.am: Add Meta. | |
518 | * Makefile.in: Regenerate. | |
519 | * archures.c (bfd_mach_metag): New. | |
520 | * bfd-in2.h: Regenerate. | |
521 | * config.bfd: Add Meta. | |
522 | * configure: Regenerate. | |
523 | * configure.in: Add Meta. | |
524 | * cpu-metag.c: New file. | |
525 | * elf-bfd.h: Add Meta. | |
526 | * elf32-metag.c: New file. | |
527 | * elf32-metag.h: New file. | |
528 | * libbfd.h: Regenerate. | |
529 | * reloc.c: Add Meta relocations. | |
530 | * targets.c: Add Meta. | |
531 | ||
652451f8 YZ |
532 | 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> |
533 | ||
534 | * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. | |
535 | (elfcore_write_aarch_hw_break): Likewise. | |
536 | (elfcore_write_aarch_hw_watch): Likewise. | |
537 | * elf.c (elfcore_grok_aarch_tls): New function. | |
538 | (elfcore_grok_aarch_hw_break): Likewise. | |
539 | (elfcore_grok_aarch_hw_watch): Likewise. | |
540 | (elfcore_grok_note): Call the new functions to handle the | |
541 | corresponding notes. | |
542 | (elfcore_write_aarch_tls): New function. | |
543 | (elfcore_write_aarch_hw_break): Likewise. | |
544 | (elfcore_write_aarch_hw_watch): Likewise. | |
545 | (elfcore_write_register_note): Call the new functions to handle the | |
546 | corresponding pseudo sections. | |
547 | ||
45a466b5 TT |
548 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
549 | ||
550 | * section.c (_bfd_std_section): Rename from std_section. | |
551 | (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr) | |
552 | (STD_SECTION): Update. | |
553 | * bfd-in2.h: Rebuild. | |
554 | ||
e407c74b NC |
555 | 2013-01-04 Juergen Urban <JuergenUrban@gmx.de> |
556 | ||
557 | * archures.c (bfd_mach_mips5900): Define. | |
558 | * bfd-in2.h: Regenerate. | |
559 | * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets. | |
560 | * cpu-mips.c: Add support for MIPS r5900. | |
561 | * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000). | |
562 | ||
9b239e0e NC |
563 | 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu> |
564 | Nick Clifton <nickc@redhat.com> | |
565 | ||
566 | * elflink.c (get_value): Prevent the use of an undefined shift | |
567 | operation. Add sanity checks. | |
568 | ||
bab4becb | 569 | 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
884f2a8d | 570 | |
bab4becb | 571 | * config.bfd (cr16*-*-uclinux*): New target support. |
884f2a8d | 572 | |
9911c0fc | 573 | |
bab4becb | 574 | For older changes see ChangeLog-2012 |
56882138 | 575 | \f |
bab4becb | 576 | Copyright (C) 2013 Free Software Foundation, Inc. |
752937aa NC |
577 | |
578 | Copying and distribution of this file, with or without modification, | |
579 | are permitted in any medium without royalty provided the copyright | |
580 | notice and this notice are preserved. | |
581 | ||
56882138 AM |
582 | Local Variables: |
583 | mode: change-log | |
584 | left-margin: 8 | |
585 | fill-column: 74 | |
586 | version-control: never | |
587 | End: |