* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 226c9b4073b78504b637649d87537a6ce0c429cc..07fdf76fcd12d0fe64524bd03e1ff0fcb6e87b55 100644 (file)
@@ -1,3 +1,237 @@
+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
+       change.
+
+2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+           Andreas Schwab  <schwab@suse.de>
+
+       PR binutils/1991
+       * elf.c (assign_section_numbers): Always use the output section
+       when setting up sh_link for SHF_LINK_ORDER.
+
+2005-12-07  Thiemo Seufer  <ths@networkno.de>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/1932
+       * bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd
+       and hidden arguments.
+
+       * bfd.c (bfd_hide_symbol): Removed.
+
+       * bfd-in2.h: Regenerated.
+
+       * elflink.c (bfd_elf_record_link_assignment): Handle hidden
+       symbols which were provided by a linker script.
+
+2005-12-06  Paul Gilliam  <pgilliam@us.ibm.com>
+
+       * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.
+
+2005-11-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel
+       pseudo-section.  Make sure .reg section comes after the proc
+       section it's generated from.
+
+2005-12-01  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check.
+       (m32r_elf_relocate_section): Fix R_M32R_10_PCREL_RELA linkage bug.
+       (m32r_elf_gc_sweep_hook): Likewise.
+       (m32r_elf_check_relocs): Likewise.
+
+2005-11-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (_bfd_generic_match_sections_by_type): Don't define.
+       * libbfd-in.h (_bfd_generic_match_sections_by_type): Delete.
+       * libbfd.c (_bfd_generic_match_sections_by_type): Delete.
+       * targets.c (bfd_match_sections_by_type): Don't define.
+       (BFD_JUMP_TABLE_LINK): Remove _bfd_generic_match_sections_by_type.
+       * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise.
+       * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2005-11-23  Daniel Jacobowitz  <dan@codesourcery.com>
+           Thiemo Seufer <ths@networkno.de>
+
+       * elf32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for
+       R_MIPS_PC16.
+       (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
+       (bfd_elf32_bfd_reloc_type_lookup): Don't handle
+       BFD_RELOC_16_PCREL_S2.
+       * elf64-mips.c (mips_elf64_howto_table_rel): Use rightshift 2 for
+       R_MIPS_PC16.
+       (mips_elf64_howto_table_rela): Likewise.
+       (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
+       (bfd_elf64_bfd_reloc_type_lookup): Don't handle
+       BFD_RELOC_16_PCREL_S2.
+       * elfn32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for
+       R_MIPS_PC16.
+       (elf_mips_howto_table_rela): Likewise.
+       (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
+       (bfd_elf32_bfd_reloc_type_lookup): Don't handle
+       BFD_RELOC_16_PCREL_S2.
+       * elfxx-mips.c: Formatting fixes.
+       (mips_elf_calculate_relocation): Handle R_MIPS_GNU_REL16_S2
+       and R_MIPS_PC16 identically.
+
+2005-11-23  Frederic Riss  <frederic.riss@st.com>
+
+       * elfcode.h (elf_object_p): Delay the setting of start_address
+       until we're sure the backend matches the binary.
+
+2005-11-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
+       manner as bfd_decode_symclass.
+
+2005-11-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
+       on branches to same section.
+
+2005-11-17  Randolph Chung  <tausq@debian.org>
+
+       * elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
+       hppa64-hp-hpux11.11.
+       (elf64_hppa_section_from_phdr): New function.
+       (elf_backend_section_from_phdr): Define.
+
+2005-11-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 1150
+       * elfxx-mips.c (mips_elf_calculate_relocation): Ignore an
+       undefined symbol if it is optional.
+       (_bfd_mips_elf_merge_symbol_attribute): Make sure that the
+       optional flag is merged as well as the visibility.
+       * elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype.
+       (elf_backend_merge_symbol_attribute): Define.
+
+2005-11-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       Add ms2 support
+       * archures.c (bfd_mach_ms2): Define.
+       * cpu-ms1.c (arch_info_struct): Add ms2 stanza.
+       * elf32-ms1.c (elf32_ms1_machine): Add ms2 case.
+       (ms1_elf_merge_private_bfd_data): Remove unused variables.  Add
+       correct merging logic, with workaround.
+       (ms1_elf_print_private_bfd_data): Add ms2 case.
+       * reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc.
+       * libbfd.h: Regenerated.
+       * bfd-in2.h: Regenerated.
+
+2005-11-07  Steve Ellcey  <sje@cup.hp.com>
+
+       * warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
+       if compiler is not GCC.
+       * configure: Regenerate
+
+2005-11-07  Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate after modifying bfd/warning.m4.
+
+2005-11-07  Steve Ellcey  <sje@cup.hp.com>
+
+       * configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.
+
+2005-11-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Check for fopen64.
+       * libbfd-in.h (real_fopen): New prototype.
+       * configure, config.in, libbfd.h: Regenerated.
+       * bfdio.c (real_fopen): New function.
+       * opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it.
+       * cache.c (bfd_open_file): Likewise.
+
+2005-11-03  Thiemo Seufer  <ths@networkno.de>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Handle only
+       forced local symbols here.
+       (mips_elf_create_dynamic_relocation): Likewise.
+       (_bfd_mips_elf_finish_dynamic_symbol): Fix typo in comment.
+
+2005-11-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elf_fake_sections): When calculating tbss size, just use
+       the last link_order.
+       (assign_file_positions_for_segments): Likewise.
+       * elflink.c (bfd_elf_final_link): Likewise.
+       (elf_reloc_link_order): Correct comment.
+
+2005-11-02  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/1775
+       * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required
+       parentheses.
+
+2005-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerated.
+
+       * dep-in.sed: Replace " ./" with " ".
+
+2005-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is
+       define.
+       * osf-core.c: Include <sys/core.h> only if OSF_CORE is defined.
+       * sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only
+       if SCO5_CORE is defined.
+
+2005-10-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2005-10-28  Joel Brobecker  <brobecker@adacore.com>
+
+       From Eric Botcazou  <botcazou@adacore.com>
+       * coffcode.h (coff_compute_section_file_positions): Fix small
+       error in preprocessor directives.
+
+2005-10-28  Joel Brobecker  <brobecker@adacore.com>
+
+       Mostly from Eric Botcazou <botcazou@adacore.com>
+       * rs6000-core.c: ANSIfy all function definitions.
+       Add missing function prototypes.
+       (ptr_to_uint): New type.
+       (rs6000coff_core_p): Use it as intermediate step in casts.
+       (rs6000coff_core_file_matches_executable_p): Likewise.
+       * xcoff-target.h (rs6000coff_core_p): Fix prototype.
+       (rs6000coff_core_file_matches_executable_p): Likewise.
+
 2005-10-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/1472
        (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.042638 seconds and 4 git commands to generate.