* archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
[external/binutils.git] / bfd / ChangeLog
1 2010-03-26  Matt Rice  <ratmice@gmail.com>
2
3         * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
4         as unique in the armap.
5
6 2010-03-26  Alan Modra  <amodra@gmail.com>
7
8         PR ld/11375
9         * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a
10         possible stub on branches.
11
12 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
13
14         * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
15         (ALL_MACHINES_CFILES): Add cpu-tic6x.c.
16         (BFD32_BACKENDS): Add elf32-tic6x.lo.
17         (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
18         * Makefile.in: Regenerate.
19         * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
20         (bfd_archures_list): Update.
21         * config.bfd (tic6x-*-elf): New.
22         * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
23         New.
24         * configure: Regenerate.
25         * cpu-tic6x.c, elf32-tic6x.c: New.
26         * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
27         BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
28         BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
29         BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
30         BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
31         BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
32         BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
33         BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
34         BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
35         BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
36         BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
37         BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
38         BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
39         * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
40         (_bfd_target_vector): Update.
41         * bfd-in2.h, libbfd.h: Regenerate.
42
43 2010-03-24  H.J. Lu  <hongjiu.lu@intel.com>
44
45         * aout-target.h: Update copyright year.
46         * aout-tic30.c: Likewise.
47         * coff-alpha.c: Likewise.
48         * coff-rs6000.c: Likewise.
49         * coff64-rs6000.c: Likewise.
50         * elf64-mips.c: Likewise.
51         * ieee.c: Likewise.
52         * libecoff.h: Likewise.
53         * mach-o-target.c: Likewise.
54         * mach-o.c: Likewise.
55         * oasys.c: Likewise.
56         * targets.c: Likewise.
57
58 2010-03-24  H.J. Lu  <hongjiu.lu@intel.com>
59
60         * libbfd-in.h: Update copyright year.
61
62 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63
64         PR ld/11413
65         * elflink.c (_bfd_elf_add_default_symbol): Check !executable
66         instead of shared.
67
68 2010-03-19  Jie Zhang  <jie@codesourcery.com>
69
70         * elf32-arm.c (struct section_list): Remove.
71         (section_list): Remove typedef.
72         (record_section_with_arm_elf_section_data): Remove.
73         (find_arm_elf_section_entry): Remove.
74         (get_arm_elf_section_data): Use is_arm_elf.
75         (unrecord_section_with_arm_elf_section_data): Remove.
76         (elf32_arm_new_section_hook): Don't call
77         record_section_with_arm_elf_section_data.
78         (elf32_arm_write_section): Set mapcount to -1 when
79         the map has been used. Don't call
80         unrecord_section_with_arm_elf_section_data.
81         (unrecord_section_via_map_over_sections): Remove.
82         (elf32_arm_close_and_cleanup): Remove.
83         (elf32_arm_bfd_free_cached_info): Remove.
84         (bfd_elf32_close_and_cleanup): Don't define.
85         (bfd_elf32_bfd_free_cached_info): Don't define.
86
87 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
88
89         PR binutils/11396
90         * libcoff-in.h (pe_tdata): Add dont_strip_reloc.
91         * libcoff.h: Regenerated.
92
93         * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Clear F_RELFLG
94         if dont_strip_reloc is set.
95         (_bfd_XX_bfd_copy_private_bfd_data_common): Set
96         dont_strip_reloc on output if there is no .reloc and
97         IMAGE_FILE_RELOCS_STRIPPED isn't set in input.
98
99 2010-03-18  Wei Guozhi  <carrot@google.com>
100
101         PR gas/11323
102         * elf32-arm.c (elf32_arm_reloc_map): Map BFD_RELOC_ARM_GOT_PREL to
103         R_ARM_GOT_PREL.
104         * reloc.c (BFD_RELOC_ARM_GOT_PREL): New ARM relocation.
105         * bfd-in2.h: Regenerate.
106         * libbfd.h: Regenerate.
107
108 2010-03-17  H.J. Lu  <hongjiu.lu@intel.com>
109
110         * reloc.c (BFD_RELOC_SPU_PIC18): Removed.
111         (BFD_RELOC_SPU_STUB): Likewise.
112
113 2010-03-17  Jie Zhang  <jie@codesourcery.com>
114
115         * elf.c (assign_file_positions_for_load_sections): Avoid
116         overflow.
117
118 2010-03-17  Alan Modra  <amodra@gmail.com>
119
120         PR binutils/11382
121         * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using
122         proper type.
123
124 2010-03-17  Alan Modra  <amodra@gmail.com>
125
126         * elf32-arm.c (cortex_a8_erratum_scan): Warning fix.
127
128 2010-03-16  Alan Modra  <amodra@gmail.com>
129
130         * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt.
131         (ppc64_elf_edit_toc): Set it here.
132         (ha_reloc_match): New function.
133         (ppc64_elf_relocate_section): Optimize bigtoc insn sequences.
134
135 2010-03-15  Alan Modra  <amodra@gmail.com>
136
137         * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function.
138         * elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare.
139
140 2010-03-14  Alan Modra  <amodra@gmail.com>
141
142         PR ld/11378
143         * elf64-ppc.h (ppc64_elf_check_init_fini): Declare.
144         * elf64-ppc.c (call_check_done): Define.
145         (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro.
146         (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise.
147         (ppc64_elf_finish_multitoc_partition): Remove unnecessary check.
148         (toc_adjusting_stub_needed): Use call_check_done rather than toc_off.
149         Simplify return logic.  Iterate over all .init and .fini fragments
150         by recursion.  Set makes_toc_func_call here..
151         (ppc64_elf_next_input_section): ..rather than here.
152         (check_pasted_section, ppc64_elf_check_init_fini): New functions.
153
154 2010-03-13  Alan Modra  <amodra@gmail.com>
155
156         PR ld/11375
157         * elf64-ppc.c (ppc_type_of_stub): Always set *hash to the
158         function descriptor symbol if there is one, not just for plt stubs.
159         (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls.
160
161 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
162
163         * elflink.c (bfd_elf_size_dynamic_sections): Don't emit base
164         version twice.
165         Skip it when constructing def.vd_next.
166
167         * elf32-i386.c (TARGET_LITTLE_SYM): Redefine to
168         bfd_elf32_i386_sol2_vec.
169         (TARGET_LITTLE_NAME): Redefine to elf32-i386-sol2.
170         (elf32_bed): Redefine to elf32_i386_sol2_bed.
171         (elf_backend_want_plt_sym): Redefine to 1.
172
173         * elf64-x86-64.c (TARGET_LITTLE_SYM): Redefine to
174         bfd_elf64_x86_64_sol2_vec.
175         (TARGET_LITTLE_NAME): Redefine to elf64-x86-64-sol2.
176         (elf64_bed): Redefine to elf64_x86_64_sol2_bed.
177         (elf_backend_want_plt_sym): Redefine to 1.
178
179         * config.bfd (i[3-7]86-*-solaris2*): Set targ_defvec to
180         bfd_elf32_i386_sol2_vec.
181         Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
182         targ64_selvecs.
183         (x86_64-*-solaris2*): Set targ_defvec to bfd_elf32_i386_sol2_vec.
184         Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
185         targ_selvecs.
186
187         * configure.in: Handle bfd_elf32_i386_sol2_vec,
188         bfd_elf64_x86_64_sol2_vec.
189         * configure: Regenerate.
190
191         * targets.c (bfd_elf32_i386_sol2_vec): Declare.
192         (bfd_elf64_x86_64_sol2_vec): Declare.
193         (_bfd_target_vector): Add bfd_elf32_i386_sol2_vec,
194         bfd_elf64_x86_64_sol2_vec.
195
196 2010-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
197
198         * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
199         sections.
200
201 2010-03-04  Alan Modra  <amodra@gmail.com>
202
203         PR 11302
204         * dwarf2.c (read_abbrevs): Return NULL on alloc failures.
205         (read_attribute_value, decode_line_info): Likewise.
206         (add_line_info, read_rangelist): Return FALSE on alloc failures.
207         (arange_add, sort_line_sequences): Likewise.
208         (find_abstract_instance_name): Handle failures from called funcs.
209         (scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise.
210         (find_line): Realloc to a temp, and handle alloc fail.
211
212 2010-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
213
214         * elf32-arm.c (elf32_arm_output_arch_local_syms): Do not add
215         a mapping symbol to an empty section.
216
217 2010-03-02  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
218
219         * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the
220         return value from the call to _bfd_elf_merge_object_attributes.
221
222 2010-03-02  Christophe Lyon  <christophe.lyon@st.com>
223         Alan Modra  <amodra@gmail.com>
224
225         * elf32-arm.c (a8_erratum_fix): Add st_type field to record the
226         destination mode of the a8 stub.
227         (elf32_arm_link_hash_table): Add top_id field.
228         (elf32_arm_link_hash_table_create): Initialize top_id.
229         (arm_type_of_stub): Update prototype, st_type can now be updated
230         by this function. Actual destination address in case of PLT is
231         computed here, to help factorizing code.
232         (elf32_arm_stub_name): Update prototype, use stub_type additional
233         parameter to build stub name.
234         (elf32_arm_get_stub_entry): Update prototype, use stub_type
235         additional parameter to build stub entry.
236         (arm_build_one_stub): Use bfd_put_16/bfd_put_32 instead of
237         put_thumb_insn/put_arm_insn as BE8 encoding is now handled later.
238         Call elf32_arm_final_link_relocate to process all in-stub
239         relocations.
240         (elf32_arm_setup_section_lists): Update top_id.
241         (cortex_a8_erratum_scan): Record stub destination mode.
242         (elf32_arm_size_stubs): Update call to arm_type_of_stub according
243         to new prototype.
244         (elf32_arm_final_link_relocate): Enable processing of in-stub
245         REL32 relocations. Rely on arm_type_of_stub to detect if a stub is
246         needed, enabling code factorization.
247         (elf32_arm_final_link): Process stub sections.
248         (elf32_arm_output_map_sym): Add entry to code/data map.
249
250 2010-03-01  David S. Miller  <davem@davemloft.net>
251
252         * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and
253         h->def_regular, set h->ref_regular.
254         (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries
255         and dynamic relocations if h->ref_regular.
256
257         * elfxx-sparc.c (struct elf_reloc_map): Delete.
258         (sparc_reloc_map): Delete.
259         (_bfd_sparc_elf_reloc_type_lookup): Explicitly handle each
260         relocation type in switch statements.
261
262 2010-02-25  Alan Modra  <amodra@gmail.com>
263
264         PR ld/11304
265         * elf.c (_bfd_elf_init_private_section_data): Rename need_group
266         to final_link and invert.  For final link allow some flags to
267         differ.  Don't specially allow flags to be all zero.
268
269 2010-02-24  Alan Modra  <amodra@gmail.com>
270
271         PR binutils/10858
272         * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise
273         SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol
274         table.
275
276 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
277
278         PR binutils/11297
279         * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8.
280         (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8.
281
282 2010-02-22  Alan Modra  <amodra@gmail.com>
283
284         * reloc.c (bfd_check_overflow): When forming addrmask, shift
285         fieldmask left by rightshift.
286         (_bfd_relocate_contents): Likewise.  Use rightshift addrmask in all
287         overflow checks.
288
289 2010-02-20  H.J. Lu  <hongjiu.lu@intel.com>
290
291         * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check
292         STT_GNU_IFUNC on large common symbol.
293
294 2010-02-18  H.J. Lu  <hongjiu.lu@intel.com>
295
296         * elf32-i386.c (elf_i386_add_symbol_hook): Don't set
297         has_ifunc_symbols if the symbol comes from a shared library.
298         * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
299         * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
300         * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
301         * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
302         * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise.
303
304 2010-02-19  Alan Modra  <amodra@gmail.com>
305
306         * elf.c (_bfd_elf_fixup_group_sections): New function, split out from..
307         (_bfd_elf_copy_private_header_data): ..here.
308         * elflink.c (_bfd_elf_size_group_sections): New function.
309         (bfd_elf_size_dynamic_sections): Call it.
310         * elf-bfd.h (_bfd_elf_size_group_sections): Declare.
311         (_bfd_elf_fixup_group_sections): Declare.
312
313 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
314
315         * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
316         merging Tag_DIV_use, Tag_MPextension_use, and
317         Tag_MPextension_use_legacy tags.
318
319 2010-02-18  Alan Modra  <amodra@gmail.com>
320
321         * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
322         commit.  Don't write zeros for removed group members.
323         (_bfd_elf_copy_private_header_data): Adjust size of group section
324         when group members are removed by objcopy.
325
326 2010-02-15  Dave Korn  <dave.korn.cygwin@gmail.com>
327
328         PR binutils/11280
329         * configure.host (*-*-solaris2.11):  Add host define to select
330         valid default code page for windres/windmc on solaris.
331
332 2010-02-15  Nick Clifton  <nickc@redhat.com>
333
334         * po/vi.po: Updated Vietnamese translation.
335
336 2010-02-12  Daniel Gutson  <dgutson@codesourcery.com>
337
338         * elf32-arm.c (elf32_arm_output_arch_local_syms): add
339         missing mapping symbol to data only sections.
340
341 2010-02-11  David S. Miller  <davem@davemloft.net>
342
343         * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
344         and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
345         symbols.
346         (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
347         these relocs on global symbols.
348         (gdopoff): New.
349         (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
350         local symbol references which are not STT_GNU_IFUNC.  Handle
351         relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
352         and deal with negative vs. non-negative values properly.
353
354 2010-02-09  Tristan Gingold  <gingold@adacore.com>
355
356         * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for
357         non-external relocation.
358
359 2010-02-09  Alan Modra  <amodra@gmail.com>
360
361         * elf64-ppc.c (merge_got_entries): Move earlier in file.
362         (allocate_dynrelocs): Merge got entries here if not doing multi-toc.
363         (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got.
364         (ppc64_elf_layout_multitoc): Don't resize if we have already
365         merged got entries.
366
367 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
368
369         * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
370         elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
371         elfcore_write_s390_prefix): New.
372         * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
373         elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
374         elfcore_write_s390_prefix): New.
375         (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP,
376         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
377         (elfcore_write_register_note): Handle .reg-s390-timer,
378         .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs,
379         .reg-s390-prefix section.
380
381 2010-02-09  Alan Modra  <amodra@gmail.com>
382
383         * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
384         unsigned char.  Update variables and code using them throughout file.
385         (struct ppc_link_hash_entry): Likewise for tls_mask.
386
387         * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents.
388
389         * elf64-ppc.c (has_small_toc_reloc): Don't define.
390         (makes_toc_func_call, call_check_in_progress): Shuffle flags.
391         (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc.  Update
392         code setting the flag.
393         (ppc64_elf_next_toc_section): Group big-toc sections in
394         0x80008000 chunks.
395
396 2010-02-08  David S. Miller  <davem@davemloft.net>
397
398         * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot,
399         srelgot, splt, srelplt, and sgotplt members in favor of generic copies.
400
401         * elfxx-sparc.c (create_got_section): Delete.
402         (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic
403         section creator does that work for us.  Use ->elf.foo instead of
404         ->foo where applicable.
405         (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo
406         where applicable.
407         (allocate_dynrelocs): Likewise.
408         (_bfd_sparc_elf_size_dynamic_sections): Likewise.
409         (_bfd_sparc_elf_relocate_section): Likewise.
410         (sparc_vxworks_build_plt_entry): Likewise.
411         (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
412         (sparc_finish_dyn): Likewise.
413         (sparc_vxworks_finish_exec_plt): Likewise.
414         (sparc_vxworks_finish_shared_plt): Likewise.
415         (_bfd_sparc_elf_finish_dynamic_sections): Likewise.
416
417         * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_*
418         macros for visibilty and locality checks.
419         (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
420         (allocate_dynrelocs): Likewise.
421         (_bfd_sparc_elf_relocate_section): Likewise.
422         (_bfd_sparc_elf_finish_dynamic_symbol):Likewise.
423
424         * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set
425         but never used local var 'dynobj'.
426
427         * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle
428         nocopyreloc.
429
430         * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
431         (BFD_RELOC_SPARC_IRELATIVE): Likewise.
432         * bfd-in2.h: Regenerate.
433         * libbfd.h: Regenerate.
434
435         * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
436         and loc_hash_memory.
437         (_bfd_sparc_elf_link_hash_table_free): Declare.
438         * elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
439         (elf_backend_add_symbol_hook, elf_backend_post_process_headers,
440         bfd_elf32_bfd_link_hash_table_free): Define.
441         * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
442         has_ifunc_symbols if STT_GNU_IFUNC.
443         (bfd_elf64_bfd_link_hash_table_free): Define.
444         (elf_backend_post_process_headers): Define always.
445         * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
446         (sparc_reloc_map): Add entries for new IFUNC relocs.
447         (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
448         (_bfd_sparc_elf_info_to_howto_ptr): Likewise.
449         (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
450         elf_sparc_get_local_sym_hash): New.
451         (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
452         from here...
453         (_bfd_sparc_elf_link_hash_table_create): ... to here.  Allocate
454         local hash table.
455         (_bfd_sparc_elf_link_hash_table_free): New.
456         (create_ifunc_sections): New.
457         (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
458         and call create_ifunc_sections().  For local STT_GNU_IFUNC symbols
459         cons up a fake local hash table entry for it.  Unconditionally add
460         a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular.  Count
461         dyn relocs for ifunc.
462         (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
463         (allocate_dynrelocs):  Unconditionally emit a PLT entry when
464         STT_GNU_IFUNC and h->def_regular.  Count GOT dyn relocs for ifunc.
465         (allocate_local_dynrelocs): New function.
466         (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash
467         table.  Emit dynamic relocs to irelplt when not shared.  Treat iplt
468         like splt.
469         (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
470         (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc
471         plt in iplt/irelplt.
472
473 2010-02-08  Richard Sandiford  <r.sandiford@uk.ibm.com>
474
475         * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating
476         max_contents_size, only consider sections whose contents must
477         be swapped in.
478
479 2010-02-09  Alan Modra  <amodra@gmail.com>
480
481         * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..
482         (ppc64_elf_size_dynamic_sections): ..and here..
483         (merge_got_entries): ..rather than here.
484
485 2010-02-09  Alan Modra  <amodra@gmail.com>
486
487         * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
488         (has_small_toc_reloc): Define.
489         (ppc64_elf_check_relocs): Set the above flags.
490         (ppc64_elf_edit_opd): Delete obfd param.
491         (ppc64_elf_tls_optimize): Likewise.
492         (ppc64_elf_edit_toc): Likewise.
493         (ppc64_elf_tls_setup): Likewise.  Add no_multi_toc param.
494         * elf64-ppc.h: Update prototypes.
495
496 2010-02-08  Alan Modra  <amodra@gmail.com>
497
498         * section.c (struct bfd_section): Delete has_tls_reloc,
499         has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
500         Add sec_flg0 thru sec_flg5.
501         (BFD_FAKE_SECTION): Update for changed flags.
502         * ecoff.c (bfd_debug_section): Likewise.
503         * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
504         * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
505         (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
506         * elf32-xtensa.c (reloc_done): Define.
507         * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
508         * bfd-in2.h: Regenerate.
509
510 2010-02-08  Tristan Gingold  <gingold@adacore.com>
511
512         * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
513         for non-scattered relocations.
514
515 2010-02-08  Nathan Sidwell  <nathan@codesourcery.com>
516
517         * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
518         apuinfo sections, only scan input sections once and reuse the
519         buffer.
520
521 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
522
523         * archures.c (bfd_mach_ppc_titan): Define.
524         * bfd-in2.h: Regenerate.
525         * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
526
527 2010-02-08  Alan Modra  <amodra@gmail.com>
528
529         * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
530
531 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
532
533         * elf.c (assign_file_positions_for_load_sections) Update lma of
534         section if necessary.  Fixes Bugzilla 11219.
535
536 2010-02-05  H.J. Lu  <hongjiu.lu@intel.com>
537
538         * elf32-i386.c: Remove trailing white spaces.
539         * elf64-x86-64.c: Likewise.
540
541 2010-02-03  Nick Clifton  <nickc@redhat.com>
542
543         * elf-bfd.h (emum elf_object_id): Rename to elf_target_id.  Add
544         entries for other architectures.
545         (struct elf_link_hash_table): Add hash_table_id field.
546         (elf_hash_table_id): New accessor macro.
547         * elflink.c (_bfd_elf_link_hash_table_init): Add target_id
548         parameter.
549         * elf-m10300.c (elf32_mn10300_hash_table): Check table id before
550         returning cast pointer.
551         (elf32_mn10300_link_hash_table_create): Identify new table as
552         containing MN10300 extensions.
553         (mn10300_elf_relax_section): Check pointer returned by
554         elf32_mn10300_hash_table.
555         * elf32-arm.c: Likewise, except using ARM extensions.
556         * elf32-avr.c: Likewise, except using AVR extensions.
557         * elf32-bfin.c: Likewise, except using BFIN extensions.
558         * elf32-cris.c: Likewise, except using CRIS extensions.
559         * elf32-frv.c: Likewise, except using FRV extensions.
560         * elf32-hppa.c: Likewise, except using HPPA32 extensions.
561         * elf32-i386.c: Likewise, except using I386 extensions.
562         * elf32-lm32.c: Likewise, except using LM32 extensions.
563         * elf32-m32r.c: Likewise, except using M32RM extensions.
564         * elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
565         * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
566         * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
567         * elf32-m68k.c: Likewise, except using M68K extensions.
568         * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
569         * elf32-ppc.c: Likewise, except using PPC32 extensions.
570         * elf32-s390.c: Likewise, except using S390 extensions.
571         * elf32-sh.c: Likewise, except using SH extensions.
572         * elf32-spu.c: Likewise, except using SPU extensions.
573         * elf32-xtensa.c: Likewise, except using XTENSA extensions.
574         * elf64-alpha.c: Likewise, except using ALPHA extensions.
575         * elf64-hppa.c: Likewise, except using HPPA64 extensions.
576         * elf64-ppc.c: Likewise, except using PPC64 extensions.
577         * elf64-s390.c: Likewise, except using S390 extensions.
578         * elf64-x86-64.c: Likewise, except using X86_64 extensions.
579         * elfxx-ia64.c: Likewise, except using IA64 extensions.
580         * elfxx-mips.c: Likewise, except using MIPS extensions.
581         * elfxx-sparc.c: Likewise, except using SPARC extensions.
582         * elfxx-sparc.h: Likewise, except using SPARC extensions.
583         * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
584         redundant structure.
585         (elf32_cr16_hash_table): Delete unused macro.
586         (elf32_cr16_link_hash_traverse): Delete unused macro.
587         * elf32-score.c: Likewise.
588         * elf32-score7.c: Likewise.
589         * elf32-vax.c: Likewise.
590         * elf64-sh64.c: Likewise.
591
592 2010-02-03  Alan Modra  <amodra@gmail.com>
593
594         * elf64-ppc.c (struct plt_entry): Move earlier in file.
595         (struct got_entry): Likewise.  Add is_indirect and got.ent fields.
596         (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry.
597         Update all uses.
598         (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass.
599         Remove no_multi_toc.
600         (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect
601         when allocating a new struct got_entry.
602         (allocate_got): New function, extracted from..
603         (allocate_dynrelocs): ..here.  Abort on got entry in non-ppc64 bfd.
604         (ppc64_elf_size_dynamic_sections): Track got relocs allocated in
605         .reliplt by got_reli_size.  Set owner on ppc64_tlsld_got entries.
606         (ppc64_elf_setup_section_lists): Remove output_bfd param and
607         no_multi_toc, add add_stub_section and layout_sections_again.  Stash
608         new params in htab.  Extract some code to..
609         (ppc64_elf_start_multitoc_partition): ..here.  New function.
610         (ppc64_elf_next_toc_section): Check for linker script errors.  Handle
611         second pass toc scan.
612         (merge_got_entries, merge_global_got, reallocate_got): New functions.
613         (ppc64_elf_reinit_toc): Rename to..
614         (ppc64_elf_finish_multitoc_partition): ..this.
615         (ppc64_elf_layout_multitoc): New function.
616         (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and
617         layout_sections_again params.
618         (ppc64_elf_relocate_section): Handle indirect got entries.
619         * elf64-ppc.h: Update prototypes.  Declare new functions.
620
621 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
622
623         * elf-bfd.h (elfcore_write_xstatereg): New.
624
625         * elf.c (elfcore_grok_xstatereg): New.
626         (elfcore_write_xstatereg): Likewise.
627         (elfcore_grok_note): Handle NT_X86_XSTATE.
628         (elfcore_write_register_note): Handle .reg-xstate section.
629
630 2010-02-01  Tristan Gingold  <gingold@adacore.com>
631
632         * som.c (som_write_ar_hdr): Define this macro.
633
634 2010-01-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
635
636         * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
637         R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
638         linkage table pointer to use the global table pointer if not doing
639         a shared link.
640
641 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
642
643         * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
644         if it has already been set.
645
646 2010-01-27  Tristan Gingold  <gingold@adacore.com>
647
648         * vms.h: Remove trailing spaces.
649         (struct hdr_struct): Remove unused hdr_c_cpr field.
650         (enum file_format_enum): Add comments.
651         * vms.c (vms_bfd_print_private_bfd_data): New function that
652         replaces the macro.
653         Remove trailing spaces.
654         * vms-misc.c: Improve comments.
655         (_bfd_vms_get_object_record): Also handle files without pads.
656         * vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
657         * vms-gsd.c (struct flagdescstruct): Make name field const.
658         (gsyflagdesc): Fix typo.
659
660 2010-01-27  Alan Modra  <amodra@gmail.com>
661
662         PR ld/11217
663         * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
664         (ppc64_elf_setup_section_lists): Init them.
665         (ppc64_elf_next_toc_section): Don't partition multi-toc between .got
666         and .toc on the same input file.
667         (ppc64_elf_relocate_section): Correct GOT entry offset.
668
669 2010-01-26  Tristan Gingold  <gingold@adacore.com>
670
671         * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
672         (bfd_target): Add _bfd_write_ar_hdr_fn field.
673         * archive.c (is_bsd44_extended_name): New macro.
674         (_bfd_generic_read_ar_hdr_mag): Use it.  Add extra_size.
675         (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
676         name.
677         (_bfd_archive_bsd44_construct_extended_name_table): New function.
678         (_bfd_generic_write_ar_hdr): Ditto.
679         (_bfd_bsd44_write_ar_hdr): Ditto.
680         (_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
681         (bsd_write_armap): Adjust firstreal computation.
682         * libbfd-in.h (struct areltdata): Add extra_size field.
683         (_bfd_generic_write_ar_hdr): Add prototype.
684         (_bfd_bsd44_write_ar_hdr): Ditto.
685         (_bfd_write_ar_hdr): Define.
686         (_bfd_noarchive_write_ar_hdr): Ditto.
687         (_bfd_archive_bsd_write_ar_hdr): Ditto.
688         (_bfd_archive_coff_write_ar_hdr): Ditto.
689         (_bfd_archive_bsd44_slurp_armap): Ditto.
690         (_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
691         (_bfd_archive_bsd44_construct_extended_name_table): New prototype.
692         (_bfd_archive_bsd44_truncate_arname): Ditto.
693         (_bfd_archive_bsd44_write_armap): Ditto.
694         (_bfd_archive_bsd44_read_ar_hdr): Ditto.
695         (_bfd_archive_bsd44_write_ar_hdr): Ditto.
696         (_bfd_archive_bsd44_openr_next_archived_file): Ditto.
697         (_bfd_archive_bsd44_get_elt_at_index): Ditto.
698         (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
699         (_bfd_archive_bsd44_update_armap_timestamp): Ditto.
700         * libbfd.h: Regenerate.
701         * oasys.c (oasys_write_ar_hdr): Define.
702         * libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
703         * ieee.c (ieee_write_ar_hdr): Define.
704         * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
705         * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
706         (bfd_pmac_xcoff_backend_data): Ditto.
707         * coff64-rs6000.c (rs6000coff64_vec): Ditto.
708         (bfd_xcoff_aix5_backend_data): Ditto.
709         * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
710         * aout-target.h (MY_write_ar_hdr): Define it if not defined.
711         * aout-tic30.c (MY_write_ar_hdr): Ditto.
712         * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
713         (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
714         (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
715         (bfd_mach_o_construct_extended_name_table)
716         (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
717         (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
718         (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
719         * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
720         (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
721         (bfd_mach_o_construct_extended_name_table)
722         (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
723         (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
724         (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
725         * bfd-in2.h: Regenerate.
726
727 2010-01-26  Alan Modra  <amodra@gmail.com>
728             H.J. Lu  <hongjiu.lu@intel.com>
729
730         PR ld/11218
731         * elflink.c (elf_link_output_extsym): Do not ignore undefined
732         symbols with ref_regular set when gc_sections is active.
733
734 2010-01-25  Alan Modra  <amodra@gmail.com>
735
736         PR ld/11217
737         * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
738         with relocations against undefined weak symbols.
739         (ppc64_elf_relocate_section): Don't optimize calls to undefined
740         weak functions if the symbol is dynamic.
741         (ppc64_elf_relocate_section): Edit tprel tls sequences.
742         * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
743         (_bfd_elf_ppc_at_tprel_transform): New function.
744         * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
745         * bfd-in2.h: Regenerate.
746
747 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
748
749         * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
750         (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
751         * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
752         bitsize to 1.
753         (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
754
755 2010-01-21  Nick Clifton  <nickc@redhat.com>
756
757         * elflink.c (elf_link_add_object_symbols): Look up name of
758         undefined symbol both before and after versioning has been
759         applied.  Do not bother with symbols that are weakly undefined.
760
761 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
762
763         * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
764         (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
765
766 2010-01-19  Cary Coutant  <ccoutant@google.com>
767
768         * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
769
770 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
771             Alan Modra <amodra@gmail.com>
772
773         * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
774         (elf_object_p): Read e_phnum extension.
775         (elf_write_shdrs_and_ehdr): Write e_phnum extension.
776         * elfcore.h (elf_core_file_p): Read e_phnum extension.  Sanity check
777         that we can read last program header.
778
779 2010-01-19  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
780
781         * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
782         R_ARM_THM_CALL entry.
783         (elf32_arm_final_link_relocate): Correct calculation of
784         reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
785         or R_ARM_THM_JUMP24 relocation.
786
787 2010-01-18  Alan Modra  <amodra@gmail.com>
788
789         PR 11168
790         * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
791         block past vars in COFF_IMAGE_WITH_PE block.  Report error on more
792         than 32k sections.
793
794 2010-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
795
796         Fix compilation warning on gcc-3.4.
797         * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
798         parameter index to sec_index according to the function definition.
799
800 2010-01-13  Chao-ying Fu  <fu@mips.com>
801
802         * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
803         It is true for all CPUs.
804         (jal_reloc_p): New function.
805         (mips_elf_calculate_relocation): Rename require_jalxp to
806         cross_mode_jump_p.
807         Update comment for CROSS_MODE_JUMP_P.
808         Set up cross_mode_jump_p based on the mode change.
809         (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
810         Update comment for CROSS_MODE_JUMP_P.
811         Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
812         Use !cross_mode_jump_p to guard conversion.
813         Convert "jr t9" to "b", if possible.
814         (_bfd_mips_elf_relocate_section): Rename require_jalx to
815         cross_mode_jump_p.
816         Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
817         Pass cross_mode_jump_p to call mips_elf_perform_relocation.
818
819 2010-01-13  Nick Clifton  <nickc@redhat.com>
820
821         * cpu-m32c.c (m32c_scan): New function.  Ensures that a scan for
822         "m32c" returns the m32c arch_info_struct and not the m16c
823         arch_info_struct.
824         (arch_info_struct): Use the new scan function.
825         (bfd_m32c_arch): Likewise.
826
827 2010-01-13  Tristan Gingold  <gingold@adacore.com>
828
829         * config.bfd: Remove duplicated target vector for i386-*-darwin.
830         Appends new arch instead of overriding.
831         Use mach_o_x86_64_vec for x86_64-*-darwin.
832         * configure.in: Add mach_o_x86_64_vec.
833         * configure: Regenerate.
834         * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
835         * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
836         (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
837         * Makefile.in: Regenerate.
838         * mach-o-x86-64.c: New file.
839
840 2010-01-13  Tristan Gingold  <gingold@adacore.com>
841
842         * reloc.c: Add MACH_O_X86_64 relocations.
843         * bfd-in2.h: Regenerate.
844         * libbfd.h: Regenerate.
845
846 2010-01-13  Tristan Gingold  <gingold@adacore.com>
847
848         * archive.c (normalize): Use lbasename.
849         (bfd_bsd_truncate_arname): Ditto.
850         (bfd_gnu_truncate_arname): Ditto.
851
852 2010-01-12  Tristan Gingold  <gingold@adacore.com>
853
854         * makefile.vms (CFLAGS): Turns warnings into informational messages.
855
856 2010-01-11  Tristan Gingold  <gingold@adacore.com>
857
858         * mach-o.h: Add x86-64 relocation types.
859
860 2010-01-11  Tristan Gingold  <gingold@adacore.com>
861
862         * mach-o.h (bfd_mach_o_backend_data): Add arch field.
863         (bfd_mach_o_set_arch_mach): New prototype.
864         * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
865         (bfd_mach_o_set_arch_mach): New function.
866         (bfd_mach_o_gen_mkobject): New function.
867         Set TARGET_ARCHITECTURE for the generic back-ends.
868         * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
869         Check that TARGET_ARCHITECTURE is defined.
870         Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
871         * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
872
873 2010-01-11  Tristan Gingold  <gingold@adacore.com>
874
875         * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
876
877 2010-01-11  Nick Clifton  <nickc@redhat.com>
878
879         * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
880         handling of R_V850_HI16_S relocation.
881
882 2010-01-11  Alan Modra  <amodra@gmail.com>
883
884         PR 11103
885         * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
886
887 2010-01-11  Alan Modra  <amodra@gmail.com>
888
889         PR 6832
890         * dwarf2.c (struct comp_unit): Add sec_info_ptr.
891         (find_abstract_instance_name): Use it.
892         (parse_comp_unit): Set it.
893
894 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
895
896         * Makefile.in: Regenerate.
897         * configure: Regenerate.
898
899 2010-01-08  Tristan Gingold  <gingold@adacore.com>
900
901         * archive.c: Remove bfd_special_undocumented_glue.
902
903 2010-01-08  Alan Modra  <amodra@gmail.com>
904
905         PR ld/11133
906         * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
907         * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
908         * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
909
910 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
911
912         PR ld/11138
913         * elflink.c (elf_link_check_versioned_symbol): Don't abort if
914         a symbol referenced by DSO is is defined in a non-shared object
915         and forced local.
916
917 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
918
919         PR ld/11133
920         * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
921         undefined __start_XXX/__stop_XXX in all input files and set
922         SEC_KEEP.
923
924 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
925
926         PR ld/11143
927         * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
928
929 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
930
931         * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
932         before including procfs.h.
933         (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
934         * configure.in: Added autoconf probe for the pr_fpreg member.
935         * configure: Regenerated.
936         * config.in: Regenerated.
937         * elf.c: Define _STRUCTURE_PROC before including procfs.h.
938
939 2010-01-04  Joel Brobecker  <brobecker@adacore.com>
940
941         Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
942         * dwarf2.c (concat_filename): Rename dirname with dir_name
943         to void shadowing the dirname function.
944         Rename subdirname with subdir_name to stay consistent with
945         the new dir_name variable name.
946
947 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
948
949         * archures.c: Add bfd_mach_ppc_e500mc64.
950         * bfd-in2.h: Regenerate.
951         * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
952         bfd_mach_ppc_e500mc64.
953
954 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
955
956         Fix -Wshadow warnings (seen on ppc-aix)
957         * xcofflink.c: Replace finfo by flinfo throughout.
958
959 For older changes see ChangeLog-2009
960 \f
961 Local Variables:
962 mode: change-log
963 left-margin: 8
964 fill-column: 74
965 version-control: never
966 End: