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