(ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index dba1adbbd6d59cc9edde0b8324a064ce4723bc75..a4c1de21b5d1825755698e853f3794015e1083e2 100644 (file)
@@ -1,3 +1,183 @@
+2005-04-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors
+       rather than 0.
+       (ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check.
+
+2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_section_numbers): Fix a typo.
+
+2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_link_input_bfd): Remove the extra `\n' in
+       error message.
+       (_bfd_elf_section_already_linked): Likewise.
+
+2005-03-31  Jerome Guitton  <guitton@gnat.com>
+
+       * config.in: Regenerate.
+
+2005-03-31  Jerome Guitton  <guitton@gnat.com>
+
+       * config.in (HAVE_DECL_BASENAME): New configure macro.
+       * configure.in: Check for basename.
+       * configure: Regenerate.
+
+2005-03-30  Julian Brown  <julian@codesourcery.com>
+
+       * 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  <julian@codesourcery.com>
+
+       * 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  <aaron98wiridge9@aaronwl.com>
+
+       * 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  <fnf@specifixinc.com>
+
+       * 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  <dan@codesourcery.com>
+           Phil Blundell  <philb@gnu.org>
+
+       * 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  <dan@codesourcery.com>
+
+       * 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  <brobecker@gnat.com>
+
+       * elf.c (elfcore_grok_nto_status): Print tid as long.
+       (elfcore_grok_nto_regs): Likewise.
+
+2005-03-29  Joel Brobecker  <brobecker@gnat.com>
+
+        * irix-core.c: Remove some unnecessary prototypes.
+
+2005-03-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * irix-core.c: Convert to ISO C.
+
+2005-03-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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  <kettenis@gnu.org>
+
+       * netbsd-core.c: Convert to ISO C.  Fix formatting.
+
+2005-03-24  Eric Christopher  <echristo@redhat.com>
+
+       * elfxx-mips.c: Revert previous patch.
+
+2005-03-24  Nick Clifton  <nickc@redhat.com>
+
+       * 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  <wilson@specifixinc.com>
+
+       * Makefile.am (BFD32_BACKENDS): Delete elf32-ia64.lo.
+       (BFD64_BACKENDS): Add elf32-ia64.lo.
+       * Makefile.in: Regenerate.
+
+2005-03-23  Eric Christopher  <echristo@redhat.com>
+
+       * 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  <vapier@gentoo.org>
+           Nick Clifton  <nickc@redhat.com>
+
+       * 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  <hongjiu.lu@intel.com>
+
+       * 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  <hp@axis.com>
+
+       * hash.c (strtab_hash_newfunc): Fix typo in allocated size.
+
 2005-03-22  Bob Wilson  <bob.wilson@acm.org>
 
        * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup,
This page took 0.030437 seconds and 4 git commands to generate.