Update the FSF address in the copyright/GPL notice
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 1167827e515272b7bd9138342b72ea4216a69675..e5fb1b28a00cb6856095501fda0fe5d8c75727fe 100644 (file)
@@ -1,3 +1,446 @@
+2005-05-04  Nick Clifton  <nickc@redhat.com>
+
+       * COPYING, aix386-core.c, aix5ppc-core.c, aout-adobe.c,
+       aout-arm.c, aout-cris.c, aout-ns32k.c, aout-sparcle.c,
+       aout-target.h, aout-tic30.c, aout0.c, aout32.c, aout64.c,
+       aoutf1.h, aoutx.h, archive.c, archive64.c, archures.c,
+       armnetbsd.c, bfd-in.h, bfd-in2.h, bfd.c, bfdio.c, bfdwin.c,
+       binary.c, bout.c, cache.c, cf-i386lynx.c, cf-m68klynx.c,
+       cf-sparclynx.c, cisco-core.c, coff-a29k.c, coff-alpha.c,
+       coff-apollo.c, coff-arm.c, coff-aux.c, coff-go32.c, coff-h8300.c,
+       coff-h8500.c, coff-i386.c, coff-i860.c, coff-i960.c, coff-ia64.c,
+       coff-m68k.c, coff-m88k.c, coff-maxq.c, coff-mcore.c, coff-mips.c,
+       coff-or32.c, coff-pmac.c, coff-ppc.c, coff-rs6000.c, coff-sh.c,
+       coff-sparc.c, coff-stgo32.c, coff-svm68k.c, coff-tic30.c,
+       coff-tic4x.c, coff-tic54x.c, coff-tic80.c, coff-u68k.c,
+       coff-w65.c, coff-we32k.c, coff-z8k.c, coff64-rs6000.c, coffcode.h,
+       coffgen.c, cofflink.c, coffswap.h, corefile.c, cpu-a29k.c,
+       cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, cpu-cr16c.c,
+       cpu-cris.c, cpu-crx.c, cpu-d10v.c, cpu-d30v.c, cpu-dlx.c,
+       cpu-fr30.c, cpu-frv.c, cpu-h8300.c, cpu-h8500.c, cpu-hppa.c,
+       cpu-i370.c, cpu-i386.c, cpu-i860.c, cpu-i960.c, cpu-ia64-opc.c,
+       cpu-ia64.c, cpu-ip2k.c, cpu-iq2000.c, cpu-m10200.c, cpu-m10300.c,
+       cpu-m32r.c, cpu-m68hc11.c, cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c,
+       cpu-maxq.c, cpu-mcore.c, cpu-mips.c, cpu-mmix.c, cpu-msp430.c,
+       cpu-ns32k.c, cpu-openrisc.c, cpu-or32.c, cpu-pdp11.c, cpu-pj.c,
+       cpu-powerpc.c, cpu-rs6000.c, cpu-s390.c, cpu-sh.c, cpu-sparc.c,
+       cpu-tic30.c, cpu-tic4x.c, cpu-tic54x.c, cpu-tic80.c, cpu-v850.c,
+       cpu-vax.c, cpu-w65.c, cpu-we32k.c, cpu-xstormy16.c, cpu-xtensa.c,
+       cpu-z8k.c, demo64.c, dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c,
+       ecoffswap.h, efi-app-ia32.c, efi-app-ia64.c, elf-bfd.h,
+       elf-eh-frame.c, elf-hppa.h, elf-m10200.c, elf-m10300.c,
+       elf-strtab.c, elf.c, elf32-am33lin.c, elf32-arc.c, elf32-arm.c,
+       elf32-avr.c, elf32-cr16c.c, elf32-cris.c, elf32-crx.c,
+       elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c,
+       elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c,
+       elf32-hppa.h, elf32-i370.c, elf32-i386.c, elf32-i860.c,
+       elf32-i960.c, elf32-ip2k.c, elf32-iq2000.c, elf32-m32r.c,
+       elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68hc1x.c,
+       elf32-m68hc1x.h, elf32-m68k.c, elf32-m88k.c, elf32-mcore.c,
+       elf32-mips.c, elf32-msp430.c, elf32-openrisc.c, elf32-or32.c,
+       elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c,
+       elf32-sh-symbian.c, elf32-sh.c, elf32-sh64-com.c, elf32-sh64.c,
+       elf32-sh64.h, elf32-sparc.c, elf32-v850.c, elf32-vax.c,
+       elf32-xstormy16.c, elf32-xtensa.c, elf32.c, elf64-alpha.c,
+       elf64-gen.c, elf64-hppa.c, elf64-hppa.h, elf64-mips.c,
+       elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c,
+       elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elf64.c, elfcode.h,
+       elfcore.h, elflink.c, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c,
+       elfxx-mips.h, elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h,
+       epoc-pe-arm.c, epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c,
+       genlink.h, hash.c, host-aout.c, hp300bsd.c, hp300hpux.c,
+       hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c,
+       i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c,
+       i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c,
+       libaout.h, libbfd-in.h, libbfd.c, libbfd.h, libcoff-in.h,
+       libcoff.h, libecoff.h, libhppa.h, libieee.h, libnlm.h, liboasys.h,
+       libpei.h, libxcoff.h, linker.c, lynx-core.c, m68k4knetbsd.c,
+       m68klinux.c, m68klynx.c, m68knetbsd.c, m88kmach3.c, m88kopenbsd.c,
+       mach-o-target.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, mmo.c,
+       netbsd-core.c, netbsd.h, newsos3.c, nlm-target.h, nlm.c,
+       nlm32-alpha.c, nlm32-i386.c, nlm32-ppc.c, nlm32-sparc.c, nlm32.c,
+       nlm64.c, nlmcode.h, nlmswap.h, ns32k.h, ns32knetbsd.c, oasys.c,
+       opncls.c, osf-core.c, pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c,
+       pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, peXXigen.c,
+       pef-traceback.h, pef.c, pef.h, pei-arm.c, pei-i386.c, pei-mcore.c,
+       pei-mips.c, pei-ppc.c, pei-sh.c, peicode.h, ppcboot.c,
+       ptrace-core.c, reloc.c, reloc16.c, riscix.c, rs6000-core.c,
+       sco5-core.c, section.c, simple.c, som.c, som.h, sparclinux.c,
+       sparclynx.c, sparcnetbsd.c, srec.c, stab-syms.c, stabs.c, sunos.c,
+       syms.c, sysdep.h, targets.c, tekhex.c, ticoff.h, trad-core.c,
+       vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, vms-gsd.c,
+       vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, xcoff-target.h,
+       xcofflink.c, xsym.c, xsym.h, xtensa-isa.c, xtensa-modules.c,
+       doc/chew.c, doc/fdl.texi, hosts/alphavms.h: Update FSF address.
+
+2005-05-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * section.c (bfd_section_list_remove): Don't clear s->next.
+       (bfd_section_list_append): Always init s->prev.
+       (bfd_section_list_prepend): Define.
+       (bfd_section_list_insert_after): Minor optimization.
+       (bfd_section_removed_from_list): Rewrite.
+       * elf.c (assign_section_numbers): Simplify list traversal now that
+       bfd_section_list_remove doesn't destroy removed section next ptr.
+       * sunos.c (sunos_add_dynamic_symbols): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend.
+       * xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal.
+       * bfd-in2.h: Regenerate.
+
+2005-05-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd.c (bfd): Remove section_tail and add section_last.
+       (bfd_preserve): Likewise.
+       (bfd_preserve_save): Likewise.
+       (bfd_preserve_restore): Likewise.
+       * opncls.c (_bfd_new_bfd): Likewise.
+
+       * coffcode.h (coff_compute_section_file_positions): Updated.
+       (coff_compute_section_file_positions): Likewise.
+       * elf.c (assign_section_numbers): Likewise.
+       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
+       * elf64-mmix.c (mmix_elf_final_link): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_object_p): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
+       * sunos.c (sunos_add_dynamic_symbols): Likewise.
+       * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
+
+       * ecoff.c (bfd_debug_section): Initialize prev.
+
+       * section.c (bfd_section): Add prev.
+       (bfd_section_list_remove): Updated.
+       (bfd_section_list_append): New.
+       (bfd_section_list_insert_after): New.
+       (bfd_section_list_insert_before): New.
+       (bfd_section_list_insert): Removed.
+       (bfd_section_removed_from_list): Updated.
+       (STD_SECTION): Initialize prev.
+       (bfd_section_init): Updated.
+       (bfd_section_list_clear): Updated.
+
+       * bfd-in2.h: Regenerated.
+
+2005-05-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_new_section_hook): Don't call
+       _bfd_elf_get_sec_type_attr on sections from input files.
+
+2005-05-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * merge.c (sec_merge_init): Call bfd_hash_table_init_n with
+       hash table size 16699 instead of bfd_hash_table_init.
+
+2005-05-01  Paul Brook  <paul@codesourcery.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong
+       definition has already been seen.
+
+2005-05-01  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat
+       R_ARM_PLT32 the same as R_ARM_PC24.
+       (arm_add_to_rel): Ditto.
+
+2005-04-29  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * config.bfd: Add h8300*-*-rtemscoff.
+       Switch h8300*-*-rtems* to elf.
+
+2005-04-28  Paul Brook  <paul@codesourcery.com>
+
+       Merge changes only applied to Makefile.in.
+       * Makefile.am (BFD32_BACKENDS): Add elfxx-sparc.lo
+       (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c
+       (elfxx-sparc.lo): New rule.
+       (elf32-sparc.lo): Add elfxx-sparc.h dependency.
+       (elf64-sparc.lo): Likewise.
+
+2005-04-28  Julian Brown  <julian@codesourcery.com>
+
+       * elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak
+       import.
+
+2005-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (bfd_elf_sym_name): Also take "asection *".
+
+       * elf.c (bfd_elf_sym_name): Updated.
+       (group_signature): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_edit_opd): Likewise.
+       (ppc64_elf_edit_toc): Likewise.
+       (ppc64_elf_relocate_section): Likewise.
+       * elfcode.h (elf_slurp_symbol_table): Likewise.
+       * elflink.c (elf_link_input_bfd): Likewise.
+
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Call
+       bfd_elf_sym_name to get local symbol name when reporting errors.
+
+2005-04-27  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.c (elf_link_input_bfd): Handle the case where a badly
+       formatted input file results in a reloc which has no associated
+       global symbol.
+
+2005-04-26  Jerome Guitton  <guitton@gnat.com>
+
+       * bfd.m4 (BFD_NEED_DECLARATION): Restore.
+
+2005-04-25  David S. Miller  <davem@davemloft.net>
+
+       * elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection.
+       (sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol,
+       sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections):
+       Likewise.
+
+2005-04-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 858
+       * elflink.c (elf_link_input_bfd): Make non-debugging reference
+       to discarded section an error.
+
+2005-04-21  Jerome Guitton  <guitton@gnat.com>
+
+       * configure.in: Replace BFD_NEED_DECLARATION checks by the
+       corresponding AC_CHECK_DECLS.
+       * sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding
+       HAVE_DECL_*.
+       * bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete.
+       * configure: Regenerate.
+       * config.in: Ditto.
+
+2005-04-21  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
+       unsigned from type of dynamic_interpreter.
+       * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
+       casts again.
+
+       * elf.c (assign_section_numbers): Fix comment.
+
+2005-04-21  Jerome Guitton  <guitton@gnat.com>
+
+       * som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
+       for struct som_exec_auxhdr fields.
+
+2005-04-21  Nick Clifton  <nickc@redhat.com>
+
+       * aout-adobe.c: Convert to ISO C and fix formatting.
+       * aout-arm.c: Convert to ISO C and fix formatting.
+       * aout-cris.c: Convert to ISO C and fix formatting.
+       * aout-ns32k.c: Convert to ISO C and fix formatting.
+       * aout-tic30.c: Convert to ISO C and fix formatting.
+       * coffcode.h: Convert to ISO C and fix formatting.
+       * coffswap.h: Convert to ISO C and fix formatting.
+       * i386aout.c: Convert to ISO C and fix formatting.
+       * libaout.h: Convert to ISO C and fix formatting.
+       * libcoff-in.h: Convert to ISO C and fix formatting.
+       * libcoff.h: Convert to ISO C and fix formatting.
+       * libecoff.h: Convert to ISO C and fix formatting.
+       * libnlm.h: Convert to ISO C and fix formatting.
+       * libpei.h: Convert to ISO C and fix formatting.
+       * libxcoff.h: Convert to ISO C and fix formatting.
+       * nlm-target.h: Convert to ISO C and fix formatting.
+       * nlm.c: Convert to ISO C and fix formatting.
+       * nlm32-alpha.c: Convert to ISO C and fix formatting.
+       * nlm32-i386.c: Convert to ISO C and fix formatting.
+       * nlm32-ppc.c: Convert to ISO C and fix formatting.
+       * nlm32-sparc.c: Convert to ISO C and fix formatting.
+       * nlmcode.h: Convert to ISO C and fix formatting.
+       * nlmswap.h: Convert to ISO C and fix formatting.
+       * pe-mips.c: Convert to ISO C and fix formatting.
+       * peXXigen.c: Convert to ISO C and fix formatting.
+       * peicode.h: Convert to ISO C and fix formatting.
+       * vms-gsd.c: Convert to ISO C and fix formatting.
+       * vms-hdr.c: Convert to ISO C and fix formatting.
+       * vms-misc.c: Convert to ISO C and fix formatting.
+       * vms-tir.c: Convert to ISO C and fix formatting.
+       * vms.c: Convert to ISO C and fix formatting.
+       * vms.h: Convert to ISO C and fix formatting.
+
+       * coffgen.c (coff_print_symbol): Restore correct formatting of
+       output.
+
+2005-04-20  David S. Miller  <davem@davemloft.net>
+
+       * elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning.
+       (_bfd_sparc_elf_link_hash_table_create): Likewise.
+       (allocate_dynrelocs): Likewise.
+
+2005-04-20  Jerome Guitton  <guitton@gnat.com>
+
+       * configure.in: Fix the check for basename declaration. Add check
+       for declarations of ftello, ftello64, fseeko, fseeko64.
+       * configure: Regenerate.
+       * config.in: Ditto.
+       * sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.
+
+2005-04-19  David S. Miller  <davem@davemloft.net>
+
+       * elfxx-sparc.c: New file.
+       * elfxx-sparc.h: New file.
+       * Makefile.in (BFD32_BACKENDS): Add elfxx-sparc.lo
+       (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c
+       (elfxx-sparc.lo): New rule.
+       (elf32-sparc.lo): Add elfxx-sparc.h dependency.
+       (elf64-sparc.lo): Likewise.
+       * configure.in (bfd_elf32_sparc_vec): Add elfxx-sparc.lo
+       (bfd_elf64_sparc_vec): Likewise.
+       * configure: Regenerate.
+       * elf32-sparc.c: Remove common code now in elfxx-sparc.c
+       * elf64-sparc.c: Likewise, also use elf64_sparc_*() naming
+       which is more consistent with elf32-sparc.c
+
+2005-04-19  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.
+       (mips_elf_create_local_got_entry): Check h->root.forced_local.
+
+2005-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Don't bother with
+       dynamic relocs in non-SEC_ALLOC sections.
+       (ppc_elf_gc_sweep_hook): Likewise.
+       (ppc_elf_relax_section): Likewise.
+       (ppc_elf_relocate_section): Likewise.
+
+2005-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * aix5ppc-core.c (xcoff64_core_p): Fix compile time warning
+       assigning a value to return_value.
+
+2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 855
+       * elf.c (_bfd_elf_copy_private_section_data): Don't copy linker
+       created group data.
+
+2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 855
+       * elf.c (setup_group): Properly handle zero group count.
+
+2005-04-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * som.c (hppa_som_reloc, som_mkobject, som_is_space)
+       (som_is_subspace, compare_subspaces, som_compute_checksum)
+       (som_build_and_write_symbol_table, som_slurp_symbol_table): New
+       protoypes.
+       (hppa_som_reloc, compare_syms, compare_subspaces)
+       (som_print_symbol, som_get_section_contents)
+       (som_set_section_contents): Remove space after 'void *'.
+       (som_bfd_print_private_bfd_data): Use %lx to print longs.
+       (som_bfd_merge_private_bfd_data)
+       (som_bfd_copy_private_header_data, som_bfd_set_private_flags): New
+       defines.
+
+2004-04-15  Julian Brown  <julian@codesourcery.com>
+
+       * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'.
+       (elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx.
+       (bfd_elf32_arm_set_target_relocs): Handle use_blx.
+       (elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22
+       relocations if requested to.
+       (allocate_dynrelocs): Don't count size of omitted Thumb stubs based on
+       use_blx rather than symbian_p.
+       (elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if
+       use_blx is in effect.
+       (elf32_arm_symbian_link_hash_table_create): Enable use_blx by default
+       for SymbianOS.
+
+2005-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * coffgen.c (coff_print_symbol): Use fprintf_vma to print vma
+       values.
+
+2005-04-15  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/815
+       * elflink.c (elf_smash_syms): Clear undef.next if it's not being
+       used as a list pointer.
+
+2005-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (NO_WERROR): Define.
+       * warning.m4: New file
+       * acinclude.m4: Include warning.m4.
+       * configure.in: Invoke AM_BINUTILS_WARNINGS.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2005-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * merge.c (sec_merge_emit): Tidy.  Check for bfd_zmalloc errors.
+       Write trailing padding.
+
+       * merge.c (merge_strings): Round up section size for alignment.
+
+2005-04-14  David S. Miller  <davem@davemloft.net>
+
+       Add TLS support for 64-bit Sparc ELF.
+       *  elf64-sparc.c (sparc64_elf_dyn_relocs,
+       sparc64_elf_link_hash_entry, sparc64_elf_obj_tdata): New structs.
+       (GOT_UNKNOWN, GOT_NORMAL, GOT_TLD_GD, GOT_TLD_IE,
+       sparc64_elf_hash_entry, sparc64_elf_tdata,
+       sparc64_elf_local_got_tls_type): New defines.
+       (sparc64_elf_mkobject): New function.
+       (sparc64_elf_link_hash_table): Add members for dynamic linker
+       sections PLT, RELPLT, DYNBSS, and RELBSS.  Add tls_ldm_got
+       uion to track TLS GOT references.  Add sym_sec to cache
+       mappings from local sym to section.
+       (link_hash_newfunc): New function.
+       (sparc64_elf_bfd_link_hash_table_create): Rename to
+       sparc64_elf_link_hash_table_create for consistency.
+       Pass link_hash_newfunc to _bfd_elf_link_hash_table_init.
+       (sparc64_elf_create_dynamic_sections): Initialize new section
+       members of sparc64_elf_link_hash_table.  Only init srelbss
+       if not-shared.
+       (sparc64_elf_copy_indirect_symbol, sparc64_elf_tls_transition):
+       New functions.
+       (SPARC_NOP): Define.
+       (sparc64_elf_build_plt, sparc64_elf_plt_entry_offset,
+       sparc64_elf_plt_ptr_offset): Delete.
+       (sparc64_plt_entry_build): New function to build PLT entries
+       gradually instread of all at once at the end of linking.
+       (sparc64_elf_check_relocs): Delete dynobj, sgot, and srelgot
+       local vars.  Get them from sparc64_elf_hash_table instead.
+       Check early on if r_symndx is in bounds.  Handle TLS transitions.
+       Account for TLS GOT references and DF_STATIC_TLS, as needed.
+       For TLS relocs, record the tls_type in either
+       sparc64_elf_local_got_tls_type or sparc64_elf_hash_entry as
+       appropriate.  For R_SPARC_TLS_{GD,LDM}_CALL, emit a reference
+       to the __tls_get_addr symbol.  For PLT relocs, track references
+       via h->plt.refcount.  When R_SPARC_{PC10,PC22,PC_HH22,PC_HM10,
+       PC_LM22} and h not-NULL, set h->non_got_ref.  For global data
+       symbol references, count the number of relocations needed for
+       that symbol.  For default switch case, don't error, this lets
+       the TLS relocs not explicitly handled by this function get
+       accepted.
+       (sparc64_elf_gc_mark_hook, sparc64_gc_sweep_hook): New functions.
+       (sparc64_elf_adjust_dynamic_symbol): Remove dynobj local var, get
+       it from sparc64_elf_hash_table.  Store the real PLT offset
+       in h->plt.offset, and build PLT entries one at a time.  Also
+       get .dynbss section pointer from htab.
+       (allocate_dynrelocs, readonly_dynrelocs,
+       sparc64_omit_section_dynsym): New functions.
+       (sparc64_elf_omit_section_dynsym): Use these new functions as
+       helpers.
+       (dtpoff_base, tpoff): New functions.
+       (sparc64_elf_relocate_section): Kill dynobj, sgot, and splt
+       locals, get them from sparc64_elf_hash_table.  Handle TLS
+       relocations and refcounting in main relocation loop.
+       (sparc64_elf_finish_dynamic_symbol): Use
+       sparc64_elf_link_hash_table.  Build PLT entries as we see
+       them.  Handle TLS GOT relocations.
+       (sparc64_elf_finish_dynamic_sections): Get sgot and dynobj
+       from sparc64_elf_hash_table.  Initialize only PLT header
+       not all entries since we not build PLT entries one by one.
+       (elf_backend_copy_indirect_symbol, bfd_elf64_mkobject,
+       elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook,
+       elf_backend_can_gc_sections, elf_backend_can_refcount): Define.
+
 2005-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * elflink.c (elf_link_input_bfd): Update check for removed
 
 2005-03-29  Joel Brobecker  <brobecker@gnat.com>
 
-        * irix-core.c: Remove some unnecessary prototypes.
+       * irix-core.c: Remove some unnecessary prototypes.
 
 2005-03-28  Joel Brobecker  <brobecker@adacore.com>
 
This page took 0.027703 seconds and 4 git commands to generate.