* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
[binutils.git] / bfd / ChangeLog
blobf2f9990819f478e0ca5886ddd1c70ee0925f2e3a
1 2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
3         * configure.in: Update version to 2.17.
4         * Makefile.am: Set RELEASE.
5         * configure, Makefile.in: Regenerated.
7 2006-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
9         * configure.in: Update version to 2.16.94.
10         * configure: Regenerated.
12 2006-06-11  Richard Sandiford  <richard@codesourcery.com>
13             Thiemo Seufer  <ths@mips.com>
15         * elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size.
16         (STUB_ORI): New macro.
17         (STUB_LI16U): Fix formatting.
18         (MIPS_FUNCTION_STUB_SIZE): Delete.
19         (MIPS_FUNCTION_STUB_MAX_SIZE): Likewise.
20         (MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro.
21         (MIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
22         (_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size
23         instead of MIPS_FUNCTION_STUB_SIZE.
24         (count_section_dynsyms): New function, split out from
25         _bfd_mips_elf_final_link.
26         (_bfd_mips_elf_always_size_sections): Get a worst-case estimate
27         of the number of dynamic symbols needed and use it to set up
28         function_stub_size.  Use function_stub_size rather than
29         MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section.
30         Use 16-byte stubs for 0x10000 dynamic symbols.
31         (_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size
32         instead of MIPS_FUNCTION_STUB_SIZE.  Fix formatting.
33         (_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Change the
34         size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to
35         MIPS_FUNCTION_STUB_BIG_SIZE.  Tweak the check for unhandled dynindxes.
36         Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20.
37         Use STUB_ORI rather than STUB_LI16U for big stubs.
38         (_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size.
39         (_bfd_mips_elf_final_link): Use count_section_dynsyms.
41 2006-06-08  David Daney  <ddaney@avtrex.com>
43         * elfxx-mips.c (STUB_LI16): Removed.
44         (STUB_LUI): New macro.
45         (STUB_LI16U): Ditto.
46         (STUB_LI16S): Ditto.
47         (MIPS_FUNCTION_STUB_SIZE): Rewrote to take info parameter.
48         (_bfd_mips_elf_adjust_dynamic_symbol): Pass info parameter to
49         MIPS_FUNCTION_STUB_SIZE.
50         (_bfd_mips_elf_always_size_sections): Ditto.
51         (_bfd_mips_elf_size_dynamic_sections): Ditto.
52         (_bfd_mips_elf_finish_dynamic_sections): Ditto.
53         (_bfd_mips_elf_finish_dynamic_symbol): Rewrote stub generation
54         to allow larger symbol table indexes.
56 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
58         * po/Make-in (pdf, ps): New dummy targets.
60 2006-06-01  Daniel Jacobowitz  <dan@codesourcery.com>
62         Backport:
63         2006-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64         PR ld/2655
65         PR ld/2657
66         * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Properly
67         update CIE/FDE length.  Don't pad to the section alignment.
69 2006-05-30  Nick Clifton  <nickc@redhat.com>
71         * po/es.po: Updated Spanish translation.
73 2006-05-23  Alan Modra  <amodra@bigpond.net.au>
75         * elf64-ppc.c (compare_symbols): Prefer strong dynamic global
76         function syms over other syms.
78 2006-05-22  Daniel Jacobowitz  <dan@codesourcery.com>
80         * elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
81         check.
82         (bfd_elf_final_link): Add a late DT_TEXTREL check.
83         * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
84         (mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
85         (_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
86         Use MIPS_ELF_READONLY_SECTION.
87         (_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
88         creating DT_TEXTREL.
89         (_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
90         if no text relocations were generated.
92 2006-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
94         * configure.in: Update version to 2.16.93.
95         * configure: Regenerated.
97 2006-05-17  Alan Modra  <amodra@bigpond.net.au>
99         * elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
100         non-load sections if they have relocs.
102 2006-05-16  Andreas Schwab  <schwab@suse.de>
104         * aoutf1.h (struct external_sparc_core): Declare c_regs as struct
105         regs instead of an array of int.
106         (struct external_solaris_bcp_core): Likewise.
107         (swapcore_sun3): Use offsetof instead of computing the offset
108         manually.
109         (swapcore_sparc): Likewise.  Simplify reference to c_regs.
110         (swapcore_solaris_bcp): Likewise.
112 2006-05-15  Alan Modra  <amodra@bigpond.net.au>
114         PR 2658
115         * elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
116         -shared link.
118 2006-05-11  Michael Matz  <matz@suse.de>
120         * elflink.c (match_group_member): Correctly iterate group
121         members.
123 2006-05-11  Nick Clifton  <nickc@redhat.com>
125         PR ld/2607
126         * elfcode.h (valid_section_index_p): New function: Checks for a
127         valid section index.  Allows indicies in the range SHN_LOPROC to
128         SHN_HIOS.
129         (elf_object_p): Use valid_section_index_p.
131 2006-05-11  Nick Clifton  <nickc@redhat.com>
133         PR ld/2257
134         * elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
135         fields to still be handled as ELF files.
137 2006-05-10  Alan Modra  <amodra@bigpond.net.au>
139         PR 2342
140         * elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
142 2006-05-10  Alan Modra  <amodra@bigpond.net.au>
144         * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
145         R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
146         the .toc and referenced by a TLS code sequence.
147         (ppc64_elf_edit_toc): Cater for the unlikely situation that
148         .toc is the first section in a file.
150 2006-05-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
152         PR binutils/2584
153         * tekhex.c (getvalue): Change return type to bfd_boolean and
154         add the new parameter.  Return false if the unexpected character
155         is found.
156         (getsym): Likewise.
157         (first_phase): Change return type to bfd_boolean and return
158         false if the unexpected character is found.  Replace abort
159         with returning false.
160         (pass_over): Change return type to bfd_boolean and the type of
161         the second argument to bfd_boolean (*) (bfd *, int, char *).
162         Return false if FUNC returns false.
163         (tekhex_object_p): Return NULL if pass_over fails.
165 2006-05-02  Paul Brook  <paul@codesourcery.com>
167         * elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
168         for R_ARM_REL32.
170 2006-04-27  Alan Modra  <amodra@bigpond.net.au>
172         * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
174 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
176         * configure.in: Update version to 2.16.92.
177         * configure: Regenerated.
179 2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
181         * po/SRC-POTFILES.in: Regenerated.
183 2006-04-14  David Heine  <dlheine@tensilica.com>
185         * elf32-xtensa.c (build_reloc_opcodes): New.
186         (compute_text_actions): Use it to decode opcodes outside inner loop.
187         (check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
188         it is set, use it to get the opcodes for relocations.
189         (move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
191 2006-04-08  H.J. Lu  <hongjiu.lu@intel.com>
193         PR ld/2513
194         * elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
195         (GOT_TLS_IE_IE): Likewise.
196         (GOT_TLS_IE_GD): Likewise.
197         (GOT_TLS_IE_MASK): Likewise.
198         (elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
199         and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
200         respectively.
201         (allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
202         are set, treat tls_type as GOT_TLS_IE_BOTH.
203         (elf_i386_relocate_section): Likewise.
205 2006-04-07  Randolph Chung  <tausq@debian.org>
207         * elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
208         (elf64_hppa_grok_psinfo): Likewise.
209         (elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
211 2006-04-06  DJ Delorie  <dj@redhat.com>
213         * elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
214         each plt entry we create.
216 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
218         * po/Make-in: Add install-html target.
219         * Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
220         htmldir. Add install-html and install-html-recursive targets.
221         * Makefile.in: Regenerate.
222         * configure.in: AC_SUBST for datarootdir, docdir and htmldir.
223         * configure: Regenerate.
225 2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
227         * elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
228         with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
229         section structure.
231 2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
233         * elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
234         eliminate warnings.
236 2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
237             James E Wilson  <wilson@specifixinc.com>
239         PR ld/2442
240         * elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
241         (elfNN_ia64_local_hash_entry): Add count, sorted_count and
242         size.
243         (elfNN_ia64_link_hash_entry): Likewise.
244         (elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
245         and size.
246         (elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
247         processing.
248         (elfNN_ia64_hash_hide_symbol): Likewise.
249         (elfNN_ia64_global_dyn_sym_thunk): Likewise.
250         (elfNN_ia64_local_dyn_sym_thunk): Likewise.
251         (elfNN_ia64_global_dyn_info_free): New function.
252         (elfNN_ia64_local_dyn_info_free): Likewise.
253         (elfNN_ia64_hash_table_free): Free local and global
254         elfNN_ia64_dyn_sym_info.
255         (addend_compare): New function.
256         (sort_dyn_sym_info): Likewise.
257         (get_dyn_sym_info): Updated to use binary search for addend.
258         (elfNN_ia64_check_relocs): Scan relocations to create dynamic
259         relocation arrays first.
261 2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
263         * elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
264         symbol.
266 2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
268         PR ld/2411
269         * elflink.c (check_dynsym): New.
270         (elf_link_output_extsym): Use it.
271         (bfd_elf_final_link): Likewise.
273 2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
275         PR ld/2404
276         * elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
277         symbol from the dynamic definition with the default version if
278         its type and the type of existing regular definition mismatch.
280 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
281             Daniel Jacobowitz  <dan@codesourcery.com>
283         * config.bfd (sparc-*-vxworks*): New stanza.
284         * configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
285         (bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
286         * configure: Regenerate.
287         * elf32-sparc.c: Include elf-vxworks.h.
288         (elf32_sparc_vxworks_link_hash_table_create: New.
289         (elf32_sparc_vxworks_final_write_processing): New.
290         (TARGET_BIG_SYM): Override for VxWorks.
291         (TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
292         (bfd_elf32_bfd_link_hash_table_create): Likewise.
293         (elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
294         (elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
295         (elf_backend_link_output_symbol_hook): Likewise.
296         (elf_backend_emit_relocs): Likewise.
297         (elf_backend_final_write_processing, elf32_bed): Likewise.
298         * elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
299         (sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
300         (sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
301         (_bfd_sparc_elf_link_hash_table_create): Don't initialize
302         build_plt_entry here.
303         (create_got_section): Initialize sgotplt for VxWorks.
304         (_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
305         plt_header_size and plt_entry_size, with new VxWorks-specific settings.
306         Call elf_vxworks_create_dynamic_sections for VxWorks.
307         (allocate_dynrelocs): Use plt_header_size and plt_entry_size.
308         Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
309         (_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
310         for VxWorks.  Check for the .got.plt section.
311         (sparc_vxworks_build_plt_entry): New function.
312         (_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
313         Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
314         absolute on VxWorks.
315         (sparc32_finish_dyn): Add special handling for DT_RELASZ
316         and DT_PLTGOT on VxWorks.
317         (sparc_vxworks_finish_exec_plt): New.
318         (sparc_vxworks_finish_shared_plt): New.
319         (_bfd_sparc_elf_finish_dynamic_sections): Call them.
320         Use plt_header_size and plt_entry_size.
321         * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
322         srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
323         * Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
324         (elf32-sparc.lo): Likewise.
325         * Makefile.in: Regenerate.
326         * targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
327         (_bfd_target_vector): Add a pointer to it.
329 2006-03-30  Ben Elliston  <bje@au.ibm.com>
331         PR ld/2267
332         * elflink.c (elf_fixup_link_order): Ensure `elfsec' is not a
333         special section number that exceeds the number of ELF sections
334         (eg. SHN_MIPS_SCOMMON).
336 2006-03-27  Richard Sandiford  <richard@codesourcery.com>
338         * elfxx-mips.c (mips_got_entry): Add more commentary.
339         (mips_elf_local_got_index): Use the hash table entry to record
340         the GOT index of forced-local symbols.
341         (mips_elf_initialize_tls_index): Rearrange code.  Store the index
342         in either the hash table entry or the mips_got_entry, not both.
343         Add more commentary.
344         (mips_elf_multi_got): Make sure the g->next is nonnull when calling
345         mips_elf_initialize_tls_index.
347 2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
349         * elf32-bfin.c (bfd_const_reloc, bfd_oper_reloc, bfin_push_reloc,
350         RELOC_STACK_SIZE, reloc_stack, reloc_stack_tos, is_reloc_stack_empty,
351         reloc_stack_push, reloc_stack_pop, reloc_stack_operate,
352         bfin_areloc_howto_table): Delete.  All
353         uses deleted as well.
354         (bfin_reloc_map): Delete all stack relocs.
355         (bfin_info_to_howto, bfin_bfd_reloc_type_lookup,
356         bfin_reloc_type_lookup): Don't support them.
357         (bfin_relocate_section): Don't try to handle them.
359         * config.bfd (bfin-*-*): Add bfd_elf32_bfinfdpic_vec.
360         * configure.in: Likewise.
361         * configure: Regenerate.
362         * elf32-bfin.c: Include "elf/dwarf2.h" and "hashtab.h".
363         (BFIN_RELOC_MAX): Now 0x21.
364         (bfin_howto_table, bfin_reloc_map): Add FD-PIC relocs.
365         (bfd_elf32_bfinfdpic_vec): Declare.
366         (IS_FDPIC): New macro.
367         (struct bfinfdpic_elf_link_hash_table): New struct.
368         (bfinfdpic_hash_table, bfinfdpic_got_section,
369         bfinfdpic_gotrel_section, bfinfdpic_gotfixup_section,
370         bfinfdpic_plt_setion, bfinfdpic_pltrel_section,
371         bfinfdpic_relocs_info, bfinfdpic_got_initial_offset,
372         bfinfdpic_plt_initial_offset): Accessor macros for it.
373         (BFINFDPIC_SYM_LOCAL, BFINFDPIC_FUNCDESC_LOCAL): New macros.
374         (struct bfinfdpic_relocs_info): New struct.
375         (LZPLT_RESOLVER_EXTRA, LZPLT_NORMAL_SIZE, LZPLT_ENTRIES,
376         BFINFDPIC_LZPLT_BLOCK_SIZE, BFINFDPIC_LZPLT_RESOLV_LOC,
377         DEFAULT_STACK_SIZE): New macros.
378         (bfinfdpic_elf_link_hash_table_create, bfinfdpic_relocs_info_hash,
379         bfinfdpic_relocs_info_eq, bfinfdpics_relocs_info_find,
380         bfinfdpic_relocs_info_for_global, bfinfdpic_relocs_info_for_local,
381         bfinfdpic_pic_merge_early_relocs_info, _bfinfdpic_add_dyn_reloc,
382         _bfinfdpic_add_rofixup, _bfinfdpic_osec_to_segment,
383         _bfinfdpic_osec_readonly_p, bfinfdpic_relocate_section,
384         bfinfdpic_check_relocs, bfinfdpic_gc_sweep_hook,
385         _bfinfdpic_link_omit_section_dynsym, _bfin_create_got_section,
386         elf32_bfinfdpic_create_dynamic_sections, _bfinfdpic_get_fd_entry,
387         _bfinfdpic_compute_got_alloc_data, _bfinfdpic_get_got_entry,
388         _bfinfdpic_assign_got_entries, _bfinfdpic_assign_plt_entries,
389         _bfinfdpic_resolve_final_relocs_info,
390         elf32_bfinfdpic_size_dynamic_sections,
391         elf32_bfinfdpic_always_size_sections,
392         elf32_bfinfdpic_modify_segment_map,
393         _bfinfdpic_count_got_plt_entries,
394         elf32_bfinfdpic_finish_dynamic_sections,
395         elf32_bfinfdpic_adjust_dynamic_symbol,
396         elf32_bfinfdpic_finish_dynamic_symbol,
397         elf32_bfinfdpic_elf_use_relative_eh_frame,
398         elf32_bfinfdpic_elf_encode_eh_address,
399         elf32_bfin_object_p, bfin_elf_copy_private_bfd_data,
400         elf32_bfinfdpic_copy_private_bfd_data,
401         (struct _bfinfdpic_dynamic_got_info,
402         struct _bfinfdpic_dynamic_got_plt_info): New structs.
403         (elf32_bfin_print_private_bfd_data): Print PIC flags.
404         (elf32_bfin_merge_private_bfd_data): Extend to support FD-PIC.
405         (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, elf32_bed,
406         elf_backend_got_header_size, bfd_elf32_bfd_link_hash_table_create,
407         elf_backend_always_size_sectinos, elf_backend_modify_segment_map,
408         bfd_elf32_bfd_copy_private_bfd_data,
409         elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
410         elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol,
411         elf_backend_finish_dynamic_sections, elf_backend_relocate_section,
412         elf_backend_can_make_relative_eh_frame, elf_backend_check_relocs,
413         elf_backend_can_make_ldsa_relative_eh_frame, elf_backend_may_use_rel_p,
414         elf_backend_may_use_rela_p, elf_backend_default_use_rela_p,
415         elf_backend_omit_section_dynsym): Redefine these macros and include
416         "elf32-target.h" again to create the elf32-bfinfdpic target.
417         * reloc.c (BFD_RELOC_BFIN_GOT17M4, BFD_RELOC_BFIN_GOTHI,
418         BFD_RELOC_BFIN_GOTLO, BFD_RELOC_BFIN_FUNCDESC,
419         BFD_RELOC_BFIN_FUNCDESC_GOT17M4, BFD_RELOC_BFIN_FUNCDESC_GOTHI,
420         BFD_RELOC_BFIN_FUNCDESC_GOTLO, BFD_RELOC_BFIN_FUNCDESC_VALUE,
421         BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4, BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI,
422         BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO, BFD_RELOC_BFIN_GOTOFFHI,
423         BFD_RELOC_BFIN_GOTOFFLO): New.
424         * targets.c (bfd_elf32_bfinfdpic_vec): New bfd_target.
425         (_bfd_target_vector): Add it.
426         * bfd-in2.h: Regenerate.
427         * libbfd.h: Regenerate.
429 2006-03-25  Richard Sandiford  <richard@codesourcery.com>
431         * cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as
432         incompatible.  Likewise MAC and EMAC code.
433         * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use
434         bfd_get_compatible to set the new bfd architecture.  Rely on it
435         to detect incompatibilities.
437 2006-03-22  Bob Wilson  <bob.wilson@acm.org>
439         * elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
440         rel->r_addend is zero.
442 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
444         * elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
445         of "loc".
447 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
448             Daniel Jacobowitz  <dan@codesourcery.com>
449             Phil Edwards  <phil@codesourcery.com>
450             Zack Weinberg  <zack@codesourcery.com>
451             Mark Mitchell  <mark@codesourcery.com>
452             Nathan Sidwell  <nathan@codesourcery.com>
454         * bfd-in2.h: Regenerate.
455         * config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
456         * configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
457         (bfd_elf32_littlemips_vxworks_vec): Likewise.
458         (bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
459         (bfd_elf32_littlemips_vec): Likewise.
460         (bfd_elf32_nbigmips_vec): Likewise.
461         (bfd_elf32_nlittlemips_vec): Likewise.
462         (bfd_elf32_ntradbigmips_vec): Likewise.
463         (bfd_elf32_ntradlittlemips_vec): Likewise.
464         (bfd_elf32_tradbigmips_vec): Likewise.
465         (bfd_elf32_tradlittlemips_vec): Likewise.
466         (bfd_elf64_bigmips_vec): Likewise.
467         (bfd_elf64_littlemips_vec): Likewise.
468         (bfd_elf64_tradbigmips_vec): Likewise.
469         (bfd_elf64_tradlittlemips_vec): Likewise.
470         * elf32-mips.c: Include elf-vxworks.h.
471         (mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
472         instead of calling mips_elf32_rtype_to_howto directly.
473         (mips_vxworks_copy_howto_rela): New reloc howto.
474         (mips_vxworks_jump_slot_howto_rela): Likewise.
475         (mips_vxworks_bfd_reloc_type_lookup): New function.
476         (mips_vxworks_rtype_to_howto): Likewise.
477         (mips_vxworks_final_write_processing): Likewise.
478         (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
479         (TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
480         (elf_backend_want_got_plt): Likewise.
481         (elf_backend_want_plt_sym): Likewise.
482         (elf_backend_got_symbol_offset): Likewise.
483         (elf_backend_want_dynbss): Likewise.
484         (elf_backend_may_use_rel_p): Likewise.
485         (elf_backend_may_use_rela_p): Likewise.
486         (elf_backend_default_use_rela_p): Likewise.
487         (elf_backend_got_header_size: Likewise.
488         (elf_backend_plt_readonly): Likewise.
489         (bfd_elf32_bfd_reloc_type_lookup): Likewise.
490         (elf_backend_mips_rtype_to_howto): Likewise.
491         (elf_backend_adjust_dynamic_symbol): Likewise.
492         (elf_backend_finish_dynamic_symbol): Likewise.
493         (bfd_elf32_bfd_link_hash_table_create): Likewise.
494         (elf_backend_add_symbol_hook): Likewise.
495         (elf_backend_link_output_symbol_hook): Likewise.
496         (elf_backend_emit_relocs): Likewise.
497         (elf_backend_final_write_processing: Likewise.
498         (elf_backend_additional_program_headers): Likewise.
499         (elf_backend_modify_segment_map): Likewise.
500         (elf_backend_symbol_processing): Likewise.
501         * elfxx-mips.c: Include elf-vxworks.h.
502         (mips_elf_link_hash_entry): Add is_relocation_target and
503         is_branch_target fields.
504         (mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
505         srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
506         (MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
507         (MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
508         Return 3 for VxWorks.
509         (ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
510         mips_elf_link_hash_table.  Return 0 for VxWorks.
511         (MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
512         mips_elf_link_hash_table.  Update the call to ELF_MIPS_GP_OFFSET.
513         (mips_vxworks_exec_plt0_entry): New variable.
514         (mips_vxworks_exec_plt_entry): Likewise.
515         (mips_vxworks_shared_plt0_entry): Likewise.
516         (mips_vxworks_shared_plt_entry): Likewise.
517         (mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
518         (mips_elf_rel_dyn_section): Change the bfd argument to a
519         mips_elf_link_hash_table.  Use MIPS_ELF_REL_DYN_NAME to get
520         the name of the section.
521         (mips_elf_initialize_tls_slots): Update the call to
522         mips_elf_rel_dyn_section.
523         (mips_elf_gotplt_index): New function.
524         (mips_elf_local_got_index): Add an input_section argument.
525         Update the call to mips_elf_create_local_got_entry.
526         (mips_elf_got_page): Likewise.
527         (mips_elf_got16_entry): Likewise.
528         (mips_elf_create_local_got_entry): Add bfd_link_info and input_section
529         arguments.  Create dynamic relocations for each entry on VxWorks.
530         (mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
531         (mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
532         and MIPS_RESERVED_GOTNO.
533         (mips_elf_create_got_section): Update the uses of
534         MIPS_ELF_GOT_MAX_SIZE.  Create .got.plt on VxWorks.
535         (is_gott_symbol): New function.
536         (mips_elf_calculate_relocation): Use a dynobj local variable.
537         Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
538         mips_elf_got_page_entry.  Set G to the .got.plt entry when calculating
539         VxWorks R_MIPS_CALL* relocations.  Calculate and use G for all GOT
540         relocations on VxWorks.  Add dynamic relocations for references
541         to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Don't
542         create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
543         in VxWorks executables.
544         (mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
545         Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
546         Don't allocate a null entry on VxWorks.
547         (mips_elf_create_dynamic_relocation): Update the call to
548         mips_elf_rel_dyn_section.  Use absolute rather than relative
549         relocations for VxWorks, and make them RELA rather than REL.
550         (_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
551         read-only on VxWorks.  Update the call to mips_elf_rel_dyn_section.
552         Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
553         VxWorks.  Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
554         Call elf_vxworks_create_dynamic_sections for VxWorks and
555         initialize the plt_header_size and plt_entry_size fields.
556         (_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
557         used in VxWorks executables.  Don't allocate dynamic relocations
558         for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
559         Set is_relocation_target for each symbol referenced by a relocation.
560         Allocate .rela.dyn entries for relocations against the special
561         VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Create GOT
562         entries for all VxWorks R_MIPS_GOT16 relocations.  Don't allocate
563         a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
564         R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations.  Update the calls
565         to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
566         Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
567         relocations.  Don't set no_fn_stub on VxWorks.
568         (_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
569         mips_elf_allocate_dynamic_relocations.
570         (_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
571         (_bfd_mips_elf_always_size_sections): Do not allocate GOT page
572         entries for VxWorks, and do not create multiple GOTs.
573         (_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
574         Handle .got specially for VxWorks.  Update the uses of
575         MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
576         Check for sgotplt and splt.  Allocate the .rel(a).dyn contents last,
577         once its final size is known.  Set DF_TEXTREL for VxWorks.  Add
578         DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
579         tags on VxWorks.  Do not add the MIPS-specific tags for VxWorks.
580         (_bfd_mips_vxworks_finish_dynamic_symbol): New function.
581         (mips_vxworks_finish_exec_plt): Likewise.
582         (mips_vxworks_finish_shared_plt): Likewise.
583         (_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
584         to mips_elf_rel_dyn_section.  Use a VxWorks-specific value of
585         DT_PLTGOT.  Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
586         DT_PLTRELSZ and DT_JMPREL.  Update the uses of MIPS_RESERVED_GOTNO
587         and mips_elf_rel_dyn_section.  Use a different GOT header for
588         VxWorks.  Don't sort .rela.dyn on VxWorks.  Finish the PLT on VxWorks.
589         (_bfd_mips_elf_link_hash_table_create): Initialize the new
590         mips_elf_link_hash_table fields.
591         (_bfd_mips_vxworks_link_hash_table_create): New function.
592         (_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
593         on VxWorks.  Update the call to ELF_MIPS_GP_OFFSET.
594         * elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
595         (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
596         (_bfd_mips_vxworks_link_hash_table_create): Likewise.
597         * libbfd.h: Regenerate.
598         * Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
599         (elf32-mips.lo): Likewise.
600         * Makefile.in: Regenerate.
601         * reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
602         * targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
603         (bfd_elf32_littlemips_vxworks_vec): Likewise.
604         (_bfd_target_vector): Add entries for them.
606 2006-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
608         * elf64-hppa.c (elf64_hppa_special_sections): Change flags for .tbss
609         section from SHF_PARISC_WEAKORDER to SHF_HP_TLS.
610         (elf_backend_special_sections): Remove #undef.
612 2006-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
614         * elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
615         for undefined weak symbols.
617 2006-03-17  Daniel Jacobowitz  <dan@codesourcery.com>
619         PR ld/2462
620         * elflink.c (bfd_elf_final_link): Remove
621         bed->elf_backend_emit_relocs from emit_relocs.
623 2006-03-17  Alexandre Oliva  <aoliva@redhat.com>
625         * elf32-ppc.c (ppc_elf_relocate_section): Copy addend from
626         first relocation to the second when relaxing TLS GD to LE;
627         zero it out when relaxing to IE.
629 2006-03-17  Alan Modra  <amodra@bigpond.net.au>
631         PR 2434
632         * elflink.c (elf_link_add_object_symbols): Save and restore
633         warning sym's linked sym.
635 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
637         PR 2434
638         * elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete.
639         (elf_link_add_object_symbols): Delete unnecessary locals.  Rename
640         hash_table -> htab.  Formatting.  Save entire symbol table
641         before loading as-needed syms, and restore afterwards if lib not
642         needed.  Use bfd_hash_allocate rather than bfd_alloc for sym
643         name.  Free some buffers earlier.
644         * bfd-in.h (struct bfd_hash_table): Add entsize.
645         (bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype.
646         * elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise
647         * hash.c (bfd_hash_table_init_n): Add entsize param, save to
648         hash table.
649         (bfd_hash_table_init): Add param, adjust calls.
650         * aoutx.h: Adjust all hash_table_init functions and calls.
651         * bfd.c: Likewise.
652         * coff-arm.c: Likewise.
653         * coff-h8300.c: Likewise.
654         * coff-ppc.c: Likewise.
655         * cofflink.c: Likewise.
656         * ecoff.c: Likewise.
657         * ecofflink.c: Likewise.
658         * elf-m10300.c: Likewise.
659         * elf-strtab.c: Likewise.
660         * elf.c: Likewise.
661         * elf32-arm.c: Likewise.
662         * elf32-bfin.c: Likewise.
663         * elf32-cris.c: Likewise.
664         * elf32-frv.c: Likewise.
665         * elf32-hppa.c: Likewise.
666         * elf32-i386.c: Likewise.
667         * elf32-m32r.c: Likewise.
668         * elf32-m68hc1x.c: Likewise.
669         * elf32-m68k.c: Likewise.
670         * elf32-ppc.c: Likewise.
671         * elf32-s390.c: Likewise.
672         * elf32-sh.c: Likewise.
673         * elf32-vax.c: Likewise.
674         * elf64-alpha.c: Likewise.
675         * elf64-hppa.c: Likewise.
676         * elf64-ppc.c: Likewise.
677         * elf64-s390.c: Likewise.
678         * elf64-sh64.c: Likewise.
679         * elf64-x86-64.c: Likewise.
680         * elfxx-ia64.c: Likewise.
681         * elfxx-mips.c: Likewise.
682         * elfxx-sparc.c: Likewise.
683         * i386linux.c: Likewise.
684         * libaout.h: Likewise.
685         * libbfd-in.h: Likewise.
686         * libcoff-in.h: Likewise.
687         * linker.c: Likewise.
688         * m68klinux.c: Likewise.
689         * merge.c: Likewise.
690         * opncls.c: Likewise.
691         * pdp11.c: Likewise.
692         * sparclinux.c: Likewise.
693         * stabs.c: Likewise.
694         * sunos.c: Likewise.
695         * vms.c: Likewise.
696         * xcofflink.c: Likewise.
697         * section.c (struct section_hash_entry): Move to..
698         * libbfd-in.h: ..here.
699         * Makefile.am: Run "make dep-am"
700         * Makefile.in: Regenerate.
701         * bfd-in2.h: Regenerate.
702         * libbfd.h: Regenerate.
703         * libcoff.h: Regenerate.
705 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
707         * elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
708         against __GLOBAL_OFFSET_TABLE__ need never be dynamic.  Tweak
709         last change to REL32 relocs so that they are counted as
710         possibly dynamic as per REL24 and REL14.
712 2006-03-16  Alan Modra  <amodra@bigpond.net.au>
714         * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
715         checks from REL32.
717 2006-03-15  Ben Elliston  <bje@au.ibm.com>
719         * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
720         in_list elements, not just the first.
721         
722 2006-03-14  Richard Sandiford  <richard@codesourcery.com>
724         * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
725         out from...
726         (_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
727         for final links too.
729 2006-03-13  Richard Sandiford  <richard@codesourcery.com>
731         * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
733 2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>
735         PR ld/2443
736         * dwarf2.c (concat_filename): Don't issue an error if file is
737         0.
739 2006-03-10  Paul Brook  <paul@codesourcery.com>
741         * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
742         (elf32_arm_print_private_bfd_data): Ditto.
744 2006-03-09  Paul Brook  <paul@codesourcery.com>
746         * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
747         mapping symbols.
749 2006-03-09  Khem Raj  <khem@mvista.com>
751         * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
752         char type.
754 2006-03-08  H.J. Lu  <hongjiu.lu@intel.com>
756         * elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
758 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
759             Daniel Jacobowitz  <dan@codesourcery.com>
760             Zack Weinberg  <zack@codesourcery.com>
761             Nathan Sidwell  <nathan@codesourcery.com>
762             Paul Brook  <paul@codesourcery.com>
763             Ricardo Anguiano  <anguiano@codesourcery.com>
764             Phil Edwards  <phil@codesourcery.com>
766         * configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
767         (bfd_elf32_bigarm_symbian_vec): Likewise.
768         (bfd_elf32_bigarm_vxworks_vec): Likewise.
769         (bfd_elf32_littlearm_vec): Likewise.
770         (bfd_elf32_littlearm_symbian_vec): Likewise.
771         (bfd_elf32_littlearm_vxworks_vec): Likewise.
772         * configure: Regenerate.
773         * elf32-arm.c: Include libiberty.h and elf-vxworks.h.
774         (RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
775         (elf32_arm_vxworks_bed): Add forward declaration.
776         (elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
777         (elf32_arm_vxworks_exec_plt0_entry): New table.
778         (elf32_arm_vxworks_exec_plt_entry): Likewise.
779         (elf32_arm_vxworks_shared_plt_entry): Likewise.
780         (elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
781         (reloc_section_p): New function.
782         (create_got_section): Use RELOC_SECTION.
783         (elf32_arm_create_dynamic_sections): Likewise.  Call
784         elf_vxworks_create_dynamic_sections for VxWorks targets.
785         Choose between the two possible values of plt_header_size
786         and plt_entry_size.
787         (elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
788         (elf32_arm_abs12_reloc): New function.
789         (elf32_arm_final_link_relocate): Call it.  Allow the creation of
790         dynamic R_ARM_ABS12 relocs on VxWorks.  Use reloc_section_p,
791         RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION.  Initialize the
792         r_addend fields of relocs.  On rela targets, skip any code that
793         adjusts in-place addends.  When using _bfd_link_final_relocate
794         to perform a final relocation, pass rel->r_addend as the addend
795         argument.
796         (elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
797         object, ignore flags that are not standard on VxWorks.
798         (elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
799         relocs on VxWorks.  Use reloc_section_p.
800         (elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
801         (allocate_dynrelocs): Use RELOC_SIZE.  Account for the size of
802         .rela.plt.unloaded relocs on VxWorks targets.
803         (elf32_arm_size_dynamic_sections): Use RELOC_SIZE.  Check for
804         .rela.plt.unloaded as well as .rel(a).plt.  Add DT_RELA* tags
805         instead of DT_REL* tags on RELA targets.
806         (elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
807         and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle VxWorks
808         PLT entries.  Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
809         (elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
810         and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle DT_RELASZ
811         like DT_RELSZ.  Handle the VxWorks form of initial PLT entry.
812         Correct the .rela.plt.unreloaded symbol indexes.
813         (elf32_arm_output_symbol_hook): Call the VxWorks version of this
814         hook on VxWorks targets.
815         (elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
816         Minor formatting tweak.
817         (elf32_arm_vxworks_final_write_processing): New function.
818         (elf_backend_add_symbol_hook): Override for VxWorks and reset
819         for Symbian.
820         (elf_backend_final_write_processing): Likewise.
821         (elf_backend_emit_relocs): Likewise.
822         (elf_backend_want_plt_sym): Likewise.
823         (ELF_MAXPAGESIZE): Likewise.
824         (elf_backend_may_use_rel_p): Minor formatting tweak.
825         (elf_backend_may_use_rela_p): Likewise.
826         (elf_backend_default_use_rela_p): Likewise.
827         (elf_backend_rela_normal): Likewise.
828         * Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
830 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
832         * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
833         New.  Adjust other variants.
834         (bfd_default_scan): Update.
835         * bfd-in2.h: Rebuilt.
836         * cpu-m68k.c: Adjust.
837         (bfd_m68k_compatible): New. Use it for architectures.
838         * elf32-m68k.c (elf32_m68k_object_p): Adjust.
839         (elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
840         mismatch.
841         (elf32_m68k_print_private_bfd_data): Adjust.
842         * ieee.c (ieee_write_processor): Adjust.
843         
844 2006-03-06  Alan Modra  <amodra@bigpond.net.au>
846         * dwarf2.c: Formatting.
847         (add_line_info): Remove outer loop.
849 2006-03-05  H.J. Lu  <hongjiu.lu@intel.com>
850             Alan Modra  <amodra@bigpond.net.au>
852         PR binutils/2338
853         * dwarf2.c (loadable_section): New struct.
854         (dwarf2_debug): Add loadable_section_count and
855         loadable_sections.
856         (new_line_sorts_after): New.
857         (add_line_info): Use new_line_sorts_after to compare line
858         addresses.
859         (check_function_name): Removed.
860         (unset_sections): New.
861         (place_sections): New.
862         (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
863         and unset_sections on relocatable files.
864         (_bfd_dwarf2_find_line): Likewise.
866 2006-03-03  Nick Clifton  <nickc@redhat.com>
868         * cpu-avr.c: Update to ISO-C90 formatting.
869         * elf32-avr.c: Likewise.
871 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
873         * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
874         and R_AVR_MS8_LDI 
875         (bfd_elf_avr_final_write_processing): Set
876         EF_AVR_LINKRELAX_PREPARED in e_flags field.
877         (elf32_avr_relax_section): New function.
878         (elf32_avr_relax_delete_bytes): New function.
879         (elf32_avr_get_relocated_section_contents): New function.
880         (avr_pc_wrap_around): New function.
881         (avr_relative_distance_considering_wrap_around): New function.
882         (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
883         * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
884         * libbfd.h: Regenerate.
885         * bfd-in2.h: Regenerate.
887 2006-03-02  DJ Delorie  <dj@redhat.com>
889         * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
890         calculations.
892 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
894         * elf32-ppc.c (is_ppc_elf_target): Return true if the target is
895         bfd_elf32_powerpc_vxworks_vec.
897 2006-03-02  Nick Clifton  <nickc@redhat.com>
899         * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
901 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
903         * elf32-i386.c (elf_i386_create_dynamic_sections): Use
904         elf_vxworks_create_dynamic_sections.
905         (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
906         symbol handling.
907         * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
908         elf_vxworks_create_dynamic_sections.
909         (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
910         symbol handling.
911         * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
912         * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
914 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
916         * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
917         (elf_backend_link_output_symbol_hook): Use
918         elf_vxworks_link_output_symbol_hook instead.
919         * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
920         (elf_backend_link_output_symbol_hook): Use
921         elf_vxworks_link_output_symbol_hook instead.
922         * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
923         same interface as elf_backend_link_output_symbol_hook.
924         * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
925         prototype accordingly.
927 2006-03-02  Richard Sandiford  <richard@codesourcery.com>
929         * elf32-ppc.c (ppc_elf_plt_type): New enumeration.
930         (ppc_elf_link_hash_table): Replace old_got and new_got with
931         plt_type and can_use_new_plt.
932         (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
933         SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
934         (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
935         Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
936         (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
937         either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
938         this function should not be called for VxWorks targets.
939         (ppc_elf_tls_setup): Use plt_type instead of old_got.
940         (allocate_got): Likewise.  Rearrange so that max_before_header
941         is only used for PLT_OLD and PLT_NEW.
942         (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
943         (ppc_elf_size_dynamic_sections): Likewise.
944         (ppc_elf_relax_section): Likewise.
945         (ppc_elf_relocate_section): Likewise.
946         (ppc_elf_finish_dynamic_symbol): Likewise.
947         (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
949 2006-02-28  Richard Sandiford  <richard@codesourcery.com>
951         * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
952         (elf_i386_link_hash_table_create): Initialize it.
953         (elf_i386_compute_jump_table_size): Use it instead of
954         srelplt->reloc_count.
955         (allocate_dynrelocs): Likewise.
956         (elf_i386_size_dynamic_sections): Likewise.
957         (elf_i386_relocate_section): Likewise.
958         
959 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
961         * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
962         (_bfd_elf_write_section_eh_frame): Likewise.
964 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
966         * po/Make-in: Add html target.
968 2006-02-27  Richard Sandiford  <richard@codesourcery.com>
970         * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
971         cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
972         * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
973         * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
974         * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
975         * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
976         * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
977         * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
978         * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
979         * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
980         * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
981         * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
982         * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
983         * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
984         * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
985         * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.  Also use
986         the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
987         * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
988         * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
989         * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
990         * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
992 2006-02-25  Richard Sandiford  <richard@codesourcery.com>
994         * elf-bfd.h (elf_link_hash_table): Add hplt field.
995         * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
996         * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
997         * elf32-frv.c (_frv_create_got_section): Likewise.
998         * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
999         * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
1000         * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
1001         * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
1002         * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
1003         (elf_i386_link_hash_table_create): Don't initialize them.
1004         (elf_i386_size_dynamic_sections): Use the generic ELF hplt and
1005         hgot fields.
1006         (elf_i386_finish_dynamic_symbol): Likewise.
1007         * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
1008         (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
1009         (ppc_elf_finish_dynamic_symbol): Likewise.
1010         
1011 2006-02-24  DJ Delorie  <dj@redhat.com>
1013         * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
1014         (m32c_elf_relocate_section): Don't relocate them.
1015         (compare_reloc): New.
1016         (relax_reloc): Remove.
1017         (m32c_offset_for_reloc): New.
1018         (m16c_addr_encodings): New.
1019         (m16c_jmpaddr_encodings): New.
1020         (m32c_addr_encodings): New.
1021         (m32c_elf_relax_section): Relax jumps and address displacements.
1022         (m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
1023         short jumps.
1025         * reloc.c: Add m32c relax relocs.
1026         * libbfd.h: Regenerate.
1027         * bfd-in2.h: Regenerate.
1028         
1029 2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>
1031         PR ld/2218
1032         * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
1033         (_bfd_elf_link_hash_fixup_symbol): New.
1035         * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
1036         (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
1037         it isn't NULL.
1039         * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
1041         * elfxx-target.h (elf_backend_fixup_symbol): New.
1042         (elfNN_bed): Initialize elf_backend_fixup_symbol.
1044 2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1046         * cpu-ia64-opc.c (ins_immu5b): New.
1047         (ext_immu5b): Likewise.
1048         (elf64_ia64_operands): Add IMMU5b.
1050 2006-02-21  Alan Modra  <amodra@bigpond.net.au>
1052         PR ld/2218
1053         * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
1054         is dynamic.
1055         * elf32-hppa.c (allocate_dynrelocs): Likewise.
1056         * elf32-i386.c (allocate_dynrelocs): Likewise.
1057         * elf32-s390.c (allocate_dynrelocs): Likewise.
1058         * elf32-sh.c (allocate_dynrelocs): Likewise.
1059         * elf64-s390.c (allocate_dynrelocs): Likewise.
1060         * elf64-x86-64.c (allocate_dynrelocs): Likewise.
1061         * elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
1062         on undef weak with non-default visibility too.
1063         * elfxx-sparc.c (allocate_dynrelocs): Ditto.
1065 2006-02-21  Alan Modra  <amodra@bigpond.net.au>
1067         * bfd.c: (_bfd_default_error_handler): Don't call abort on
1068         error, instead call _exit.
1069         (_bfd_abort): Call _exit not xexit.
1071 2006-02-17  Kevin Buettner  <kevinb@redhat.com>
1073         * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
1074         New functions.
1075         * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
1077 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
1078             Anil Paranjape   <anilp1@kpitcummins.com>
1079             Shilin Shakti    <shilins@kpitcummins.com>
1081         * Makefile.am: Add xc16x related entry 
1082         * Makefile.in: Regenerate 
1083         * archures.c: Add bfd_xc16x_arch 
1084         * bfd-in2.h: Regenerate
1085         * config.bfd: Add xc16x-*-elf
1086         * configure.in: Add bfd_elf32_xc16x_vec
1087         * configure: Regenerate.
1088         * targets.c: Added xc16x related information
1089         * cpu-xc16x.c: New file
1090         * reloc.c: Add new relocations specific to xc16x:
1091         BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
1092         BFD_RELOC_XC16X_SOF     
1093         * elf32-xc16x.c: New file.
1095 2006-02-17  Alan Modra  <amodra@bigpond.net.au>
1097         * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
1098         * elf64-ppc.c (allocate_dynrelocs): Likewise.
1100 2006-02-17  Alan Modra  <amodra@bigpond.net.au>
1102         PR ld/2218
1103         * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
1104         dynamic.
1105         (ppc64_elf_relocate_section): Check output reloc section size.
1106         * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
1108 2006-02-16  H.J. Lu  <hongjiu.lu@intel.com>
1110         PR ld/2322
1111         * elf.c (get_segment_type): New function.
1112         (_bfd_elf_print_private_bfd_data): Use it.
1113         (print_segment_map): New function.
1114         (assign_file_positions_for_segments): Call print_segment_map
1115         when there are not enough room for program headers.
1117 2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
1119         * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
1120         traditional MIPS ELF targets.
1122 2006-02-15  H.J. Lu  <hongjiu.lu@intel.com>
1124         PR binutils/2338
1125         * dwarf2.c (check_function_name): New function.
1126         (_bfd_dwarf2_find_nearest_line): Use check_function_name to
1127         check if function is correct.
1129 2006-02-16  Alan Modra  <amodra@bigpond.net.au>
1131         * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
1132         debug sections.
1133         (elf_link_input_bfd): Adjust comments.
1135 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1137         * elf.c (copy_private_bfd_data): Minor update.
1139 2006-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1141         PR binutils/2258
1142         * elf.c (copy_private_bfd_data): Renamed to ...
1143         (rewrite_elf_program_header): This.
1144         (copy_elf_program_header): New function.
1145         (copy_private_bfd_data): Likewise.
1147 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
1149         * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
1150         bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
1151         bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249,
1152         bfd_mach_mcf547x, bfd_mach_mcf548x): Remove.
1153         (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div,
1154         bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac,
1155         bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
1156         bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp,
1157         bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac,
1158         bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac,
1159         bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac,
1160         bfd_mach_mcf_isa_b_usp_float_emac): New.
1161         (bfd_default_scan): Update coldfire mapping.
1162         * bfd-in.h (bfd_m68k_mach_to_features,
1163         bfd_m68k_features_to_mach): Declare.
1164         * bfd-in2.h: Rebuilt.
1165         * cpu-m68k.c (arch_info_struct): Add new coldfire machines,
1166         adjust legacy names.
1167         (m68k_arch_features): New.
1168         (bfd_m68k_mach_to_features,
1169         bfd_m68k_features_to_mach): Define.
1170         * elf32-m68k.c (elf32_m68k_object_p): New.
1171         (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags.
1172         (elf32_m68k_print_private_bfd_data): Print the CF EF flags.
1173         (elf_backend_object_p): Define.
1174         * ieee.c (ieee_write_processor): Update coldfire machines.
1175         * libbfd.h: Rebuilt.
1177 2006-02-06  Steve Ellcey  <sje@cup.hp.com>
1179         * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
1180         if SHF_TLS is set.
1182 2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
1184         * coff-z80.c (r_imm24): New howto. 
1185         (rtype2howto): New case R_IMM24.
1186         (coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
1187         (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
1189 2006-02-04  Richard Sandiford  <richard@codesourcery.com>
1191         * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
1192         has already been assigned a GOT index, copy that index to the
1193         current hash table entry.
1195 2006-02-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
1197         * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
1198         for call-to-undefweak reloc overflow.
1200 2006-01-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
1202         * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
1203         for 32-bit relocs overflow.
1205 2006-01-27  Paul Brook  <paul@codesourcery.com>
1207         * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
1208         objects.
1210 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
1212         Introduce TLS descriptors for i386 and x86_64.
1213         * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
1214         BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
1215         BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
1216         * libbfd.h, bfd-in2.h: Rebuilt.
1217         * elf32-i386.c (elf_howto_table): New relocations.
1218         (R_386_tls): Adjust.
1219         (elf_i386_reloc_type_lookup): Map new relocations.
1220         (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
1221         (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
1222         (struct elf_i386_link_hash_entry): Add tlsdesc_got field.
1223         (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
1224         (elf_i386_local_tlsdesc_gotent): New macro.
1225         (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
1226         (elf_i386_compute_jump_table_size): New macro.
1227         (link_hash_newfunc): Initialize tlsdesc_got.
1228         (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
1229         (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
1230         R_386_TLS_DESC_CALL.
1231         (elf_i386_check_relocs): Likewise.  Allocate space for
1232         local_tlsdesc_gotent.
1233         (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
1234         R_386_TLS_DESC_CALL.
1235         (allocate_dynrelocs): Count function PLT relocations.  Reserve
1236         space for TLS descriptors and relocations.
1237         (elf_i386_size_dynamic_sections): Reserve space for TLS
1238         descriptors and relocations.  Set up sgotplt_jump_table_size.
1239         Don't zero reloc_count in srelplt.
1240         (elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
1241         (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
1242         R_386_TLS_DESC_CALL.
1243         (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
1244         (elf_backend_always_size_sections): Define.
1245         * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
1246         R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
1247         (R_X86_64_standard): Adjust.
1248         (x86_64_reloc_map): Map new relocs.
1249         (elf64_x86_64_rtype_to_howto): New, split out of...
1250         (elf64_x86_64_info_to_howto): ... this function, and...
1251         (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
1252         (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
1253         (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
1254         (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
1255         (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
1256         (elf64_x86_64_local_tlsdesc_gotent): New macro.
1257         (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
1258         tlsdesc_got and sgotplt_jump_table_size fields.
1259         (elf64_x86_64_compute_jump_table_size): New macro.
1260         (link_hash_newfunc): Initialize tlsdesc_got.
1261         (elf64_x86_64_link_hash_table_create): Initialize new fields.
1262         (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
1263         R_X86_64_TLSDESC_CALL.
1264         (elf64_x86_64_check_relocs): Likewise.  Allocate space for
1265         local_tlsdesc_gotent.
1266         (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
1267         R_X86_64_TLSDESC_CALL.
1268         (allocate_dynrelocs): Count function PLT relocations.  Reserve
1269         space for TLS descriptors and relocations.
1270         (elf64_x86_64_size_dynamic_sections): Reserve space for TLS
1271         descriptors and relocations.  Set up sgotplt_jump_table_size,
1272         tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
1273         reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
1274         and DT_TLSDESC_GOT.
1275         (elf64_x86_64_always_size_sections): New.  Set up
1276         _TLS_MODULE_BASE_.
1277         (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
1278         R_386_TLS_DESC_CALL.
1279         (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
1280         (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
1281         DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
1282         (elf_backend_always_size_sections): Define.
1284 2006-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1286         PR binutils/2096
1287         * dwarf2.c (comp_unit_contains_address): Update comment.
1288         (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
1289         lma.  Return TRUE only if both comp_unit_contains_address and
1290         comp_unit_find_nearest_line return TRUE.
1291         (_bfd_dwarf2_find_line): Use section's vma, instead of lma.
1293 2006-01-18  Alan Modra  <amodra@bigpond.net.au>
1295         * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
1296         (bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
1297         * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
1298         elf_gc_mark_dynamic_ref_symbol.  Make global.
1299         (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
1300         * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
1301         (elfNN_bed): Init new field.
1302         * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
1303         (ppc64_elf_gc_mark_dynamic_ref): New function.
1305 2006-01-17  Alan Modra  <amodra@bigpond.net.au>
1307         * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
1309 2006-01-17  Nick Clifton  <nickc@redhat.com>
1311         PR binutils/2159
1312         * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
1313         parameters.
1315 2006-01-11  Nick Clifton  <nickc@redhat.com>
1317         * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
1318         into the newly (re)allocated map array.
1320 2006-01-09  Alexis Wilke  <alexis_wilke@yahoo.com>
1322         * peXXigen.c (tbl): Add comma after "HIGH3ADJ".
1324 2006-01-01  Jakub Jelinek  <jakub@redhat.com>
1326         * elf64-ppc.c (ppc64_elf_action_discarded): Return 0
1327         for .toc1 section.
1329 For older changes see ChangeLog-2005
1331 Local Variables:
1332 mode: change-log
1333 left-margin: 8
1334 fill-column: 74
1335 version-control: never
1336 End: