Commit | Line | Data |
---|---|---|
6f820c85 WN |
1 | 2013-03-27 Will Newton <will.newton@linaro.org> |
2 | ||
3 | * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a | |
4 | dynamic reloc for symbols with dynindx == -1. | |
5 | (allocate_dynrelocs_for_symbol): Avoid allocating space for a | |
6 | dynamic reloc for symbols with dynindx == -1. | |
7 | ||
31943882 WN |
8 | 2013-03-27 Will Newton <will.newton@linaro.org> |
9 | ||
10 | * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a | |
11 | dynamic reloc for non-default visibility undefined weaks. | |
12 | (allocate_dynrelocs_for_symbol): Avoid allocating space for a | |
13 | dynamic reloc for non-default visibility undefined weaks. | |
14 | ||
ffd65175 AM |
15 | 2013-03-26 Alan Modra <amodra@gmail.com> |
16 | ||
17 | * elflink.c (_bfd_elf_add_default_symbol): Preserve section | |
18 | over _bfd_elf_merge_symbol calls. | |
19 | ||
3a81e825 AM |
20 | 2013-03-26 Alan Modra <amodra@gmail.com> |
21 | ||
22 | * elflink.c (elf_link_add_object_symbols): Add assertion for | |
23 | common override alignment check code. Formatting. | |
24 | ||
4f3fedcf AM |
25 | 2013-03-25 Alan Modra <amodra@gmail.com> |
26 | ||
27 | * elflink.c (_bfd_elf_merge_symbol): Set old_alignment for | |
28 | usual common symbols as well as for dynamic. Add poldbfd param. | |
29 | Save old bfd. Adjust callers. | |
30 | (_bfd_elf_add_default_symbol): Add poldbfd param. Pass "section" | |
31 | and "value" by value, not pointer. Adjust caller. | |
32 | (elf_link_add_object_symbols): Combine undef_bfd and old_bfd vars. | |
33 | Delete code to set same. Use old_bfd and old_alignment from | |
34 | _bfd_elf_merge_symbol instead. Add default symbol before | |
35 | alignment and size checks. Wrap overlong lines. | |
36 | ||
e3c9d234 AM |
37 | 2013-03-25 Alan Modra <amodra@gmail.com> |
38 | ||
39 | * elflink.c (_bfd_elf_add_default_symbol): Delete "override" param. | |
40 | (elf_link_add_object_symbols): Don't call _bfd_elf_add_default_symbol | |
41 | when override is true. | |
42 | ||
6c9b78e6 AM |
43 | 2013-03-25 Alan Modra <amodra@gmail.com> |
44 | ||
45 | * elflink.c (_bfd_elf_merge_symbol): Use local var holding value | |
46 | of *sym_hash. | |
47 | ||
191c0c42 AM |
48 | 2013-03-25 Alan Modra <amodra@gmail.com> |
49 | ||
50 | * elflink.c (_bfd_elf_merge_symbol): Don't discard TLS symbols here. | |
51 | Wrap long lines. | |
52 | (elf_link_add_object_symbols): Discard TLS symbols for --just-syms | |
53 | early in symbol loop. | |
54 | ||
5d13b3b3 AM |
55 | 2013-03-25 Alan Modra <amodra@gmail.com> |
56 | ||
57 | * elf-bfd.h (struct elf_backend_data <merge_symbol>): Update proto. | |
58 | (_bfd_elf_init_reloc_shdr): Delete. | |
59 | * elf.c (_bfd_elf_init_reloc_shdr): Make static. | |
60 | * elf64-x86-64.c (elf_x86_64_merge_symbol): Trim parameters to | |
61 | just what is needed. | |
62 | * elflink.c (_bfd_elf_merge_symbol): Update bed->merge_symbol call. | |
63 | ||
8a56bd02 AM |
64 | 2013-03-23 Alan Modra <amodra@gmail.com> |
65 | ||
66 | * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration. | |
67 | * elflink.c (_bfd_elf_merge_symbol): Make static. | |
68 | * elf32-sh-symbian.c (sh_symbian_relocate_section): Don't call | |
69 | _bfd_elf_merge_symbol, call _bfd_generic_link_add_one_symbol. | |
70 | ||
96f29d96 AM |
71 | 2013-03-23 Alan Modra <amodra@gmail.com> |
72 | ||
73 | PR ld/15270 | |
74 | * elflink.c (elf_link_add_object_symbols): Don't set def_regular | |
75 | or ref_regular for BFD_PLUGIN owned syms, or have them affect | |
76 | def_dynamic/ref_dynamic. | |
77 | (_bfd_elf_fix_symbol_flags): Don't set def_regular for BFD_PLUGIN | |
78 | owned syms. | |
79 | ||
209be8d2 DM |
80 | 2013-03-22 David S. Miller <davem@davemloft.net> |
81 | ||
82 | * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of | |
83 | hwcaps attribute. | |
84 | ||
5c0df484 NC |
85 | 2013-03-22 Achille Fouilleul <achille.fouilleul+binutils@gadz.org> |
86 | ||
87 | PR ld/14902 | |
88 | * elf32-h8300.c (elf32_h8_relax_delete_bytes): Fix off by one | |
89 | errors adjusting relocs and symbols. | |
90 | ||
81f5558e NC |
91 | 2013-03-21 Michael Schewe <michael.schewe@gmx.net> |
92 | ||
93 | * elf32-h8300 (h8_relax_section): Add new relaxation of mov | |
94 | @(disp:32,ERx) to mov @(disp:16,ERx). | |
95 | (R_H8_DISP32A16): New reloc. | |
96 | Comments added and corrected. | |
97 | * reloc.c (BFD_RELOC_H8_DISP32A16): New reloc. | |
98 | * bfd-in2.h: Regenerate. | |
99 | * libbfd.h: Regenerate. | |
100 | ||
ce63b7b3 KT |
101 | 2013-03-21 Kai Tietz <ktietz@redhat.com> |
102 | ||
103 | * coffgen.c (coff_real_object_p): Make global. | |
104 | * peicode.h (coff_real_object_p): Add prototype. | |
105 | (FILHDR): Defined for COFF_IMAGE_WITH_PE as | |
106 | external_PEI_IMAGE_hdr structure. | |
107 | (coff_swap_filehdr_in): Handle variable header-size. | |
108 | * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Just handle amount | |
109 | of directory-entiries as specified in pe-header. | |
110 | ||
088ca6c1 NC |
111 | 2013-03-21 Nick Clifton <nickc@redhat.com> |
112 | ||
113 | PR sim/15286 | |
114 | * elf32-arm.c (bfd_arm_get_mach_from_attributes): Identify XScale, | |
115 | iWMMXt and iWMMXt2 processors from attributes. | |
116 | ||
8877b5e5 AM |
117 | 2013-03-20 Alan Modra <amodra@gmail.com> |
118 | ||
119 | * elflink.c (_bfd_elf_make_dynamic_reloc_section): Override | |
120 | sh_type according to is_rela. | |
121 | ||
ffa9430d AM |
122 | 2013-03-18 Alan Modra <amodra@gmail.com> |
123 | ||
124 | PR ld/12549 | |
125 | * elflink.c (elf_link_add_object_symbols): Exclude weak refs when | |
126 | considering whether an --as-needed library is needed. | |
127 | ||
cc0ea93c TT |
128 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
129 | ||
130 | * opncls.c (bfd_get_debug_link_info): Rename from | |
131 | get_debug_link_info. Export. Update comment. | |
132 | (find_separate_debug_file): Update. | |
133 | * bfd-in2.h: Rebuild. | |
134 | ||
59c108f7 NC |
135 | 2013-03-08 Venkataramanan Kumar <venkataramanan.kumar@linaro.org> |
136 | ||
137 | * elf64-aarch64.c (elf_backend_can_gc_sections): Enable gc-section | |
138 | support. | |
139 | (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related | |
140 | relocs. | |
141 | ||
abb3f6cc NC |
142 | 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com> |
143 | ||
144 | * elf-bfd.h (elfcore_write_s390_tdb): Add prototype. | |
145 | * elf.c (elfcore_write_s390_tdb): New function. | |
146 | (elfcore_write_register_note): Call it. | |
147 | (elfcore_grok_s390_tdb): New function. | |
148 | (elfcore_grok_note): Call it. | |
149 | ||
af924177 MR |
150 | 2013-03-08 Maciej W. Rozycki <macro@codesourcery.com> |
151 | ||
152 | * elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type. | |
153 | ||
48385e38 CV |
154 | 2013-03-05 Corinna Vinschen <vinschen@redhat.com> |
155 | ||
156 | * config.bfd: Add x86_64-*-cygwin to list of supported targets. | |
157 | ||
f75e0e33 AM |
158 | 2013-03-04 Alan Modra <amodra@gmail.com> |
159 | ||
160 | * elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): Adjust | |
161 | non-zero addends when relocatable, rather than addends >= 32768. | |
162 | Always zero "addend" before applying relocation. | |
163 | ||
17e3916e NC |
164 | 2013-03-04 Nick Clifton <nickc@redhat.com> |
165 | ||
166 | * archive64.c (bfd_elf64_archive_write_armap): Fix calculation of | |
167 | file pointer offsets for thin archives. | |
168 | ||
3064e1ff JB |
169 | 2013-02-28 Nathan Sidwell <nathan@codesourcery.com> |
170 | ||
171 | * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call | |
172 | elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link. | |
173 | ||
4107ae22 DD |
174 | 2013-02-27 DJ Delorie <dj@redhat.com> |
175 | ||
176 | * reloc.c (BFD_RELOC_RL78_CODE): Add. | |
177 | * libbfd.h: Regenerate. | |
178 | * bfd-in2.h: Regenerate. | |
179 | * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code | |
180 | references in compuated relocs. | |
181 | ||
730fbaf8 AG |
182 | 2013-02-26 Anthony Green <green@moxielogic.com> |
183 | ||
184 | * config.bfd: Extend moxie-rtems target triplet name support. | |
185 | ||
35399224 L |
186 | 2013-02-21 H.J. Lu <hongjiu.lu@intel.com> |
187 | ||
188 | PR ld/15167 | |
189 | * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set | |
190 | unique_global only for definition. | |
191 | * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global | |
192 | here. | |
193 | (elf_link_add_object_symbols): Set unique_global only | |
194 | for definition. | |
195 | ||
c0355132 AM |
196 | 2013-02-21 Alan Modra <amodra@gmail.com> |
197 | ||
198 | * elf-bfd.h (struct elf_build_id): Extracted from.. | |
199 | (struct elf_build_id_info): ..here. Delete. | |
200 | (struct output_elf_obj_tdata): New, extracted from.. | |
201 | (struct elf_obj_tdata): ..here. Reorganize for better packing. | |
202 | Add "o" field. | |
203 | (elf_program_header_size): Reference tdata->o. | |
204 | (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, | |
205 | elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec, | |
206 | elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise. | |
207 | * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata | |
208 | when opening bfd in any mode that might write. | |
209 | (_bfd_elf_write_object_contents): Use build_id field in | |
210 | output_elf_obj_tdata. | |
211 | (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test. | |
212 | (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes. | |
213 | ||
228e534f AM |
214 | 2013-02-21 Alan Modra <amodra@gmail.com> |
215 | ||
216 | * elf-bfd.h (struct core_elf_obj_tdata): New. | |
217 | (struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid, | |
218 | core_program, and core_command. Add "core". | |
219 | * elf.c (bfd_elf_mkcorefile): Allocate "core" struct. | |
220 | Update all refs to tdata core fields. | |
221 | * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c, | |
222 | * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c, | |
223 | * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c, | |
224 | * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c, | |
225 | * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c, | |
226 | * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c, | |
227 | * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs | |
228 | to tdata core fields. | |
229 | ||
12bd6957 AM |
230 | 2013-02-21 Alan Modra <amodra@gmail.com> |
231 | ||
232 | * elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map. | |
233 | Delete num_locals and num_globals. | |
234 | (elf_num_locals, elf_num_globals): Don't define. | |
235 | (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, | |
236 | elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define. | |
237 | * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c, | |
238 | * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c, | |
239 | * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c, | |
240 | * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata | |
241 | accessor macros. | |
242 | * elf.c (elf_map_symbols): Add pnum_locals param. Return | |
243 | number of locals syms via new param. | |
244 | (swap_out_syms): Adjust to suit elf_map_symbols change. | |
245 | ||
cbf8d970 MR |
246 | 2013-02-19 Maciej W. Rozycki <macro@codesourcery.com> |
247 | ||
248 | * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear | |
249 | STO_MICROMIPS annotation. | |
250 | ||
30e8ee25 AM |
251 | 2013-02-19 Alan Modra <amodra@gmail.com> |
252 | ||
253 | * configure.in: Bump version to 2.23.52. | |
254 | * elf-bfd.h (struct elf_build_id_info): New. | |
255 | (struct elf_obj_tdata): Delete after_write_object_contents, | |
256 | after_write_object_contents_info and build_id_size. Make build_id | |
257 | a pointer to struct elf_build_id_info. | |
258 | * elf.c (_bfd_elf_write_object_contents): Style. Update | |
259 | after_write_ibject_contents invocation. | |
260 | (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't | |
261 | allow zero size notes. | |
262 | * configure: Regenerate. | |
263 | ||
5b175e56 MR |
264 | 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com> |
265 | ||
266 | * elf64-mips.c (micromips_elf64_howto_table_rel): Add | |
267 | R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. | |
268 | (micromips_elf64_howto_table_rela): Likewise. | |
269 | (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. | |
270 | * elfn32-mips.c (elf_micromips_howto_table_rel): Add | |
271 | R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. | |
272 | (elf_micromips_howto_table_rela): Likewise. | |
273 | (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. | |
274 | ||
e8faf7d1 MR |
275 | 2013-02-18 Paul Brook <paul@codesourcery.com> |
276 | ||
277 | * elfxx-mips.c (MICROMIPS_P): New macro. | |
278 | (_bfd_mips_elf_symbol_processing): Use it. | |
279 | ||
c164a95d MR |
280 | 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com> |
281 | ||
282 | * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify | |
283 | comment on _PROCEDURE_LINKAGE_TABLE_ creation. | |
284 | ||
d45f8bda AM |
285 | 2013-02-18 Alan Modra <amodra@gmail.com> |
286 | ||
287 | PR ld/12549 | |
288 | * elf-bfd.h (_bfd_elf_strtab_clear_refs): Delete. | |
289 | (_bfd_elf_strtab_clear_all_refs): Declare. | |
290 | (_bfd_elf_strtab_resize): Declare. | |
291 | * elf-strtab.c (_bfd_elf_strtab_clear_refs): Delete. | |
292 | (_bfd_elf_strtab_clear_all_refs): New function. | |
293 | (_bfd_elf_strtab_resize): Likewise. | |
294 | * elflink.c (elf_link_add_object_symbols): Use _bfd_elf_strtab_resize. | |
295 | ||
698600e4 AM |
296 | 2013-02-18 Alan Modra <amodra@gmail.com> |
297 | ||
298 | * elf-bfd.h (struct elf_obj_tdata): Move find_line_info, local_stubs, | |
299 | local_call_stubs, elf_data_symbol, elf_text_symbol, elf_data_section, | |
300 | and elf_text_section to.. | |
301 | * elfxx-mips.c (struct mips_elf_obj_tdata): ..here. Update all refs. | |
302 | * elf64-alpha.c (struct mips_elf_find_line): Rename to.. | |
303 | (struct alpha_elf_find_line): ..this. | |
304 | (struct alpha_elf_obj_tdata): Add find_line_info, update refs. | |
305 | ||
3d5bef4c L |
306 | 2013-02-16 H.J. Lu <hongjiu.lu@intel.com> |
307 | ||
308 | PR ld/15146 | |
309 | * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED | |
310 | for references from the dummy bfd. | |
311 | ||
313ed4a9 L |
312 | 2013-02-16 H.J. Lu <hongjiu.lu@intel.com> |
313 | ||
314 | PR ld/15149 | |
315 | * elflink.c (elf_link_add_object_symbols): Also track weak | |
316 | references. | |
317 | ||
989fbeff L |
318 | 2013-02-15 H.J. Lu <hongjiu.lu@intel.com> |
319 | ||
320 | PR binutils/15151 | |
321 | * archive.c (_bfd_find_nested_archive): Don't allow a nested | |
322 | archive pointing to itself. | |
323 | (_bfd_get_elt_at_filepos): Revert the last 2 changes. | |
324 | ||
a043396b NC |
325 | 2013-02-15 Nick Clifton <nickc@redhat.com> |
326 | ||
327 | PR binutils/15140 | |
328 | * archive.c (_bfd_get_elt_at_filepos): Prevent an infinite loop | |
329 | accessing a corrupt nested archive. | |
330 | ||
13db6b44 RS |
331 | 2013-02-13 Richard Sandiford <rdsandiford@googlemail.com> |
332 | ||
333 | * elfxx-mips.c (mips_got_page_ref): New structure. | |
334 | (mips_got_page_entry): Use a section rather than a (bfd, symndx) | |
335 | pair to represent the anchor point. | |
336 | (mips_got_info): Add a got_page_refs field. | |
337 | (mips_elf_link_hash_table): Add a sym_cache field. | |
338 | (mips_got_page_ref_hash, mips_got_page_ref_eq): New functions. | |
339 | (mips_got_page_entry_hash, mips_got_page_entry_eq): Update for | |
340 | new anchor representation. | |
341 | (mips_elf_create_got_info): Create got_page_refs rather than | |
342 | got_page_entries. | |
343 | (mips_elf_record_got_page_ref): New function. | |
344 | (mips_elf_pages_for_range): Move further down file. | |
345 | (mips_elf_record_got_page_entry): Likewise. Take a got as argument. | |
346 | Use a section rather than a (bfd, symndx) pair to represent the | |
347 | anchor point. | |
348 | (mips_elf_resolve_got_page_ref): New function. | |
349 | (mips_elf_resolve_final_got_entries): Use it to populate | |
350 | got_page_entries. | |
351 | (_bfd_mips_elf_check_relocs): Call mips_elf_record_got_page_ref | |
352 | rather than mips_elf_record_got_page_entry. Only nullify h | |
353 | afterwards. | |
354 | (mips_elf_lay_out_got): Call mips_elf_resolve_final_got_entries | |
355 | earlier. | |
356 | ||
57093f5e RS |
357 | 2013-02-12 Richard Sandiford <rdsandiford@googlemail.com> |
358 | ||
359 | * elfxx-mips.c (mips_elf_lay_out_got): Count VxWorks GOT relocs | |
360 | in g->relocs. | |
361 | ||
9c3f90c4 AM |
362 | 2013-02-12 Alan Modra <amodra@gmail.com> |
363 | ||
364 | * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide | |
365 | suitable definition when using generic linker hash table. | |
366 | ||
476366af RS |
367 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
368 | ||
369 | * elfxx-mips.c (mips_elf_count_got_entries): Delete. | |
370 | (mips_elf_check_recreate_got, mips_elf_recreate_got): Take a | |
371 | mips_elf_traverse_got_arg. Count GOT entries. | |
372 | (mips_elf_resolve_final_got_entries): Take the bfd_link_info | |
373 | as argument. Update after above changes. | |
374 | (mips_elf_merge_got, mips_elf_lay_out_got): Don't call | |
375 | mips_elf_count_got_entries. Update the calls to | |
376 | mips_elf_resolve_final_got_entries. | |
377 | ||
9ab066b4 RS |
378 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
379 | ||
380 | * elfxx-mips.c (mips_got_tls_type): New enum. | |
381 | (mips_got_entry): Add tls_initialized. | |
382 | (mips_elf_got_entry_hash, mips_elf_got_entry_eq, mips_tls_got_relocs) | |
383 | (mips_elf_count_got_entry, mips_elf_initialize_tls_index): Remove | |
384 | GOT_TLS_TYPE masks. | |
385 | (mips_elf_reloc_tls_type, mips_tls_got_entries) | |
386 | (mips_elf_record_global_got_symbol, mips_elf_initialize_tls_index) | |
387 | (_bfd_mips_elf_finish_dynamic_symbol): Use GOT_TLS_NONE rather | |
388 | than GOT_NORMAL. | |
389 | (mips_elf_initialize_tls_slots): Replace got_offset and tls_type_p | |
390 | arguments with a GOT entry. Remove GOT_TLS_TYPE masks. Use | |
391 | tls_initialized rather than GOT_TLS_DONE. | |
392 | (mips_tls_got_index): Delete. | |
393 | (mips_elf_local_got_index, mips_elf_global_got_index): Use | |
394 | mips_elf_initialize_tls_slots rather than mips_tls_got_index. | |
395 | (mips_elf_record_got_entry): Initialize tls_initialized. | |
396 | ||
6c42ddb9 RS |
397 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
398 | ||
399 | * elfxx-mips.c (mips_got_entry): Remove tls_ldm_offset. | |
400 | (mips_elf_link_hash_entry): Remove tls_ie_type, tls_gd_type, | |
401 | tls_ie_got_offset and tls_gd_got_offset. | |
402 | (mips_elf_link_hash_newfunc): Remove initialization. | |
403 | (mips_elf_create_got_info): Likewise. | |
404 | (mips_elf_count_local_got_entries, mips_elf_count_global_tls_entries) | |
405 | (mips_tls_single_got_index): Delete. | |
406 | (mips_elf_local_got_index): Always use the GOT entry to track | |
407 | GOT indices. | |
408 | (mips_elf_global_got_index): Likewise. | |
409 | (mips_elf_create_local_got_entry): Assert that TLS entries have | |
410 | already been allocated. | |
411 | (mips_elf_record_global_got_symbol): Don't initialize | |
412 | tls_ie_type or tls_gd_type. | |
413 | (mips_elf_count_got_symbols): Only count reloc-only GOT entries here. | |
414 | (mips_elf_initialize_tls_index): Allocate a GOT index for every TLS | |
415 | entry. | |
416 | (mips_elf_lay_out_got): Use mips_elf_count_got_entries to count | |
417 | the GOT entries. | |
418 | (_bfd_mips_elf_finish_dynamic_symbol): Assert that TLS GOT offsets | |
419 | have been allocated. | |
420 | (_bfd_mips_elf_copy_indirect_symbol): Remove handling of | |
421 | tls_ie_type and tls_gd_type. | |
422 | ||
ebc53538 RS |
423 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
424 | ||
425 | * elfxx-mips.c (mips_elf_create_local_got_entry): Tidy. Avoid | |
426 | aliasing violation. Check for htab allocation failures. | |
427 | ||
13fbec83 RS |
428 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
429 | ||
430 | * elfxx-mips.c (mips_elf_primary_global_got_index): New function, | |
431 | split out from... | |
432 | (mips_elf_global_got_index): ...here. Reorder arguments so that | |
433 | the output bfd and info come first. | |
434 | (mips_elf_calculate_relocation): Update the call to | |
435 | mips_elf_global_got_index accordingly. | |
436 | (_bfd_mips_elf_finish_dynamic_symbol): Use | |
437 | mips_elf_primary_global_got_index rather than | |
438 | mips_elf_global_got_index. | |
439 | (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. | |
440 | ||
3dff0dd1 RS |
441 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
442 | ||
443 | * elfxx-mips.c (mips_got_entry): Update comments. | |
444 | (mips_elf_multi_got_entry_eq): Rename to... | |
445 | (mips_elf_got_entry_eq): ...this, deleting the old definition. | |
446 | (mips_elf_create_got_info): Remove master_got_p argument. | |
447 | Always use mips_elf_got_entry_eq. | |
448 | (mips_elf_bfd_got, mips_elf_multi_got, mips_elf_create_got_section): | |
449 | Update calls accordingly. | |
450 | ||
d7206569 RS |
451 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
452 | ||
453 | * elfxx-mips.c (mips_got_info): Remove bfd2got. | |
454 | (mips_elf_bfd2got_hash): Delete. | |
455 | (mips_elf_got_per_bfd_arg): Remove bfd2got. | |
456 | (mips_elf_replace_bfd_got, mips_elf_count_got_entries): New functions. | |
457 | (mips_elf_global_got_index, mips_elf_create_local_got_entry): Use | |
458 | g->next to test for the multigot case. Use mips_elf_bfd_got rather | |
459 | than mips_elf_got_for_ibfd. | |
460 | (mips_elf_bfd2got_entry_hash, mips_elf_bfd2got_entry_eq) | |
461 | (mips_elf_got_for_ibfd, mips_elf_get_got_for_bfd): Delete. | |
462 | (mips_elf_make_got_per_bfd): Replace with... | |
463 | (mips_elf_add_got_entry): ...this new function. | |
464 | (mips_elf_make_got_pages_per_bfd): Replace with... | |
465 | (mips_elf_add_got_page_entry): ...this new function. | |
466 | (mips_elf_merge_got_with): Replace bfd2got argument with separate | |
467 | bfd and GOT arguments. Use mips_elf_add_got_entry and | |
468 | mips_elf_add_got_page_entry instead of mips_elf_make_got_per_bfd | |
469 | and mips_elf_make_got_pages_per_bfd. Use mips_elf_replace_bfd_got | |
470 | to set the BFD's GOT and free the old table. | |
471 | (mips_elf_merge_got): Replace bfd2got argument with separate | |
472 | bfd and GOT arguments. Apply mips_elf_resolve_final_got_entries. | |
473 | Use mips_elf_count_got_entries to count the number of entries in | |
474 | each GOT. Update the calls to mips_elf_merge_got_with. | |
475 | (mips_elf_adjust_gp): Use g->next to test for the multigot case. | |
476 | Use mips_elf_bfd_got rather than mips_elf_got_for_ibfd. | |
477 | (mips_elf_multi_got): Don't create the bfd2got hash table. | |
478 | Replace hash table traversal with a walk over the input bfds, | |
479 | updating the call to mips_elf_merge_got. Use mips_elf_replace_bfd_got | |
480 | to set the output bfd's GOT. | |
481 | (mips_elf_lay_out_got): Rename "sub" to "ibfd". Record that all | |
482 | bfds use the master GOT in the single-GOT case. | |
483 | (_bfd_mips_elf_finish_dynamic_sections): Use mips_elf_bfd_got | |
484 | rather than mips_elf_got_for_ibfd. | |
485 | ||
ee227692 RS |
486 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
487 | ||
488 | * elfxx-mips.c (mips_elf_obj_tdata): Add a got field. | |
489 | (mips_elf_bfd_got, mips_elf_record_got_entry): New functions. | |
490 | (mips_elf_record_global_got_symbol): Update the hash entry before | |
491 | adding the mips_got_entry. Use mips_elf_record_got_entry to do | |
492 | the latter. | |
493 | (mips_elf_record_local_got_symbol): Use mips_elf_record_got_entry. | |
494 | (mips_elf_record_got_page_entry): Record the entry in both the | |
495 | master and bfd GOTs. | |
496 | ||
72e7511a RS |
497 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
498 | ||
499 | * elfxx-mips.c (mips_elf_recreate_got): Don't change the entry; | |
500 | create another one if necessary. | |
501 | (mips_elf_set_gotidx): New function. | |
502 | (mips_elf_set_global_gotidx): Use it. | |
503 | (mips_elf_initialize_tls_index): Likewise. Take a | |
504 | mips_elf_traverse_got_arg as argument. | |
505 | (mips_elf_lay_out_got): Update use of mips_elf_initialize_tls_index. | |
506 | (mips_elf_multi_got): Likewise. Cope with error returns from | |
507 | mips_elf_set_global_gotidx. | |
508 | ||
ab361d49 RS |
509 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
510 | ||
511 | * elfxx-mips.c (mips_got_info): Add relocs field. | |
512 | (mips_elf_set_global_got_offset_arg, mips_elf_count_tls_arg): Replace | |
513 | with... | |
514 | (mips_elf_traverse_got_arg): ...this new structure. | |
515 | (mips_elf_count_local_tls_relocs): Delete. | |
516 | (mips_elf_count_global_tls_relocs): Likewise. | |
517 | (mips_elf_count_got_entry): New function. | |
518 | (mips_elf_count_local_got_entries): Likewise. | |
519 | (mips_elf_count_global_tls_entries): Take a mips_elf_traverse_got_arg | |
520 | rather than a mips_elf_count_tls_arg. Count both relocs and entries. | |
521 | (mips_elf_record_local_got_symbol): Don't count got entries here. | |
522 | (mips_elf_make_got_per_bfd): Use mips_elf_count_got_entry. | |
523 | (mips_elf_set_global_got_offset): Split into... | |
524 | (mips_elf_set_global_got_area, mips_elf_set_global_gotidx): ...these | |
525 | new functions. Take a mips_elf_traverse_got_arg rather than a | |
526 | mips_elf_set_global_got_offset_arg. Don't count TLS relocs here. | |
527 | Use g->relocs to record the number of relocs needed for global GOT | |
528 | entries. | |
529 | (mips_elf_multi_got): Use mips_elf_traverse_got_arg rather than | |
530 | mips_elf_set_global_got_offset_arg. Use the relocs field to count | |
531 | relocations. Update for above function split. | |
532 | (mips_elf_lay_out_got): Use mips_elf_count_local_got_entries | |
533 | to count both the number of GOT entries and the number of TLS | |
534 | relocs required by local entries. Likewise | |
535 | mips_elf_count_global_tls_entries and global entries. | |
536 | Remove uses of mips_elf_count_local_tls_relocs and | |
537 | mips_elf_count_global_tls_relocs. | |
538 | ||
e641e783 RS |
539 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
540 | ||
541 | * elfxx-mips.c (mips_got_entry): Update comment above tls_type entry | |
542 | to say that each structure represents only one type of TLS reference. | |
543 | (GOT_TLS_TYPE): New define. | |
544 | (mips_elf_link_hash_entry): Temporarily split tls_type and | |
545 | tls_got_offset into two variables each. | |
546 | (mips_elf_link_hash_newfunc): Update accordingly. | |
547 | (mips_elf_got_entry_eq, mips_elf_got_entry_hash) | |
548 | (mips_elf_multi_got_entry_eq): Require the tls_type to be the same. | |
549 | (mips_elf_reloc_tls_type, mips_tls_got_entries): New functions. | |
550 | (mips_tls_got_relocs): Use a switch statement. | |
551 | (mips_elf_count_global_tls_entries): Handle the new hash entry fields. | |
552 | (mips_elf_initialize_tls_slots): Use a switch statement. Avoid | |
553 | local "offset" variable. | |
554 | (mips_tls_got_index): Remove r_type argument and assert. Remove | |
555 | code that handled entries with two TLS types; always use the | |
556 | original got_index instead. | |
557 | (mips_tls_single_got_index): New function. | |
558 | (mips_elf_local_got_index): Use entry->tls_type to check for | |
559 | TLS entries. Use mips_tls_single_got_index. Update call to | |
560 | mips_tls_got_index. | |
561 | (mips_elf_global_got_index): Use mips_elf_reloc_tls_type. | |
562 | Use p->tls_type to check for TLS entries. Update call to | |
563 | mips_tls_got_index. Use mips_tls_single_got_index. | |
564 | (mips_elf_create_local_got_entry): Use mips_elf_reloc_tls_type. | |
565 | Use entry.tls_type to check for TLS entries. | |
566 | (mips_elf_record_global_got_symbol): Replace tls_flag argument | |
567 | with r_type argument. Use mips_elf_reloc_tls_type. | |
568 | Set up the new hash entry fields. | |
569 | (mips_elf_record_local_got_symbol): Replace tls_flag argument | |
570 | with r_type argument. Use mips_elf_reloc_tls_type and | |
571 | mips_tls_got_entries. Remove code that handled entries | |
572 | with multiple TLS types. | |
573 | (mips_elf_make_got_per_bfd): Use mips_tls_got_entries. | |
574 | (mips_elf_initialize_tls_index): Handle new hash entry fields. | |
575 | Use equality rather than masks when checking for specific TLS types. | |
576 | Use mips_tls_got_entries. Remove code that handled entries | |
577 | with multiple TLS types. | |
578 | (mips_elf_calculate_relocation): Use TLS_RELOC_P instead of | |
579 | testing the hash table entry. | |
580 | (_bfd_mips_elf_check_relocs): Update calls to | |
581 | mips_elf_record_global_got_symbol and mips_elf_record_local_got_symbol. | |
582 | (_bfd_mips_elf_finish_dynamic_symbol): Don't check h->type. | |
583 | (_bfd_mips_elf_copy_indirect_symbol): Handle new hash entry fields. | |
584 | ||
d9bf376d RS |
585 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
586 | ||
587 | * elfxx-mips.c (mips_elf_multi_got_entry_hash): Rename to... | |
588 | (mips_elf_got_entry_hash): ...this, deleting the old version. | |
589 | (mips_elf_create_got_info): Use mips_elf_got_entry_hash for | |
590 | both types of GOT. | |
591 | ||
5334aa52 RS |
592 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
593 | ||
594 | * elfxx-mips.c (mips_elf_create_got_info): New function. | |
595 | (mips_elf_get_got_for_bfd, mips_elf_multi_got): Use it. | |
596 | (mips_elf_create_got_section): Likewise. | |
597 | ||
946c668d RS |
598 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
599 | ||
600 | * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set | |
601 | gotidx to -1. | |
602 | ||
59b08994 RS |
603 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
604 | ||
605 | * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. | |
606 | ||
d222d210 RS |
607 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
608 | ||
609 | * elfxx-mips.c (mips_got_info): Move global_gotsym to... | |
610 | (mips_elf_link_hash_table): ...here. Update rest of file accordingly. | |
611 | ||
1fd20d70 RS |
612 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
613 | ||
614 | * elfxx-mips.c (mips_elf_count_global_tls_entries) | |
615 | (mips_elf_count_global_tls_relocs): Don't count indirect or | |
616 | warning symbols. | |
617 | (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right | |
618 | number of TLS entries were allocated. | |
619 | ||
7d94b319 RS |
620 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
621 | ||
622 | * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts. | |
623 | ||
17214937 RS |
624 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
625 | ||
626 | * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count | |
627 | if there are TLS relocations. | |
628 | ||
9efeb38d RS |
629 | 2013-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
630 | ||
631 | * elfxx-mips.c (mips_elf_recreate_got): Remove free. | |
632 | (mips_elf_resolve_final_got_entries): Remove bogus comment. | |
633 | ||
9c3f90c4 AM |
634 | 2013-02-11 Alan Modra <amodra@gmail.com> |
635 | ||
636 | * elfcode.h (elf_checksum_contents): Free contents. | |
637 | * elf-bfd.h (_bfd_elf_link_hash_table_free): Declare. | |
638 | * elflink.c (_bfd_elf_link_hash_table_free): New function. | |
639 | (elf_final_link_free): New function, extracted from.. | |
640 | (bfd_elf_final_link): ..here. Always call | |
641 | _bfd_elf_write_section_eh_frame_hdr. | |
642 | * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Default to | |
643 | _bfd_elf_link_hash_table_free. | |
644 | * libbfd-in.h (_bfd_merge_sections_free): Declare. | |
645 | * libbfd.h: Regenerate. | |
646 | * merge.c (_bfd_merge_sections_free): New function. | |
647 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): Free | |
648 | hdr_info->array. | |
649 | * elf-m10300.c (elf32_mn10300_link_hash_table_free): Call | |
650 | _bfd_elf_link_hash_table_free. | |
651 | * elf32-arm.c (elf32_arm_link_hash_table_free): Likewise. | |
652 | * elf32-avr.c (elf32_avr_link_hash_table_free): Likewise. | |
653 | * elf32-hppa.c (elf32_hppa_link_hash_table_free): Likewise. | |
654 | * elf32-i386.c (elf_i386_link_hash_table_free): Likewise. | |
655 | * elf32-m68hc1x.c (m68hc11_elf_hash_table_free): Likewise. | |
656 | * elf32-m68k.c (elf_m68k_link_hash_table_free): Likewise. | |
657 | * elf32-metag.c (elf_metag_link_hash_table_free): Likewise. | |
658 | * elf32-xgate.c (xgate_elf_bfd_link_hash_table_free): Likewise. | |
659 | * elf64-aarch64.c (elf64_aarch64_link_hash_table_free): Likewise. | |
660 | * elf64-ia64-vms.c (elf64_ia64_hash_table_free): Likewise. | |
661 | * elf64-ppc.c (ppc64_elf_link_hash_table_free): Likewise. | |
662 | * elf64-x86-64.c (elf_x86_64_link_hash_table_free): Likewise. | |
663 | * elfnn-ia64.c (elfNN_ia64_hash_table_free): Likewise. | |
664 | * elf32-cr16.c (elf32_cr16_link_hash_table_free): Delete. | |
665 | (bfd_elf32_bfd_link_hash_table_free): Don't define. | |
666 | * elf32-tic6x.c (elf32_tic6x_link_hash_table_free): Delete. | |
667 | (bfd_elf32_bfd_link_hash_table_free): Dont' define. | |
668 | ||
7bf52ea2 AM |
669 | 2013-02-10 Alan Modra <amodra@gmail.com> |
670 | ||
671 | * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. | |
672 | * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. | |
673 | * m68klinux.c (linux_link_hash_table_create): Likewise. | |
674 | * sparclinux.c (linux_link_hash_table_create): Likewise. | |
675 | * sunos.c (sunos_link_hash_table_create): Likewise. | |
676 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. | |
677 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. | |
678 | * elf32-arm.c (elf32_arm_link_hash_table_create): Likewise. | |
679 | * elf32-avr.c (elf32_avr_link_hash_table_create): Likewise. | |
680 | * elf32-cr16.c (elf32_cr16_link_hash_table_create): Likewise. | |
681 | * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. | |
682 | * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. | |
683 | * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. | |
684 | * elf32-lm32.c (lm32_elf_link_hash_table_create): Likewise. | |
685 | * elf32-m32r.c (m32r_elf_link_hash_table_create): Likewise. | |
686 | * elf32-m68hc1x.c (m68hc11_elf_hash_table_create): Likewise. | |
687 | * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. | |
688 | * elf32-metag.c (elf_metag_link_hash_table_create): Likewise. | |
689 | * elf32-nios2.c (nios2_elf32_link_hash_table_create): Likewise. | |
690 | * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. | |
691 | * elf32-score.c (elf32_score_link_hash_table_create): Likewise. | |
692 | * elf32-spu.c (spu_elf_link_hash_table_create): Likewise. | |
693 | * elf32-tic6x.c (elf32_tic6x_link_hash_table_create): Likewise. | |
694 | * elf32-vax.c (elf_vax_link_hash_table_create): Likewise. | |
695 | * elf32-xgate.c (xgate_elf_bfd_link_hash_table_create): Likewise. | |
696 | * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Likewise. | |
697 | * elf64-aarch64.c (elf64_aarch64_link_hash_table_create): Likewise. | |
698 | * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. | |
699 | * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. | |
700 | * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Likewise. | |
701 | * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. | |
702 | * elflink.c (_bfd_elf_link_hash_table_create): Likewise. | |
703 | (_bfd_elf_link_hash_table_init): Assume zero fill table on entry. | |
704 | ||
22cdc249 AM |
705 | 2013-02-10 Alan Modra <amodra@gmail.com> |
706 | ||
707 | * i386linux.c (linux_link_hash_table_create): Allocate table | |
708 | with bfd_zmalloc, not bfd_alloc. | |
709 | * pdp11.c (link_hash_table_create): Allocate table with | |
710 | bfd_malloc, not bfd_alloc. | |
711 | * elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table | |
712 | with bfd_zmalloc, not bfd_zalloc. | |
713 | (bfin_link_hash_table_create): Likewise. | |
714 | * elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise. | |
715 | * elf64-hppa.c (elf64_hppa_hash_table_create): Likewise. | |
716 | ||
0e5de31a AM |
717 | 2013-02-10 Alan Modra <amodra@gmail.com> |
718 | ||
719 | PR ld/15113 | |
720 | * elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc. | |
721 | ||
ad1fc92a NC |
722 | 2013-02-08 Markos Chandras <markos.chandras@imgtec.com> |
723 | ||
724 | * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED | |
725 | sections. | |
34c67f14 NC |
726 | (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss |
727 | symbol. | |
ad1fc92a | 728 | |
170a8295 YZ |
729 | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> |
730 | ||
731 | * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from | |
732 | 288 to 272. | |
733 | ||
619a703e AM |
734 | 2013-02-08 Alan Modra <amodra@gmail.com> |
735 | ||
736 | PR binutils/15106 | |
737 | * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache. | |
738 | * elf.c (elf_find_function): Revert last change. Use new | |
739 | tdata field rather than static vars for cache. | |
740 | ||
02acbe22 L |
741 | 2013-02-07 H.J. Lu <hongjiu.lu@intel.com> |
742 | ||
743 | PR ld/15107 | |
744 | * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if | |
745 | symbol is defined in regular object. | |
746 | ||
1965d5f2 AM |
747 | 2013-02-07 Roberto Agostino Vitillo <ra.vitillo@gmail.com> |
748 | ||
749 | PR binutils/15106 | |
750 | * elf.c (elf_find_function): Don't cache if symbols change. | |
751 | ||
dafbc74d AM |
752 | 2013-02-07 Alan Modra <amodra@gmail.com> |
753 | ||
754 | PR binutils/14873 | |
755 | * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to | |
756 | copy attributes from or to non-ELF. | |
757 | ||
20e52bd2 L |
758 | 2013-02-06 H.J. Lu <hongjiu.lu@intel.com> |
759 | ||
760 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count | |
761 | for non-zero TLS symbol. | |
762 | (elf_i386_relocate_section): Don't resolve size relocation against | |
763 | non-zero TLS symbol. | |
764 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear | |
765 | pc_count for non-zero TLS symbol. | |
766 | (elf_x86_64_relocate_section): Don't resolve size relocation | |
767 | against non-zero TLS symbol. | |
768 | ||
36591ba1 | 769 | 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> |
20e52bd2 | 770 | Andrew Jenner <andrew@codesourcery.com> |
36591ba1 SL |
771 | |
772 | Based on patches from Altera Corporation. | |
773 | ||
774 | * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo. | |
775 | (ALL_MACHINES_CFILES): Add cpu-nios2.c. | |
776 | (BFD_BACKENDS): Add elf32-nios2.lo. | |
777 | (BFD32_BACKENDS_CFILES): Add elf32-nios2.c. | |
778 | * Makefile.in: Regenerated. | |
779 | * configure.in: Add entries for bfd_elf32_bignios2_vec and | |
780 | bfd_elf32_littlenios2_vec. | |
781 | * configure: Regenerated. | |
782 | * config.bfd: Add cases for nios2. | |
783 | * archures.c (enum bfd_architecture): Add bfd_arch_nios2. | |
784 | (bfd_mach_nios2): Define. | |
785 | (bfd_nios2_arch): Declare. | |
786 | (bfd_archures_list): Add bfd_nios2_arch. | |
787 | * targets.c (bfd_elf32_bignios2_vec): Declare. | |
788 | (bfd_elf32_littlenios2_vec): Declare. | |
789 | (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and | |
790 | bfd_elf32_littlenios2_vec. | |
791 | * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA. | |
792 | * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations. | |
793 | * bfd-in2.h: Regenerated. | |
794 | * libbfd.h: Regenerated. | |
795 | * cpu-nios2.c: New file. | |
796 | * elf32-nios2.c: New file. | |
797 | ||
ca6b5f82 AM |
798 | 2013-02-06 Alan Modra <amodra@gmail.com> |
799 | ||
800 | * elf32-arm.c (elf32_arm_final_link_relocate): Only test for | |
801 | stubs in stub_bfd. | |
802 | ||
37ba9f93 AM |
803 | 2013-02-06 Alan Modra <amodra@gmail.com> |
804 | ||
805 | * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'. | |
806 | * Makefile.in: Regenerate. | |
807 | ||
70a38d42 SDJ |
808 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
809 | Pedro Alves <palves@redhat.com> | |
810 | ||
811 | * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. | |
812 | * elf-bfd.h (elf_internal_linux_prpsinfo): New structure | |
813 | declaration. | |
814 | (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) | |
815 | (elfcore_write_ppc32_linux_prpsinfo32): New declarations. | |
816 | * elf-linux-psinfo.h: New file. | |
817 | * elf.c: Include elf-linux-psinfo.h. | |
818 | (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): | |
819 | New functions. | |
820 | * elf32-ppc.c: Include `elf-linux-psinfo.h'. | |
821 | (elf_external_ppc_linux_prpsinfo32): New structure declaration. | |
822 | (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. | |
823 | (elfcore_write_ppc_linux_prpsinfo32): New function. | |
824 | ||
5ee43bc4 TG |
825 | 2013-02-04 Tristan Gingold <gingold@adacore.com> |
826 | ||
827 | * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no | |
828 | start address. | |
829 | ||
0cadb185 AM |
830 | 2013-02-04 Alan Modra <amodra@gmail.com> |
831 | ||
832 | * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. | |
833 | (BFD64_BACKENDS_CFILES): Remove elf-nacl.c. | |
834 | * Makefile.in: Regenerate. | |
835 | * po/SRC-POTFILES.in: Regenerate. | |
836 | ||
5d42dfb5 AM |
837 | 2013-02-04 Alan Modra <amodra@gmail.com> |
838 | ||
839 | * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. | |
840 | * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. | |
841 | ||
c57da1a7 AM |
842 | 2013-02-01 Alan Modra <amodra@gmail.com> |
843 | ||
844 | * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol | |
845 | clears def_regular. | |
846 | ||
c0fd7846 TG |
847 | 2013-01-31 Tristan Gingold <gingold@adacore.com> |
848 | ||
849 | * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections | |
850 | earlier. Fix status checking of bfd_mach_o_scan_start_address. | |
851 | (bfd_mach_o_scan_start_address): Handle LC_MAIN. | |
852 | ||
b45b6908 AM |
853 | 2013-01-31 Alan Modra <amodra@gmail.com> |
854 | David S. Miller <davem@davemloft.net> | |
855 | ||
856 | PR ld/15056 | |
857 | * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit | |
858 | references to __tls_get_addr. | |
859 | * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct | |
860 | vtinherit and vtentry reloc handling too. | |
861 | * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro. | |
862 | ||
bcaa2f82 AM |
863 | 2013-01-31 Alan Modra <amodra@gmail.com> |
864 | ||
865 | * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". | |
866 | ||
22aa0c7e AM |
867 | 2013-01-31 Alan Modra <amodra@gmail.com> |
868 | ||
869 | * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. | |
870 | ||
bc30df16 AM |
871 | 2013-01-28 Alan Modra <amodra@gmail.com> |
872 | ||
873 | * elf64-ppc.c: Use %T to print symbols names and remove redundant | |
874 | "relocation" in error messages throughout file. | |
875 | (ppc64_elf_relocate_section): Remove sibling call error message, | |
876 | replace with "call lacks nop". Specially report errors for | |
877 | branches to function entry points via OPD lookup and branches | |
878 | to stubs. Remove NULL symbol handling now done by %T. | |
879 | ||
89d7b8aa AM |
880 | 2013-01-28 Alan Modra <amodra@gmail.com> |
881 | ||
882 | * archive.c (bfd_generic_archive_p): Return target and keep | |
883 | ardata on partial matches. | |
884 | * format.c (bfd_check_format_matches): Adjust for above | |
885 | change. Remove bfd_error_file_ambiguously_recognized dead | |
886 | code. | |
887 | ||
c9ba0c87 AM |
888 | 2013-01-26 Alan Modra <amodra@gmail.com> |
889 | ||
890 | * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, | |
891 | bfd_preserve_finish): Move to.. | |
892 | * format.c: ..here, splitting out.. | |
893 | (bfd_reinit): ..this. New function. | |
894 | (bfd_check_format_matches): Use bfd_preserve_save/restore to | |
895 | keep bfd state for a match. | |
896 | * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore. | |
897 | * elfcore.h (elf_core_file_p): Likewise. | |
898 | * mach-o.c (bfd_mach_o_header_p): Likewise. | |
899 | * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise. | |
900 | * xsym.c (bfd_sym_object_p): Likewise. | |
901 | * mmo.c (mmo_scan): Clear abfd->symcount. | |
902 | * opncls.c (_bfd_new_bfd): Use a smaller section hash table. | |
903 | * section.c (bfd_section_list_clear): Clear section_htab.count. | |
904 | * bfd-in2.h: Regenerate. | |
905 | ||
d79dcc73 NC |
906 | 2013-01-25 Michael Schewe <michael.schewe@gmx.net> |
907 | ||
908 | * elf32-h8300.c (elf32_h8_relax_section): When checking for a | |
909 | second reloc, make sure that the reloc potentially exists first. | |
910 | ||
78c8d46c NC |
911 | 2013-01-24 Nick Clifton <nickc@redhat.com> |
912 | ||
913 | * archures.c: Add bfd_mach_v850e3v5. | |
914 | * bfd-in2.h: Regenerate. | |
915 | * cpu-v850.c: Add entries for v850e2v5 and v850e3v5. | |
916 | * cpu-v850_rh850.c: Likewise. | |
917 | * elf32-v850.c: Add support for v850e3v5 architecture. | |
918 | ||
1a18f0ae NC |
919 | 2013-01-23 Markos Chandras <markos.chandras@imgtec.com> |
920 | ||
921 | * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link. | |
922 | ||
f65a9e53 AM |
923 | 2013-01-23 Leif Ekblad <leif@rdos.net> |
924 | ||
925 | * config.bfd (x86_64-*-rdos*): Remove targ_selvecs. | |
926 | ||
3bea1fcb L |
927 | 2013-01-18 H.J. Lu <hongjiu.lu@intel.com> |
928 | ||
929 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for | |
930 | non-zero TLS symbol. | |
931 | (elf_i386_relocate_section): Resolve size relocation against | |
932 | non-zero TLS symbol. | |
933 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count | |
934 | for non-zero TLS symbol. | |
935 | (elf_x86_64_relocate_section): Resolve size relocation against | |
936 | non-zero TLS symbol. | |
937 | ||
b1b00fcc MF |
938 | 2013-01-18 Mike Frysinger <vapier@gentoo.org> |
939 | ||
940 | * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH | |
941 | when new_dtags is false. Only add DT_RUNPATH when new_dtags is | |
942 | true. | |
943 | ||
06a6a421 L |
944 | 2013-01-17 H.J. Lu <hongjiu.lu@intel.com> |
945 | ||
946 | * elf32-i386.c (elf_i386_check_relocs): Count size relocation as | |
947 | PC-relative relocation. | |
948 | * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation | |
949 | as PC-relative relocation. | |
950 | ||
6a3e1bae L |
951 | 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> |
952 | ||
953 | * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 | |
954 | check. | |
955 | (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. | |
956 | ||
957 | * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 | |
958 | and R_X86_64_SIZE64 check. | |
959 | (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 | |
960 | nor R_X86_64_SIZE64. | |
961 | ||
1788fc08 L |
962 | 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> |
963 | ||
964 | * bfd-in2.h: Regenerated. | |
965 | * libbfd.h: Likewise. | |
966 | ||
967 | * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. | |
968 | (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. | |
969 | (elf_i386_check_relocs): Handle R_386_SIZE32. | |
970 | (elf_i386_gc_sweep_hook): Likewise. | |
971 | (elf_i386_relocate_section): Likewise. | |
972 | ||
973 | * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 | |
974 | and R_X86_64_SIZE64 entries. | |
975 | (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, | |
976 | (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. | |
977 | (elf_x86_64_reloc_name_lookup): Likewise. | |
978 | (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and | |
979 | R_X86_64_SIZE64. | |
980 | (elf_x86_64_gc_sweep_hook): Likewise. | |
981 | (elf_x86_64_relocate_section): Likewise. | |
982 | ||
983 | * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and | |
984 | BFD_RELOC_SIZE64. | |
985 | ||
1e536451 L |
986 | 2013-01-15 H.J. Lu <hongjiu.lu@intel.com> |
987 | ||
988 | * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE | |
989 | with R_X86_64_RELATIVE64. | |
990 | ||
77bf820f NC |
991 | 2013-01-15 Nick Clifton <nickc@redhat.com> |
992 | ||
993 | * elf32-msp430.c: Fix spelling typo. | |
994 | ||
e2458743 AM |
995 | 2013-01-15 Alan Modra <amodra@gmail.com> |
996 | ||
997 | * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to | |
998 | plt-thread-safe. | |
999 | ||
405bf443 AM |
1000 | 2013-01-14 Alan Modra <amodra@gmail.com> |
1001 | ||
1002 | PR binutils/14813 | |
1003 | * bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06. | |
1004 | (memory_bclose): Likewise. Return 0 on success. | |
1005 | * cache.c (cache_bclose): Likewise. | |
1006 | * opncls.c (opncls_bclose, bfd_close): Likewise. | |
1007 | * vms-lib.c (vms_lib_bclose): Likewise. | |
1008 | * libbfd.h: Regenerate. | |
1009 | ||
ee659f1f AM |
1010 | 2013-01-13 Alan Modra <amodra@gmail.com> |
1011 | ||
1012 | * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak. | |
1013 | Add ref_dynamic_nonweak. | |
1014 | * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. | |
1015 | (_bfd_elf_merge_symbol): Don't call above function. Move | |
1016 | setting of ref_dynamic_nonweak and dynamic_def earlier. Don't | |
1017 | clear dynamic_def. | |
1018 | (elf_link_add_object_symbols): Delete redundant "override" test. | |
1019 | Don't set dynamic_def here. | |
1020 | (elf_link_output_extsym): Update. | |
1021 | ||
68c4a57e L |
1022 | 2013-01-12 H.J. Lu <hongjiu.lu@intel.com> |
1023 | ||
1024 | * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for | |
1025 | normal and TLS symbol access. | |
1026 | * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. | |
1027 | ||
02be4619 AM |
1028 | 2013-01-12 Alan Modra <amodra@gmail.com> |
1029 | ||
1030 | * elf-bfd.h (_bfd_elf_strtab_refcount): Declare. | |
1031 | * elf-strtab.c (_bfd_elf_strtab_refcount): New function. | |
1032 | * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount. | |
1033 | ||
a4542f1b AM |
1034 | 2013-01-12 Alan Modra <amodra@gmail.com> |
1035 | ||
1036 | PR ld/12549 | |
1037 | * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare. | |
1038 | (_bfd_elf_strtab_clear_all_refs): Define. | |
1039 | * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function. | |
1040 | (_bfd_elf_strtab_clear_all_refs): Delete. | |
1041 | * elflink.c (elf_link_add_object_symbols): Clear out added | |
1042 | strtab refs. Correct handling of warning common symbols. | |
1043 | ||
68ffbac6 L |
1044 | 2013-01-10 H.J. Lu <hongjiu.lu@intel.com> |
1045 | ||
1046 | * aout0.c: Remove trailing white spaces. | |
1047 | * archive.c: Likewise. | |
1048 | * archures.c: Likewise. | |
1049 | * bfd-in.h: Likewise. | |
1050 | * bfd-in2.h: Likewise. | |
1051 | * coff-alpha.c: Likewise. | |
1052 | * coff-i860.c: Likewise. | |
1053 | * coff-mips.c: Likewise. | |
1054 | * coff-ppc.c: Likewise. | |
1055 | * coff-tic80.c: Likewise. | |
1056 | * coff-x86_64.c: Likewise. | |
1057 | * coff-z80.c: Likewise. | |
1058 | * coffcode.h: Likewise. | |
1059 | * coffgen.c: Likewise. | |
1060 | * cofflink.c: Likewise. | |
1061 | * compress.c: Likewise. | |
1062 | * corefile.c: Likewise. | |
1063 | * cpu-arm.c: Likewise. | |
1064 | * cpu-avr.c: Likewise. | |
1065 | * cpu-bfin.c: Likewise. | |
1066 | * cpu-cr16.c: Likewise. | |
1067 | * cpu-cr16c.c: Likewise. | |
1068 | * cpu-crx.c: Likewise. | |
1069 | * cpu-h8300.c: Likewise. | |
1070 | * cpu-i386.c: Likewise. | |
1071 | * cpu-lm32.c: Likewise. | |
1072 | * cpu-m68k.c: Likewise. | |
1073 | * cpu-moxie.c: Likewise. | |
1074 | * cpu-msp430.c: Likewise. | |
1075 | * cpu-sh.c: Likewise. | |
1076 | * cpu-xc16x.c: Likewise. | |
1077 | * dwarf2.c: Likewise. | |
1078 | * ecofflink.c: Likewise. | |
1079 | * ecoffswap.h: Likewise. | |
1080 | * elf-ifunc.c: Likewise. | |
1081 | * elf-m10300.c: Likewise. | |
1082 | * elf-vxworks.c: Likewise. | |
1083 | * elf32-avr.c: Likewise. | |
1084 | * elf32-avr.h: Likewise. | |
1085 | * elf32-cr16.c: Likewise. | |
1086 | * elf32-cr16c.c: Likewise. | |
1087 | * elf32-cris.c: Likewise. | |
1088 | * elf32-crx.c: Likewise. | |
1089 | * elf32-frv.c: Likewise. | |
1090 | * elf32-hppa.c: Likewise. | |
1091 | * elf32-i860.c: Likewise. | |
1092 | * elf32-ip2k.c: Likewise. | |
1093 | * elf32-iq2000.c: Likewise. | |
1094 | * elf32-m32c.c: Likewise. | |
1095 | * elf32-m68hc1x.c: Likewise. | |
1096 | * elf32-msp430.c: Likewise. | |
1097 | * elf32-mt.c: Likewise. | |
1098 | * elf32-ppc.c: Likewise. | |
1099 | * elf32-rl78.c: Likewise. | |
1100 | * elf32-s390.c: Likewise. | |
1101 | * elf32-score.h: Likewise. | |
1102 | * elf32-sh-symbian.c: Likewise. | |
1103 | * elf32-sh.c: Likewise. | |
1104 | * elf32-spu.c: Likewise. | |
1105 | * elf32-tic6x.c: Likewise. | |
1106 | * elf32-v850.c: Likewise. | |
1107 | * elf32-xc16x.c: Likewise. | |
1108 | * elf32-xtensa.c: Likewise. | |
1109 | * elf64-alpha.c: Likewise. | |
1110 | * elf64-hppa.c: Likewise. | |
1111 | * elf64-ppc.c: Likewise. | |
1112 | * elf64-s390.c: Likewise. | |
1113 | * elfcore.h: Likewise. | |
1114 | * elflink.c: Likewise. | |
1115 | * elfxx-mips.c: Likewise. | |
1116 | * elfxx-sparc.c: Likewise. | |
1117 | * elfxx-tilegx.c: Likewise. | |
1118 | * ieee.c: Likewise. | |
1119 | * libcoff.h: Likewise. | |
1120 | * libpei.h: Likewise. | |
1121 | * libxcoff.h: Likewise. | |
1122 | * linker.c: Likewise. | |
1123 | * mach-o-i386.c: Likewise. | |
1124 | * mach-o-target.c: Likewise. | |
1125 | * mach-o.c: Likewise. | |
1126 | * mach-o.h: Likewise. | |
1127 | * mmo.c: Likewise. | |
1128 | * opncls.c: Likewise. | |
1129 | * pdp11.c: Likewise. | |
1130 | * pe-x86_64.c: Likewise. | |
1131 | * peXXigen.c: Likewise. | |
1132 | * pef-traceback.h: Likewise. | |
1133 | * pei-x86_64.c: Likewise. | |
1134 | * peicode.h: Likewise. | |
1135 | * plugin.c: Likewise. | |
1136 | * reloc.c: Likewise. | |
1137 | * riscix.c: Likewise. | |
1138 | * section.c: Likewise. | |
1139 | * som.c: Likewise. | |
1140 | * syms.c: Likewise. | |
1141 | * tekhex.c: Likewise. | |
1142 | * ticoff.h: Likewise. | |
1143 | * vaxbsd.c: Likewise. | |
1144 | * xcofflink.c: Likewise. | |
1145 | * xtensa-isa.c: Likewise. | |
1146 | ||
a3c62988 NC |
1147 | 2013-01-10 Will Newton <will.newton@imgtec.com> |
1148 | ||
1149 | * Makefile.am: Add Meta. | |
1150 | * Makefile.in: Regenerate. | |
1151 | * archures.c (bfd_mach_metag): New. | |
1152 | * bfd-in2.h: Regenerate. | |
1153 | * config.bfd: Add Meta. | |
1154 | * configure: Regenerate. | |
1155 | * configure.in: Add Meta. | |
1156 | * cpu-metag.c: New file. | |
1157 | * elf-bfd.h: Add Meta. | |
1158 | * elf32-metag.c: New file. | |
1159 | * elf32-metag.h: New file. | |
1160 | * libbfd.h: Regenerate. | |
1161 | * reloc.c: Add Meta relocations. | |
1162 | * targets.c: Add Meta. | |
1163 | ||
652451f8 YZ |
1164 | 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> |
1165 | ||
1166 | * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. | |
1167 | (elfcore_write_aarch_hw_break): Likewise. | |
1168 | (elfcore_write_aarch_hw_watch): Likewise. | |
1169 | * elf.c (elfcore_grok_aarch_tls): New function. | |
1170 | (elfcore_grok_aarch_hw_break): Likewise. | |
1171 | (elfcore_grok_aarch_hw_watch): Likewise. | |
1172 | (elfcore_grok_note): Call the new functions to handle the | |
1173 | corresponding notes. | |
1174 | (elfcore_write_aarch_tls): New function. | |
1175 | (elfcore_write_aarch_hw_break): Likewise. | |
1176 | (elfcore_write_aarch_hw_watch): Likewise. | |
1177 | (elfcore_write_register_note): Call the new functions to handle the | |
1178 | corresponding pseudo sections. | |
1179 | ||
45a466b5 TT |
1180 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1181 | ||
1182 | * section.c (_bfd_std_section): Rename from std_section. | |
f75e0e33 AM |
1183 | (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr) |
1184 | (STD_SECTION): Update. | |
45a466b5 TT |
1185 | * bfd-in2.h: Rebuild. |
1186 | ||
e407c74b NC |
1187 | 2013-01-04 Juergen Urban <JuergenUrban@gmx.de> |
1188 | ||
1189 | * archures.c (bfd_mach_mips5900): Define. | |
1190 | * bfd-in2.h: Regenerate. | |
1191 | * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets. | |
1192 | * cpu-mips.c: Add support for MIPS r5900. | |
1193 | * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000). | |
1194 | ||
9b239e0e NC |
1195 | 2013-01-03 Nickolai Zeldovich <nickolai@csail.mit.edu> |
1196 | Nick Clifton <nickc@redhat.com> | |
1197 | ||
1198 | * elflink.c (get_value): Prevent the use of an undefined shift | |
1199 | operation. Add sanity checks. | |
1200 | ||
bab4becb | 1201 | 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
884f2a8d | 1202 | |
bab4becb | 1203 | * config.bfd (cr16*-*-uclinux*): New target support. |
884f2a8d | 1204 | |
9911c0fc | 1205 | |
bab4becb | 1206 | For older changes see ChangeLog-2012 |
56882138 | 1207 | \f |
bab4becb | 1208 | Copyright (C) 2013 Free Software Foundation, Inc. |
752937aa NC |
1209 | |
1210 | Copying and distribution of this file, with or without modification, | |
1211 | are permitted in any medium without royalty provided the copyright | |
1212 | notice and this notice are preserved. | |
1213 | ||
56882138 AM |
1214 | Local Variables: |
1215 | mode: change-log | |
1216 | left-margin: 8 | |
1217 | fill-column: 74 | |
1218 | version-control: never | |
1219 | End: |