bfd:
[binutils-gdb.git] / bfd / ChangeLog
index f366a997c9e745cee670e46a67168d2388a92306..bf19404d634cba9a7ca1edd4e17abec12c8cd037 100644 (file)
@@ -1,3 +1,86 @@
+2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config.bfd (ia64*-*-netbsd*): New target.
+
+2002-01-21  Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
+
+       * som.c (som_write_space_strings): Comment typo fix.
+
+2002-01-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
+       is_func_descriptor fields.
+       (link_hash_newfunc): Init them.
+       (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
+       dot are candidates for plt entries.  When processing .opd relocs,
+       set function descriptor strings to point inside function code
+       string, and set new ppc_link_hash_entry fields.
+       (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
+       (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
+       function descriptors.  It's now done in..
+       (func_desc_adjust): New.
+       (ppc64_elf_func_desc_adjust): New.
+       (define elf_backend_always_size_sections): Define.
+       (ppc64_elf_hide_symbol): New.
+       (define elf_backend_hide_symbol): Define.
+       (allocate_dynrelocs): Remove code looking up function descriptors
+       as that has been done earlier.
+       (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
+       table.
+       (ppc64_elf_finish_dynamic_symbol): Likewise.  Remove code looking
+       up function descriptor.
+       (build_one_stub): Look up the function code sym.  Check for
+       invalid plt offsets.
+       (ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
+       Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
+
+       * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
+       boolean param.
+       (_bfd_elf_link_hash_hide_symbol): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Adjust call to
+       elf_backend_hide_symbol.
+       (elf_fix_symbol_flags): Likewise.
+       (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
+       than bfd_alloc.
+       * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
+       Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
+       * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
+       (clobber_millicode_symbols): Adjust to suit new hide_symbol.
+       * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
+       and adjust to suit.
+       * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
+       _bfd_elf_link_hash_hide_symbol rather than duplicating code.
+       * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
+
+2002-01-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
+       dynamic function descriptor symbol, not the associated function
+       symbol.
+
+2002-01-17  Eric Christopher  <echristo@redhat.com>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
+
+2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/bfd.pot: Regenerate.
+       * po/fr.po: Regenerate.
+
+2002-01-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
+       Remove "Elf_Internal_Shdr *" param.
+       (_bfd_mips_elf_section_from_bfd_section): Ditto.
+       * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
+       * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
+       * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
+       * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
+       * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
+       * elf.c (_bfd_elf_section_from_bfd_section): Allow backend
+       function to override special sections.  Remove hdr arg from
+       backend call, and don't loop.
+
 2002-01-16  Eric Christopher  <echristo@redhat.com>
 
        * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp