* corefile.c (generic_core_file_matches_executable_p): New function.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index f76458a969777f50e42ff79f23a1566f16da8c8f..a7efbca08be9f2eaac8ad955bec4e8b6ed6e3e17 100644 (file)
@@ -1,3 +1,143 @@
+2005-12-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * corefile.c (generic_core_file_matches_executable_p): New function.
+       * libbfd-in.h (generic_core_file_matches_executable_p): Add
+       declaration.
+       * libbfd.h: Regenerate.
+       * hpux-core.c: ANSIfy function declarations and prototypes.
+       (thread_section_p): Manually expand bfd_section_name macro
+       to make it clear that parameter ABFD is not used.
+       (hpux_core_core_file_matches_executable_p): Delete, replaced
+       by macro pointing to generic_core_file_matches_executable_p.
+       
+       * aix386-core.c: Replace core_file_matches_executable_p null
+       implementation by generic_core_file_matches_executable_p by
+       using a macro.
+       * aix5ppc-core.c: Likewise.
+       * cisco-core.c: Likewise.
+       * hppabsd-core.c: Likewise.
+       * irix-core.c: Likewise.
+       * lynx-core.c: Likewise.
+       * mach-o.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * osf-core.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * sco5-core.c: Likewise.
+       * trad-core.c: Likewise.
+
+2005-12-19  David Heine  <dlheine@tensilica.com>
+
+       * elf32-xtensa.c (action_list_count, xlate_map_entry, xlate_map,
+       xlate_offset_with_removed_text, build_xlate_map, free_xlate_map): New.
+       (check_section_ebb_pcrels_fit): Build new xlate_map, use it and free it
+       when finished.
+
+2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       Second part of ms1 to mt renaming.
+       * archures.c (bfd_arch_mt): Renamed.
+       (bfd_mt_arch): Renamed.
+       (bfd_archures_list): Adjusted.
+       * bfd-in2.h: Rebuilt.
+       * config.bfd (mt): Remove special case targ_archs.
+       (mt-*-elf): Rename bfd_elf32_mt_vec.
+       * configure: Rebuilt.
+       * configure.in (bfd_elf32_mt_vec): Renamed.
+       (selarchs) Remove mt special case.
+       * cpu-mt.c (arch_info_struct): Adjust.
+       (bfd_mt_arch): Renamed, adjust.
+       * elf32-mt.c (mt_reloc_type_lookup, mt_info_to_howto_rela,
+       mt_elf_relocate_hi16, mt_final_link_relocate, mt_relocate_section,
+       mt_elf_howto_table): Renamed, adjusted.
+       (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook, mt_elf_check_relocs,
+       elf32_mt_machine, mt_elf_object_p, mt_elf_set_private_flags,
+       mt_elf_copy_private_bfd_data, mt_elf_merge_private_bfd_data,
+       mt_elf_print_private_bfd_data): Renamed, adjusted.
+       (TARGET_BIG_SYM, TARGET_BIG_NAME, ELF_ARCH, ELF_MACHINE_CODE,
+       ELF_MAXPAGESIZE, elf_info_to_howto, elf_backend_relocate_section,
+       bfd_elf32_bfd_reloc_type_lookup, elf_backend_gc_mark_hook,
+       elf_backend_gc_sweep_hook, elf_backend_check_relocs,
+       eld_backend_object_p, bfd_elf32_bfd_set_private_flags,
+       bfd_elf32_bfd_copy_private_bfd_data,
+       bfd_elf32_bfd_merge_private_bfd_data,
+       bfd_elf32_bfd_print_private_bfd_data): Adjusted.
+       * libbfd.h: Regenerated.
+       * reloc.c (BFD_RELOC_MT_PC16, BFD_RELOC_MT_HI16,
+       BFD_RELOC_MT_LO16, BFD_RELOC_MT_GNU_VTINHERIT,
+       BFD_RELOC_MT_GNU_VTENTRY, BFD_RELOC_MT_PCINSN8): Renamed.
+       * targets.c (bfd_elf32_mt_vec): Renamed.
+       (_bfd_target_vector): Adjusted.
+
+2005-12-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2008
+       * elf.c (_bfd_elf_setup_sections): Return FALSE if
+       elf_linked_to_section will be set to NULL.
+
+       * format.c (bfd_check_format_matches): Don't check the default
+       target twice.
+
+2005-12-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
+       shared libs to resolve locally.
+
+2005-12-12  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and
+       BFD_RELOC_ARM_PCREL_JUMP.
+       (check_use_blx): New function.
+       (bfd_elf32_arm_process_before_allocation): Don't allocate glue if
+       using BLX.
+       (elf32_arm_final_link_relocate): Perform bl<->blx conversion for
+       R_ARM_CALL and R_ARM_THM.
+       (elf32_arm_get_eabi_attr_int): New function.
+       (elf32_arm_size_dynamic_sections): Call check_use_blx.
+       * libbfd.h: Regenerate.
+       * reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP.
+
+2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
+       BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
+       (cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
+       * Makefile.in: Rebuilt.
+       * config.bfd: Replace ms1 arch with mt.
+       * configure.in: Replace ms1 files with mt files.
+       * configure: Rebuilt.
+       * elf32-mt.c: Renamed from elf32-ms1.c.  Update include files.
+       * cpu-mt.c: Renamed from cpu-ms1.c.
+
+2005-12-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
+
+2005-12-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_gc_mark_dynamic_ref_symbol):  Use !info-executable
+       to test for linking shared libs, not info->shared.
+
+2005-12-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms.
+       (ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab.
+       (add_stub_sym): New function.
+       (allocate_dynrelocs): Call add_stub_sym.
+       (ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve
+       when emit_stub_syms.
+       * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
+
+2005-12-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * reloc.c (enum complain_overflow): Correct comments.
+       (bfd_check_overflow): Combine complain_overflow_bitfield and
+       complain_overflow_signed code.
+       (_bfd_relocate_contents): Likewise.
+       (bfd_howto_32): Use complain_overflow_dont.
+       * elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change.
+       * bfd-in2.h: Regenerate.
+
 2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf.c (assign_section_numbers): Remove extra code in the last
        (scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
        Delete code setting funcinfo nesting_level field.  Add code to set
        funcinfo caller_func field.
-       
+
 2005-09-20  James E. Wilson  <wilson@specifix.com>
 
        * dwarf2.c (find_abstract_instance_name): Don't early exit when name
        local symbols and move it to
        (msp430_elf_relax_adjust_locals): New function - walk over the
        sections in the bfd and adjust relocations as necessary.
-       
+
 2005-08-31  DJ Delorie  <dj@redhat.com>
 
        * elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
This page took 0.024496 seconds and 4 git commands to generate.