]> Git Repo - binutils.git/blobdiff - bfd/ChangeLog
* bfd/config.in: Regenerate.
[binutils.git] / bfd / ChangeLog
index af8d64edd7af1d59cc3ef5bfe0a51be657eb4b6c..44084c184f368b08d96d120ea6bcd2de5230e02c 100644 (file)
@@ -1,3 +1,477 @@
+2005-03-31  Jerome Guitton  <[email protected]>
+
+       * config.in: Regenerate.
+
+2005-03-31  Jerome Guitton  <[email protected]>
+
+       * bfd/config.in (HAVE_DECL_BASENAME): New configure macro.
+       * bfd/configure.in: Check for basename.
+       * bfd/configure: Regenerate.
+
+2005-03-30  Julian Brown  <[email protected]>
+
+       * bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
+       bfd_elf32_is_arm_mapping_symbol_name.
+       * bfd-in2.h: Regenerate.
+       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from
+       bfd_elf32_is_arm_mapping_symbol_name.
+       * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename
+       bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
+       (arm_elf_find_function): Likewise.
+       (elf32_arm_output_symbol_hook): Likewise.
+
+2005-03-30  Julian Brown  <[email protected]>
+
+       * bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype.
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename call to
+       bfd_elf32_is_arm_mapping_symbol_name.
+       (elf32_arm_output_symbol_hook): Likewise.
+       (arm_elf_find_function): Likewise, and include STT_NOTYPE in test for
+       mapping symbols.
+       (is_arm_mapping_symbol_name): Function moved from here...
+       * cpu-arm.c (bfd_elf32_is_arm_mapping_symbol_name): ...to here, renamed
+       and made global.
+
+2005-03-29  Aaron W. LaFramboise  <[email protected]>
+
+       * configure.in: Check for ffs decl and alphabetize.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and 
+       alphabetize.
+
+2005-03-29  Fred Fish  <[email protected]>
+
+       * dwarf2.c (struct comp_unit): Fix typo.
+       (scan_unit_for_functions): Remove unused local variable "name"
+       and dead code that set it.
+
+2005-03-29  Daniel Jacobowitz  <[email protected]>
+           Phil Blundell  <[email protected]>
+
+       * bfd-in2.h, libbfd.h: Regenerated.
+       * reloc.c: Add ARM TLS relocations.
+       * elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS
+       relocations.
+       (elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto)
+       (elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto)
+       (elf32_arm_tls_ie32_howto): New.
+       (elf32_arm_howto_from_type): Support TLS relocations.
+       (elf32_arm_reloc_map): Likewise.
+       (elf32_arm_reloc_type_lookup): Likewise.
+       (TCB_SIZE): Define.
+       (struct elf32_arm_obj_tdata): New.
+       (elf32_arm_tdata, elf32_arm_local_got_tls_type): Define.
+       (elf32_arm_mkobject): New function.
+       (struct elf32_arm_relocs_copied): Add pc_count.
+       (elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD)
+       (GOT_TLS_IE): Define.
+       (struct elf32_arm_link_hash_table): Add tls_ldm_got.
+       (elf32_arm_link_hash_newfunc): Initialize tls_type.
+       (elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type.
+       (elf32_arm_link_hash_table_create): Initialize tls_ldm_got.
+       (dtpoff_base, tpoff): New functions.
+       (elf32_arm_final_link_relocate): Handle TLS relocations.
+       (IS_ARM_TLS_RELOC): Define.
+       (elf32_arm_relocate_section): Warn about TLS mismatches.
+       (elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count.
+       (elf32_arm_check_relocs): Detect invalid symbol indexes.  Handle
+       TLS relocations and pc_count.
+       (elf32_arm_adjust_dynamic_symbol): Check non_got_ref.
+       (allocate_dynrelocs): Handle TLS.  Bind REL32 relocs to local
+       calls.
+       (elf32_arm_size_dynamic_sections): Handle TLS.
+       (elf32_arm_finish_dynamic_symbol): Likewise.
+       (bfd_elf32_mkobject): Define.
+
+2005-03-29  Daniel Jacobowitz  <[email protected]>
+
+       * elf32-arm.c (elf32_arm_check_relocs): Increment count for all
+       relocation types.  Don't count relocations which will use a PLT.
+
+2005-03-29  Joel Brobecker  <[email protected]>
+
+       * elf.c (elfcore_grok_nto_status): Print tid as long.
+       (elfcore_grok_nto_regs): Likewise.
+
+2005-03-29  Joel Brobecker  <[email protected]>
+
+        * irix-core.c: Remove some unnecessary prototypes.
+
+2005-03-28  Joel Brobecker  <[email protected]>
+
+       * irix-core.c: Convert to ISO C.
+
+2005-03-28  Joel Brobecker  <[email protected]>
+
+       * irix-core.c (do_sections): Replace + by | in expression.
+       (irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED
+       to unused parameters to avoid a compiler warning.
+
+2005-03-28  Mark Kettenis  <[email protected]>
+
+       * netbsd-core.c: Convert to ISO C.  Fix formatting.
+
+2005-03-24  Eric Christopher  <[email protected]>
+
+       * elfxx-mips.c: Revert previous patch.
+
+2005-03-24  Nick Clifton  <[email protected]>
+
+       * targets.c (_bfd_target_vector): Only include the
+       bfd_elf32_ia64_hpux_big_vec vector when building a 64-bit BFD with
+       all targets enabled.
+
+2005-03-24  James E Wilson  <[email protected]>
+
+       * Makefile.am (BFD32_BACKENDS): Delete elf32-ia64.lo.
+       (BFD64_BACKENDS): Add elf32-ia64.lo.
+       * Makefile.in: Regenerate.
+
+2005-03-23  Eric Christopher  <[email protected]>
+
+       * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New.
+       (mips_elf_calculate_relocation): Use. Define DF_TEXTREL
+       after emitting relocation.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Ditto.
+       (_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL
+       and readonly_reloc.
+
+2005-03-23  Mike Frysinger  <[email protected]>
+           Nick Clifton  <[email protected]>
+
+       * config.bfd: Accept any C library to accompany a GNU Linux
+       implementation, not just the GNU C library.
+       * configure.in: Likewise.
+       * configure: Regenerate.
+
+2005-03-22  H.J. Lu  <[email protected]>
+
+       * bfd-in.h (_bfd_elf_provide_symbol): New.
+       * bfd-in2.h: Regenerated.
+
+       * elf32-ppc.c (set_linker_sym): Moved to elflink.c.
+       (ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead
+       of set_linker_sym.
+
+       * elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed
+       from elf32-ppc.c.
+
+2005-03-22  Hans-Peter Nilsson  <[email protected]>
+
+       * hash.c (strtab_hash_newfunc): Fix typo in allocated size.
+
+2005-03-22  Bob Wilson  <[email protected]>
+
+       * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup,
+       xtensa_sysreg_lookup_name, xtensa_interface_lookup,
+       xtensa_funcUnit_lookup): Skip bsearch call if count is zero.
+       (xtensa_opcode_decode): Rearrange code.
+
+2005-03-22  Nick Clifton  <[email protected]>
+
+       * binary.c: Convert to ISO C90 formatting.
+       * coff-arm.c: Convert to ISO C90 formatting.
+       * coffgen.c: Convert to ISO C90 formatting.
+       * elf32-gen.c: Convert to ISO C90 formatting.
+       * elf64-gen.c: Convert to ISO C90 formatting.
+       * hash.c: Convert to ISO C90 formatting.
+       * ieee.c: Convert to ISO C90 formatting.
+
+2005-03-22  Daniel Jacobowitz  <[email protected]>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
+       unresolved symbols in R_ARM_NONE relocations.
+
+2005-03-22  Daniel Jacobowitz  <[email protected]>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Add
+       UNRESOLVED_RELOC_P argument.  Set it appropriately.
+       (elf32_arm_relocate_section): Update call to
+       elf32_arm_final_link_relocate.  Don't clobber RELOCATION; use
+       unresolved_reloc instead.
+
+2005-03-23  Alan Modra  <[email protected]>
+
+       * elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on
+       .gnu.warning.* sections.
+
+2005-03-22  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (elf_linker_section_pointers_t): Remove
+       written_address_p.
+       (ppc_elf_create_linker_section): Don't try to reuse existing section.
+       (elf_create_pointer_linker_section): Delete info parm.  Don't make
+       h dynamic.  Don't set written_address_p.
+       (ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls.
+       (bfd_put_ptr): Delete.
+       (elf_finish_pointer_linker_section): Remove output_bfd and info parms.
+       Always write section contents.  Assert global sym is def_regular.
+       Use offset bottom bit as a written flag.
+       (ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section
+       calls.
+
+2005-03-22  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..
+       (ppc_elf_set_sdata_syms): ..here.  Expand comment.  Set .sbss start
+       and end syms.
+
+2005-03-21  Nick Clifton  <[email protected]>
+
+       * coff-arm.c (coff_link_hash_entry): Only define for non WINCE
+       targets.
+       (t2a1_bx_pc_insn): Likewise.
+       (t2a2_noop_insn): Likewise.
+       (t2a3_b_insn): Likewise.
+       (t2a1_push_insn): Likewise.
+       (t2a2_ldr_insn): Likewise.
+       (t2a3_mov_insn): Likewise.
+       (t2a4_bx_insn): Likewise.
+       (t2a5_pop_insn): Likewise.
+       (t2a6_bx_insn): Likewise.
+       (coff_arm_relocate_section): Only declare the high_address
+       variable for non WINCE targets.
+
+2005-03-22  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss
+       SEC_LINKER_CREATED.  Attach to dynobj.
+       (ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size.
+
+2005-03-21  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (struct elf_linker_section): Remove sym_hash and
+       sym_offset.  Add name, bss_name, sym_name, sym_val.
+       (struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers.
+       Add sdata array of elf_linker_section_t.
+       (ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name.
+       (enum elf_linker_section_enum): Delete.
+       (ppc_elf_create_linker_section): Rewrite.  Don't create syms here.
+       (ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until
+       the special sections are needed.  Adjust htab->sdata refs.
+       Ensure dynobj is set in sreloc code.
+       (ppc_elf_size_dynamic_sections): Strip sdata sections.
+       (ppc_elf_set_sdata_syms): New function.
+       (elf_finish_pointer_linker_section): Use 0x8000 for sym_offset.
+       (ppc_elf_relocate_section): Adjust references to htab->sdata.  Use
+       sym_val instead of sym_hash.
+       * elf32-ppc.h (ppc_elf_set_sdata_syms): Declare.
+
+2005-03-21  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
+       (ppc_elf_merge_private_bfd_data): Likewise.
+
+2005-03-21  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
+       (ppc_elf_create_linker_section): Don't create rel_section.
+       (elf_create_pointer_linker_section): Don't size relocs.
+       (elf_finish_pointer_linker_section): Remove relative_reloc parm.
+       Don't generate relocs.
+       (ppc_elf_relocate_section): Adjust calls to
+       elf_finish_pointer_linker_section.
+
+2005-03-21  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (is_ppc_elf_target): New function.
+       (ppc_elf_merge_private_bfd_data): Use it rather than just testing
+       for bfd_target_elf_flavour.  Do this test before endian check.
+       (ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
+       (ppc_elf_size_dynamic_sections): Likewise.
+
+2005-03-20  H.J. Lu  <[email protected]>
+
+       * elf-bfd.h (elf_backend_data): Add int to
+       elf_backend_section_from_shdr.
+       (bfd_elf_section_data): Update comment for this_idx.
+       (_bfd_elf_make_section_from_shdr): Add int.
+       * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Take section index
+       and use it to set this_idx in bfd_elf_section_data.
+       (bfd_section_from_shdr): Pass shindex to
+       _bfd_elf_make_section_from_shdr.
+       (_bfd_elf_section_from_bfd_section): Use this_idx in
+       bfd_elf_section_data to find section index.
+
+       * elf32-arm.c (elf32_arm_section_from_shdr): Take section
+       index and pass it to _bfd_elf_make_section_from_shdr.
+       * elf32-i370.c(i370_elf_section_from_shdr): Likewise.
+       * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
+       * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
+       * elf32-v850.c (v850_elf_section_from_shdr): Likewise.
+       * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
+       * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.
+
+2005-03-19  Danny Smith <[email protected]>
+           Ross Ridge  <[email protected]>
+
+       * peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
+       character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX
+       cases.  Add comment.
+
+2005-03-18  H.J. Lu  <[email protected]>
+
+       * elflink.c (elf_mark_used_section): Remove check for special
+       sections.
+
+2005-03-18  Andreas Schwab  <[email protected]>
+
+       * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
+       from bfd_vma to ia64_insn, remove broken cast.
+
+2005-03-18  C Jaiprakash  <[email protected]>
+
+       * elf32-m68k.c (elf_cfv4e_plt0_entry): plt entry for coldfire v4e.
+       (elf_m68k_adjust_dynamic_symbol,elf_m68k_finish_dynamic_symbol,
+        elf_m68k_finish_dynamic_sections): Use it.
+
+2005-03-17  Paul Brook <[email protected]>
+           Dan Jacobowitz <[email protected]>
+           Mark Mitchell  <[email protected]>
+
+       * elf32-arm.c (elf32_arm_modify_segment_map): New function.
+       (elf32_arm_additional_program_headers): Likewise.
+       (elf_backend_modify_segment_map): Define.
+       (elf_backend_additional_program_headers): Likewise.
+       (elf32_arm_symbian_modify_segment_map): Use
+       elf32_arm_modify_segment_map.
+
+2005-03-18  H.J. Lu  <[email protected]>
+
+       * elflink.c (elf_mark_used_section): Check bfd_is_const_section
+       for special sections.
+
+2005-03-18  Alan Modra  <[email protected]>
+
+       * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
+       * elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
+       section_sym_count param, and return number of section symbols.
+       (bfd_elf_size_dynamic_sections): Clear section symbol area of
+       .dynsym contents.  Don't bother calling swap_symbol_out on the
+       first all-zero dynsym.
+       (elf_mark_used_section): Formatting.  Avoid twiddling flags in
+       special sections like bfd_abs_section.
+       (bfd_elf_gc_sections): Spelling fix.
+
+2005-03-16  Fred Fish  <[email protected]>
+
+       PR binutils/790
+       * dwarf2.c (read_indirect_string): Fix apparent typo, check
+       dwarf_str_buffer allocation, not dwarf_abbrev_buffer.
+
+2005-03-16  H.J. Lu  <[email protected]>
+
+       * elflink.c (elf_mark_used_section): New.
+       (bfd_elf_gc_sections): Call elf_gc_mark_section for
+       non-relocatable link if we don't do GC.
+
+2005-03-16  Nick Clifton  <[email protected]>
+           Ben Elliston  <[email protected]>
+
+       * configure.in (werror): New switch: Add -Werror to the
+       compiler command line.  Enabled by default.  Disable via
+       --disable-werror.
+       * configure: Regenerate.
+
+2005-03-16  Nick Clifton  <[email protected]>
+
+       * ecoff.c: Convert to ISO C90 formatting.
+
+2005-03-16  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c: Divide file into general and linker specific
+       functions.  Sort linker functions into roughly the order in which
+       they are called by the ELF linker code.
+
+2005-03-16  Alan Modra  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * config.bfd (x86_64-elf): Add target.
+
+2005-03-15  Alan Modra  <[email protected]>
+
+       * po/es.po: Commit new Spanish translation.
+
+2005-03-14  H.J. Lu  <[email protected]>
+
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
+       for global symbol when reporting overflow.
+
+2005-03-11  Jakub Jelinek  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
+       has_table to the start of the function.
+
+2005-03-10  Ben Elliston  <[email protected]>
+
+       * 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  <[email protected]>
+
+       * configure.in: Bump version to 2.16.90.
+       * configure: Regenerated.
+
+2005-03-07  Jakub Jelinek  <[email protected]>
+
+       * opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
+       close is a function like macro in system headers.
+
+2005-03-07  Alan Modra  <[email protected]>
+
+       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  <[email protected]>
+
+       * elf.c (elfcore_grok_win32pstatus): Warning fixes.
+
+2005-03-05  Alan Modra  <[email protected]>
+
+       * po/bfd.pot: Regenerate.
+
+2005-03-05  Alan Modra  <[email protected]>
+
+       * 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  <[email protected]>
 
        * elfxx-mips.c (mips_elf_calculate_relocation): Handle special
        between include sections when have the same sum but which
        nevertheless are still unique.
 
-2004-03-31  Mattias Engdegård  <[email protected]>
+2004-03-31  Mattias Engdegård  <[email protected]>
 
        * stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs.
 
This page took 0.036409 seconds and 4 git commands to generate.