bfd/
[binutils-gdb.git] / bfd / ChangeLog
index b84bcf0a6e30019e5927c4fb5c49ab4154590b6b..51592c9c2447f4c9879ced74d9096f77a4569d54 100644 (file)
@@ -1,3 +1,163 @@
+2005-03-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED
+       on section.  Correct comment, and add FIXME.
+       (ppc_elf_additional_program_headers): Don't bump header count for
+       interp.  Test SEC_ALLOC, not SEC_LOAD, and don't test size.
+       (ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but
+       do allocate memory if they need it.
+
+2005-03-15  Mikkel Krautz  <krautz@gmail.com>
+
+       * config.bfd (x86_64-elf): Add target.
+
+2005-03-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/es.po: Commit new Spanish translation.
+
+2005-03-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
+       for global symbol when reporting overflow.
+
+2005-03-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * libbfd-in.h (_bfd_ar_spacepad): New prototype.
+       * libbfd.h: Rebuilt.
+       * archive.c (_bfd_ar_spacepad): New function.
+       (_bfd_construct_extended_name_table, _bfd_write_archive_contents,
+       bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
+       coff_write_armap): Use it.
+       (bfd_ar_hdr_from_filesystem): Likewise.  Fix HP-UX large
+       uid/gid support.
+       * archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.
+
+2005-03-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
+       has_table to the start of the function.
+
+2005-03-10  Ben Elliston  <bje@au.ibm.com>
+
+       * archive.c: Include hashtab.h.
+       (struct ar_cache): Rename `arelt' to `arbfd' and remove `next'.
+       (_bfd_look_for_bfd_in_cache): Reimplement using htab_find.
+       (hash_file_ptr): New function.
+       (eq_file_ptr): Likewise.
+       (_bfd_add_bfd_to_archive_cache): Reimplement using a hash table.
+       * libbfd-in.h: Include hashtab.h.
+       (struct artdata): Change `cache' member type to htab_t.
+       * libbfd.h: Rebuild.
+
+2005-03-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Bump version to 2.16.90.
+       * configure: Regenerated.
+
+2005-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
+       close is a function like macro in system headers.
+
+2005-03-07  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/778
+       * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate
+       _GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol.
+
+2005-03-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elfcore_grok_win32pstatus): Warning fixes.
+
+2005-03-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/bfd.pot: Regenerate.
+
+2005-03-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
+       with is_func.
+       (func_desc_adjust): Force dot-syms local in executables as well
+       as shared libs.
+
+2005-03-04  David Daney  <ddaney@avtrex.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Handle special
+       '__gnu_local_gp' symbol used by gas -mno-shared.
+
+2005-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_backend_data): Add "const char *" to
+       elf_backend_section_from_phdr.
+
+       * elf.c (bfd_section_from_phdr): Pass "proc" to the
+       elf_backend_section_from_phdr hook.
+
+2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * elfxx-mips.c (struct mips_got_entry): Add tls_type.
+       (struct mips_got_info): Add tls_gotno, tls_assigned_gotno,
+       and tls_ldm_offset.
+       (struct mips_elf_got_per_bfd_arg): Add global_count.
+       (struct mips_elf_count_tls_arg): New.
+       (struct mips_elf_hash_sort_data): Update comment for min_got_dynindx.
+       (struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset.
+       (GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE)
+       (GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define.
+       (TLS_RELOC_P): Define.
+       (TP_OFFSET, DTP_OFFSET): Define.
+       (dtprel_base, tprel_base): New functions.
+       (mips_elf_link_hash_newfunc): Initialize tls_type.
+       (mips_elf_got_entry_hash, mips_elf_got_entry_eq)
+       (mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle
+       TLS entries.
+       (mips_tls_got_relocs, mips_elf_count_local_tls_relocs)
+       (mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs)
+       (mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots)
+       (mips_tls_got_index): New functions.
+       (mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE
+       arguments.  Pass them to mips_elf_create_local_got_entry.  Use
+       mips_tls_got_index.
+       (mips_elf_global_got_index): Add new R_TYPE and INFO arguments.
+       Handle TLS entries.
+       (mips_elf_got_page, mips_elf_got16_entry): Update calls to
+       mips_elf_create_local_got_entry.
+       (mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE
+       arguments.  Handle TLS entries.
+       (mips_elf_sort_hash_table_f): Add non-TLS assertions.
+       (mips_elf_record_local_got_symbol): Add new TLS_FLAG argument.  Handle
+       TLS entries.
+       (mips_elf_record_global_got_symbol): Likewise.
+       (mips_elf_make_got_per_bfd): Initialize new mips_got_info members.
+       Count TLS entries.
+       (mips_elf_merge_gots): Handle TLS entries when merging.
+       (mips_elf_initialize_tls_index): New function.
+       (mips_elf_set_global_got_offset): Handle TLS entries.
+       (mips_elf_adjust_gp): Handle TLS.
+       (mips_elf_multi_got): Remove redundant call to
+       mips_elf_resolve_final_got_entries.  Initialize global_count.
+       Correct a comment.  Initialize new TLS members of mips_got_info.
+       Assign TLS GOT indexes for new GOTs.
+       (mips_elf_create_got_section): Initialize new TLS members of
+       mips_got_info.
+       (mips_elf_calculate_relocation): Handle TLS relocs.
+       (_bfd_mips_elf_check_relocs): Likewise.  Update calls to changed
+       functions.
+       (_bfd_mips_elf_always_size_sections): Handle TLS.
+       (_bfd_mips_elf_size_dynamic_sections): Likewise.
+       (_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Update calls to
+       changed functions.
+       (_bfd_mips_elf_copy_indirect_symbol): Copy tls_type.
+       (_bfd_mips_elf_hide_symbol): Handle TLS.
+       * elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela)
+       (mips_reloc_map): Add TLS relocs.
+       * elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise.
+       * elf64-mips.c (mips_elf64_howto_table_rel)
+       (mips_elf64_howto_table_rela, mips_reloc_map): Likewise.
+       * reloc.c: Define new MIPS TLS relocations.
+       * libbfd.h, bfd-in2.h: Regenerated.
+
 2005-03-02  Jan Beulich  <jbeulich@novell.com>
 
        * Makefile.am: Add dependency of cache.o on libiberty.h.