* elflink.c (_bfd_elf_link_create_dynamic_sections): Move from
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 051769b2cad8ab613033b056c9278d179d2b79eb..2d344b00dfbef91e397035fea45f1434d324cb1a 100644 (file)
@@ -1,3 +1,777 @@
+2003-05-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from
+       elflink.h.  Replace LOG_FILE_ALIGN with bed->s->log_file_align.
+       (_bfd_elf_create_dynamic_sections): Use bed->s->log_file_align.
+       (bfd_elf_record_link_assignment): Move from elflink.h.
+       (_bfd_elf_merge_symbol): Likewise.
+       (_bfd_elf_add_default_symbol): Likewise.
+       (_bfd_elf_export_symbol): Likewise.
+       (_bfd_elf_link_find_version_dependencies): Likewise.
+       (_bfd_elf_link_assign_sym_version): Likewise.
+       (_bfd_elf_link_read_relocs): Likewise.
+       (_bfd_elf_link_size_reloc_section): Likewise.
+       (_bfd_elf_fix_symbol_flags): Likewise.
+       (_bfd_elf_adjust_dynamic_symbol): Likewise.
+       (_bfd_elf_link_sec_merge_syms): Likewise.
+       (elf_link_read_relocs_from_section): Likewise.  Use bed->s->sizeof_rel
+       and bed->s->sizeof_rela.
+       (_bfd_elf_link_output_relocs): Likewise.
+       * elf-bfd.h (struct elf_size_info): Rename file_align to
+       log_file_align.
+       (struct elf_info_failed): Move from elflink.h.
+       (struct elf_assign_sym_version_info): Likewise.
+       (struct elf_find_verdep_info): Likewise.
+       (_bfd_elf_create_dynamic_sections): Delete duplicate declaration.
+       (_bfd_elf_merge_symbol, _bfd_elf_add_default_symbol,
+       _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies,
+       _bfd_elf_link_assign_sym_version,
+       _bfd_elf_link_create_dynamic_sections, _bfd_elf_link_read_relocs,
+       _bfd_elf_link_size_reloc_section, _bfd_elf_link_output_relocs,
+       _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
+       _bfd_elf_link_sec_merge_syms): Declare.
+       (bfd_elf32_link_create_dynamic_sections): Don't declare.
+       (_bfd_elf32_link_read_relocs): Likewise.
+       (bfd_elf64_link_create_dynamic_sections): Likewise.
+       (_bfd_elf64_link_read_relocs): Likewise.
+       * elflink.h: Move lots o' stuff elsewhere.
+       * bfd-in.h (bfd_elf32_record_link_assignment): Don't declare.
+       (bfd_elf64_record_link_assignment): Likewise.
+       (bfd_elf_record_link_assignment): Declare.
+       * bfd-in2.h: Regenerate.
+       * elfcode.h (elf_link_create_dynamic_sections): Don't declare.
+       (NAME(_bfd_elf,size_info)): Adjust for log_file_align.
+       * elf.c (_bfd_elf_init_reloc_shdr): Adjust for bed->s->log_file_align.
+       (assign_file_positions_for_segments): Likewise.
+       (assign_file_positions_except_relocs): Likewise.
+       (swap_out_syms, elfcore_write_note): Likewise.
+       * elf-m10200.c: Adjust for changed function names.
+       * elf-m10300.c: Likewise.
+       * elf32-arm.h: Likewise.
+       * elf32-h8300.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-ip2k.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mips.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-mmix.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       (MIPS_ELF_LOG_FILE_ALIGN): Use log_file_align.
+       * elf64-alpha.c (alpha_elf_size_info): Adjust for log_file_align.
+       * elf64-hppa.c (hppa64_elf_size_info): Likewise.
+       * elf64-mips.c (mips_elf64_size_info): Likewise.
+       * elf64-s390.c (s390_elf64_size_info): Likewise.
+       * elf64-sparc.c (sparc64_elf_size_info): Likewise.
+
+2003-05-08  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.h (elf_add_default_symbol): After skipping the
+       unversioned symbol, go to non-default one.
+
+2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the
+       want_plt field.
+       (elfNN_ia64_relocate_section): Don't do dynamic symbol lookup
+       for symbols with non-default visibility.
+
+2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.h (elf_link_check_versioned_symbol): Also handle the
+       case that a DSO references a hidden symbol which may be
+       satisfied by a versioned symbol in another DSO.
+       (elf_link_output_extsym): Check versioned definition for hidden
+       symbol referenced by a DSO.
+
+2003-05-07  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-xstormy16.c (xstormy16_elf_howto_table): Reset
+       R_XSTORMY16_16 reloc to ignore overflows.
+
+2003-05-06  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Improve
+       error message for mixing different-endian files.  Check for ABI
+       compatibility of input files with the selected emulation.
+
+2003-05-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (allocate_dynrelocs): For undef weak syms with
+       non-default visibility, a) don't make them dynamic, b) discard
+       space for dynamic relocs.
+       * elf64-x86-64.c (allocate_dynrelocs): Likewise.
+
+       * elf32-ppc.c (allocate_dynrelocs): For undef weak syms with
+       non-default visibility, a) don't allocate plt entries, b) don't
+       allocate .got relocs, c) discard dyn rel space,
+       (ppc_elf_relocate_section): d) don't generate .got relocs, e)
+       don't generate dynamic relocs.
+       * elf64-ppc.c (allocate_dynrelocs): As above.
+       (ppc64_elf_relocate_section): As above.
+
+2003-05-05  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (allocate_dynrelocs): Don't allocate dynamic
+       relocation entries for weak undefined symbols with non-default
+       visibility.
+       (elf64_x86_64_relocate_section): Initialize the GOT entries and
+       skip R_386_32/R_386_PC32 for weak undefined symbols with
+       non-default visibility.
+
+2003-05-04  H.J. Lu <hjl@gnu.org>
+
+       * elf32-i386.c (allocate_dynrelocs): Don't allocate dynamic
+       relocation entries for weak undefined symbols with non-default
+       visibility.
+       (elf_i386_relocate_section): Initialize the GOT entries and
+       skip R_386_32/R_386_PC32 for weak undefined symbols with
+       non-default visibility.
+       * elfxx-ia64.c (allocate_fptr): Don't allocate function
+       descriptors for weak undefined symbols with non-default
+       visibility.
+       (allocate_dynrel_entries): Don't allocate relocation entries
+       for symbols resolved to 0.
+       (set_got_entry): Don't install dynamic relocation for weak
+       undefined symbols with non-default visibility.
+       (set_pltoff_entry): Likewise.
+
+       * elflink.h (elf_fix_symbol_flags): Hide weak undefined symbols
+       with non-default visibility.
+       (elf_link_output_extsym): Don't make weak undefined symbols
+       with non-default visibility dynamic.
+
+2003-05-04  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_merge_symbol): Correctly handle weak definiton.
+
+2003-05-04  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_merge_symbol): Don't record a hidden/internal
+       symbol dynamic. Check indirection when removing the old
+       definition for symbols with non-default visibility.
+       (elf_add_default_symbol): Skip when told by elf_merge_symbol.
+
+2003-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-xstormy16.c (xstormy16_elf_howto_table): Make the
+       R_XSTORMY16_8 and R_XSTORMY16_16 relocs detect and complain about
+       unsigned overflow.
+
+2003-05-02  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Don't copy
+       ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted.
+       (ELIMINATE_COPY_RELOCS): Define as one.  Use throughout.
+       (elf_x86_64_adjust_dynamic_symbol): For weak symbols, copy
+       ELF_LINK_NON_GOT_REF from weakdef.
+
+2003-05-02  Charles Lepple <clepple@ghz.cc>
+           Nick Clifton <nickc@redhat.com>
+
+       * acinclude.m4: Fix name of --enable-install-libbfd switch.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+
+2003-05-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Test whether the
+       weakdef sym has already been adjusted before treating it specially.
+       * elf32-i386.c (elf_i386_copy_indirect_symbol): Don't copy
+       ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted.
+       * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
+       (ppc64_elf_check_relocs): Set ELF_LINK_NON_GOT_REF.
+
+2003-04-28  H.J. Lu <hjl@gnu.org>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during
+       the relax finalize pass.
+
+       * section.c (struct sec): Add need_finalize_relax and remove
+       flag11.
+       (STD_SECTION): Update struct sec initializer.
+       * bfd-in2.h: Regenerated.
+
+2003-04-28  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol
+       to copy any information related to dynamic linking when we flip
+       the indirection.
+
+2003-04-27  H.J. Lu <hjl@gnu.org>
+
+       * elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New.
+       (ELF_LINK_DYNAMIC_WEAK): New.
+
+       * elflink.h (elf_merge_symbol): Add one argument to indicate if
+       a symbol should be skipped. Ignore definitions in dynamic
+       objects for symbols with non-default visibility.
+       (elf_add_default_symbol): Adjusted.
+       (elf_link_add_object_symbols): Check if a symbol should be
+       skipped. Don't merge the visibility field with the one from
+       a dynamic object.
+       (elf_link_check_versioned_symbol): Use undef_bfd.
+       (elf_link_output_extsym): Warn if a forced local symbol is
+       referenced from dynamic objects. Make non-weak undefined symbol
+       with non-default visibility a fatal error.
+
+2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Bump version on HEAD to 2.14.90.
+       * configure: Regenerated.
+
+2003-04-26  Stephane Carrez  <stcarrez@nerim.fr>
+
+       PR savannah/3331:
+       * elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group
+       when we couldn't relax something.
+
+2003-04-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.h (elf_merge_symbol): When we find a regular definition
+       for an indirect symbol, flip the indirection so that the old
+       direct symbol now points to the new definition.
+
+2003-04-24  Roland McGrath  <roland@redhat.com>
+
+       * elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr".
+
+2003-04-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c: Formatting and comment fixes.
+       (ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol.
+       (ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs.
+
+2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+       * archures.c (bfd_mach_h8300hn, bfd_mach_h8300sn): Added.
+       * bfd-in2.h: Rebuilt.
+       * coff-h8300.c (BADMAG): Add check for H8300HNBADMAG & H8300SNBADMAG.
+       * coffcode.h (coff_set_arch_mach_hook): Add case for H8300HNMAGIC
+       & H8300SNMAGIC.
+       (coff_set_flags): Add case for bfd_mach_h8300hn & bfd_mach_h8300sn.
+       * cpu-h8300.c (h8300_scan): Handle h8300hn, h8300sn.
+       (h8300sn_info_struct, h8300hn_info_struct): New.
+       * elf32-h8300.c (elf32_h8_mach): Handle case for h8300hn & h8300sn
+       (elf32_h8_final_write_processing): Likewise.
+
+2003-04-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (tpoff): New.
+       (struct elf_sh_dyn_relocs): Remove tls_tpoff32.
+       (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
+       (allocate_dynrelocs): Don't make unnecessary dynamic TLS
+       relocations.  Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses.
+       (sh_elf_relocate_section): Likewise. Remove unnecessary tests.
+       (dtpoff_base): Fix wrong indentation.
+       (sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS
+       relocations.  Don't set tls_tpoff32 flag.  Don't make unnecessary
+       R_SH_TLS_TPOFF32 relocations.
+
+2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * archures.c (enum bfd_architecture): Amend comment to refer to SuperH.
+       * cpu-sh.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * reloc.c (bfd_reloc_code_real): Likewise.
+       * elf32-sh64-com.c: Change comment to refer to SuperH.
+       * elf32-sh64.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * bfd-in2.h (enum bfd_architecture): Regenerate.
+
+2003-04-23  Alan Modra  <amodra@bigpond.net.au>
+
+       From Julien LEMOINE <speedblue@debian.org>
+       * elf32-i386.c (elf_i386_info_to_howto): Delete.
+       (elf_info_to_howto): Define as elf_i386_info_to_howto_rel.
+
+2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * archures.c: Replace references to Mitsubishi M32R with references
+       to Renesas M32R.
+       * relocs.c: Likewise.
+       * bfd-in2.h: Regenerate.
+
+2003-04-21  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
+       executable when a symbol is defined both regular and dynamic.
+
+2003-04-21  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
+       (elf32-m68hc1x.lo): Update dependencies
+       * configure.in: Add elf32-m68hc1x.lo.
+       * configure: Rebuild.
+       * Makefile.in: Rebuild.
+
+2003-04-21  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
+       (m68hc11_elf_hash_table_create): New function.
+       (elf32_m68hc11_link_hash_table_free): New function.
+       (stub_hash_newfunc): New function.
+       (m68hc11_add_stub): New function.
+       (elf32_m68hc11_add_symbol_hook): New function.
+       (elf32_m68hc11_setup_section_lists): New function.
+       (elf32_m68hc11_next_input_section): New function.
+       (elf32_m68hc11_size_stubs): New function.
+       (elf32_m68hc11_build_stubs): New function.
+       (m68hc11_get_relocation_value): New function.
+       (elf32_m68hc11_relocate_section): Call the above to redirect
+       some relocations to the trampoline code.
+       (m68hc11_elf_export_one_stub): New function.
+       (m68hc11_elf_set_symbol): New function.
+       (elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse.
+       (m68hc11_elf_get_bank_parameters): Get parameters only when the info
+       is not yet initialized.
+
+       * elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
+       (elf32_m68hc11_stub_hash_entry): New struct.
+       (m68hc11_page_info): Add trampoline handler address.
+       (m68hc11_elf_link_hash_table): Add stubs generation members.
+       (elf32_m68hc11_add_symbol_hook): Declare.
+       (elf32_m68hc11_setup_section_lists): Declare.
+       (elf32_m68hc11_size_stubs): Declare.
+       (elf32_m68hc11_build_stubs): Declare.
+
+       * elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c.
+       (elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise.
+       (elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto.
+       (_bfd_m68hc11_elf_set_private_flags): Ditto.
+       (_bfd_m68hc11_elf_merge_private_bfd_data): Ditto.
+       (_bfd_m68hc11_elf_print_private_bfd_data): Ditto.
+       (bfd_elf32_bfd_link_hash_table_create): Define.
+       (elf_backend_add_symbol_hook): Define.
+       (m68hc11_elf_bfd_link_hash_table_create): New function.
+       (m68hc11_elf_build_one_stub): New function.
+       (m68hc11_elf_size_one_stub): New function.
+       (m68hc11_elf_bfd_link_hash_table_create): Install the above.
+       (bfd_elf32_bfd_link_hash_table_create): Define.
+
+       * elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove.
+       (m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked.
+       (m68hc12_phys_addr): Ditto.
+       (m68hc12_phys_page): Ditto.
+       (m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c.
+       (elf32_m68hc11_gc_mark_hook): Likewise.
+       (elf32_m68hc11_gc_sweep_hook): Likewise.
+       (elf32_m68hc11_check_relocs): Likewise.
+       (elf32_m68hc11_relocate_section): Likewise.
+       (_bfd_m68hc12_elf_set_private_flags): Likewise.
+       (_bfd_m68hc12_elf_merge_private_bfd_data): Likewise.
+       (_bfd_m68hc12_elf_print_private_bfd_data): Likewise.
+       (m68hc12_elf_build_one_stub): New function.
+       (m68hc12_elf_size_one_stub): New function.
+       (m68hc12_elf_bfd_link_hash_table_create): New function, use the above.
+       (elf_backend_add_symbol_hook): Define.
+       (elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks.
+
+2003-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * format.c (bfd_check_format_matches): Only check associated
+       vector if the matching_vector has been created.
+
+2003-04-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
+       2003-04-09's change.
+
+2003-04-15  Brian Ford  <ford@vss.fsi.com>
+
+       * peicode.h (coff_swap_scnhdr_in): If a section holds
+       uninitialized data and is from an object file or from an
+       executable image that has not initialized the s_size field, or if
+       the physical size is padded, use the virtual size (stored in
+       s_paddr) instead.
+
+2003-04-15  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): Properly report
+       filename for alignment reduction.
+
+2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
+
+       * archures.c: Replace occurrances of 'Hitachi' with 'Renesas'.
+       * reloc.c: Likewise.
+       * coff-h8300.c: Likewise.
+       * coff-h8500.c: Likewise.
+       * coff-sh.c: Likewise.
+       * cpu-h8300.c: Likewise.
+       * cpu-sh.c: Likewise.
+       * elf32-h8300.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sh64-com.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * bfd-in2.h: Regenerate.
+
+2003-04-14  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): Maintain maximum
+       alignment for common symbols. Warn reducing alignment for
+       common symbols. Report old filename when symbol size changes.
+
+2003-04-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
+       occurrences of the same test changed in the previous patch.
+       Optimize.
+
+2003-04-11  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
+       (mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to
+       GOT_DISP/addend only if the symbol got a global GOT entry.
+
+2003-04-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Decay
+       GOT_PAGE/GOT_OFST referencing overridable symbol to
+       GOT_DISP/addend.
+       (_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing
+       global symbol as GOT_DISP.
+
+2003-04-10  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
+       next relocation on an undefined symbol.
+
+2003-04-09  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
+       Ignore relocations against r_symndx == 0.
+
+2003-04-09  H.J. Lu <hjl@gnu.org>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Don't return
+       FALSE for undefined symbols.
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
+
+2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
+       and IRIX-specific shift-to-64-bit 4-byte lengths before following
+       addr_size.
+
+2003-04-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
+       pointer size from ABI, not arch_bits_per_address.
+
+2003-04-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
+       constants for n32 ABI.
+
+2003-04-06  Andrew Cagney  <cagney@redhat.com>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Disable
+       free that leads to GDB vs BFD memory corruption.
+
+2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
+       symbols that mark the end of the section.
+       (m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when
+       converting to a relative branch so that the offset is computed after
+       the relaxation; also relocate a jsr into a bsr if possible but don't
+       relax them if they are to a far symbol as we need to call the
+       trampoline code.
+       (elf_m68hc11_howto_table): Set pcrel_offset to true.
+
+2003-04-04  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * archures.c: Namespace cleanup. Rename bfd_mach_c3x to
+       bfd_mach_tic3x and bfd_mach_c4x to bfd_mach_tic4x
+       * bfd-in2.h: Regenerate
+       * coff-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/
+       * cpu-tic4x.c: Ditto
+
+2003-04-03  Nick Clifton  <nickc@redhat.com>
+
+       * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Compute ps and ss
+       differently for object files and executables.
+       * peicode.h (coff_swap_scnhdr_in): Only set the s_size field
+       for object files or for executables who have not already
+       initialised the field.
+       * libpei.h (bfd_pe_executable_p): New macro.  Return true if
+       the PE format bfd is an executable.
+
+2003-04-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
+       here as it's too early to reliably determine locality.
+       (ppc_elf_gc_sweep_hook): Likewise.
+       (SYMBOL_REFERENCES_LOCAL): Expand comment.
+
+2003-04-02  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-modules.c: Remove comment indicating that this is a
+       generated file.
+
+2003-04-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
+
+2003-04-01  Bob Wilson  <bob.wilson@acm.org>
+
+       * Makefile.am (ALL_MACHINES): Add cpu-xtensa.lo.
+       (ALL_MACHINES_CFILES): Add cpu-xtensa.c.
+       (BFD32_BACKENDS): Add elf32-xtensa.lo, xtensa-isa.lo, and
+       xtensa-modules.lo.
+       (BFD32_BACKENDS_CFILES): Add elf32-xtensa.c, xtensa-isa.c, and
+       xtensa-modules.c.
+       (cpu-xtensa.lo): New target.
+       (elf32-xtensa.lo): Likewise.
+       (xtensa-isa.lo): Likewise.
+       (xtensa-modules.lo): Likewise.
+       * Makefile.in: Regenerate.
+       * archures.c (bfd_architecture): Add bfd_{arch,mach}_xtensa.
+       (bfd_archures_list): Add bfd_xtensa_arch.
+       * config.bfd: Handle xtensa-*-*.
+       * configure.in: Handle bfd_elf32_xtensa_{le,be}_vec.
+       * configure: Regenerate.
+       * reloc.c: Add BFD_RELOC_XTENSA_{RTLD,GLOB_DAT,JMP_SLOT,RELATIVE,
+       PLT,OP0,OP1,OP2,ASM_EXPAND,ASM_SIMPLIFY}.
+       * targets.c (bfd_elf32_xtensa_be_vec): Declare.
+       (bfd_elf32_xtensa_le_vec): Likewise.
+       (bfd_target_vector): Add bfd_elf32_xtensa_{be,le}_vec.
+       * cpu-xtensa.c: New file.
+       * elf32-xtensa.c: Likewise.
+       * xtensa-isa.c: Likewise.
+       * xtensa-modules.c: Likewise.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Likewise.
+
+2003-04-01  Nick Clifton  <nickc@redhat.com>
+
+       * archures.c (bfd_mach_arm_unknown): Define.
+       * bfd-in.h (bfd_arm_merge_machines, bfd_arm+update_notes,
+       bfd_arm_get_mach_from_notes): Prototype.
+       * bfd-in2.h: Regenerate.
+       * coff-arm.c (coff_arm_merge_private_bfd_data): Call
+       bfd_arm_merge_machines.
+       (coff_arm_final_link_postscript): Call bfd_arm_update_notes.
+       * coffcode.h (coff_set_arch_mach_hook): Call
+       bfd_arm_get_mach_from_notes.
+       * coffgen.c (coff_real_object_p): Revert previous delta.
+       * cpu_arm.c (arm_check_note): New function.  Examine a note in a
+       .note section.
+       (bfd_arm_merge_machines): New function: Handle the merging of ARM
+       binaries compiled for different architectures..
+       (bfd_arm_update_notes): New function: Update an ARM note section.
+       (bfd_arm_get_mach_from_notes): New function: Extract a bfd machine
+       number from an ARM note section.
+       * elf32-arm.h (elf32_arm_object_p): Use
+       bfd_arm_get_mach_from_notes.
+       (elf32_arm_merge_private_bfd_data): Use bfd_arm_merge_machines.
+       (elf32_arm_final_write_processing): Use bfd_arm_update_notes.
+
+2003-04-01  Ben Elliston  <bje@wasabisystems.com>
+
+       * dwarf2.c (read_attribute_value): Correct typo in comment.
+
+2003-04-01  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2.c (concat_filename): Use bfd_malloc() and strdup()
+       instead of concat().
+       (decode_line_info): Only free filename if it is not NULL.
+       (add_line_info): Make a copy of the filename when storing it into
+       the info structure.
+
+2003-03-31  Andreas Schwab  <schwab@suse.de>
+           Daniel Jacobowitz  <drow@mvista.com>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Add
+       parameter symbol_table.  Optionally use it instead of the symbol
+       table from the bfd.  Save and restore output offsets and output
+       sections  around bfd_get_relocated_section_contents.  Fix a memory
+       leak.
+       (simple_save_output_info, simple_restore_output_info): New
+       functions.
+       * bfd-in2.h: Regenerate.
+       * dwarf2.c (read_abbrevs): Use
+       bfd_simple_get_relocated_section_contents instead of
+       bfd_get_section_contents.
+       (decode_line_info): Likewise.
+       (_bfd_dwarf2_find_nearest_line): Likewise.  Don't call
+       find_rela_addend.
+       (find_rela_addend): Remove.
+       * elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
+       debugging sections.
+       (elfNN_ia64_hash_table_create): Create the hash table with malloc,
+       not bfd_zalloc.
+
+2003-03-31  David Heine  <dlheine@suif.stanford.edu>
+
+       * aoutx.h (aout_link_hash_table_create): Use bfd_malloc instead of
+       bfd_alloc.
+       * dwarf2.c (concat_filename): Always allocate space for the
+       returned filename.
+       (decode_line_info): Free the allocated filename returned by
+       concat_filename.
+       * elf-eh-frame.c (bfd_elf_write_section_eh_frame): Fix memory leaks.
+       * elf.c (copy_private_bfd_data): Likewise.
+       (_bfd_elf_slurp_version_tables): Fix bug freeing contents pointer.
+       * elflink.h (elf_link_sort_relocs): Fix memory leak.
+       * format.c (bfd_check_format_matches): Likewise.
+       * linker.c (bfd_generic_final_link): Likewise.
+       * opncls.c (find_separate_debug_info): Likewise.
+       * simple.c (bfd_simple_get_relocated_section_contents): Likewise.
+
+2003-03-28  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): Correctly combine
+       visibilities.
+
+2003-03-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
+       to -1 before recomputing got offsets.
+
+2003-03-26  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
+       (elf_m68k_relocate_section): Use it to correctly handle symbols
+       forced to be local.
+       (elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got
+       entries for symbols that are forced to be local.
+
+2003-03-25  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_relax_section): New function.
+       * elfxx-mips.h (_bfd_mips_relax_section): Declare.
+       * elfn32-mips.c, elf64-mips.c: Use it.
+
+2003-03-25  Stan Cox   <scox@redhat.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       Contribute support for Intel's iWMMXt chip - an ARM variant:
+
+       * archures.c: Add bfd_mach_arm_iWMMXt.
+       * reloc.c: Add BFD_RELOC_ARM_CP_OFF_IMM_S2.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * coff-arm.c (coff_arm_merge_private_bfd_data): Allow iWMMXt
+       object files to be linked with XScale ones.
+       (coff_arm_final_link_postscript): Update note section.
+       * coffcode.h (coff_set_arch_mach_hook): Handle note section.
+       * coffgen.c (coff_real_object_p): Call bfd_coff_set_arch_mach_hook
+       after identifying a coff binary.
+       * cpu-arm.c (processors): Add iWMMXt.
+       (arch_inf): Likewise.
+       * elf32-arm.h (arm_object_p): Handle note section.
+       (elf32_arm_merge_private_bfd_data):  Allow iWMMXt object files to
+       be linked with XScale ones.
+       (elf32_arm_section_flags): New function: Set flags on note section.
+       (elf32_arm_final_write_processing): Handle note section.
+
+2003-03-21  DJ Delorie  <dj@redhat.com>
+
+       * elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
+       _bfd_elf_rela_local_sym.
+
+2003-03-20  H.J. Lu <hjl@gnu.org>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
+       non-ELF outputs.
+
+2003-03-20  Nick Clifton  <nickc@redhat.com>
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Initialise $idata2 and
+       $idata5 in case bfd_coff_final_link is not called.
+
+2003-03-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count
+       field.
+       (canon_reloc_count): Define.
+       (sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table,
+       sparc64_elf_canonicalize_dynamic_reloc): Use it instead of
+       reloc_count.
+       (sparc64_elf_canonicalize_reloc): New routine.
+       (bfd_elf64_canonicalize_reloc): Define.
+
+2003-03-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation
+       againt mergeable sections.  Take r_addend into account when caching
+       trampolines.
+
+2003-03-18  Richard Henderson  <rth@redhat.com>
+
+       * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
+       local symbols that have no dyninfo.
+
+2003-03-14  Gene Smith  <gene.smith@siemens.com>
+
+       * ieee.c (ieee_write_expression): Handle the case where symbol is
+       NULL.
+       General formatting improvements.
+
+2003-03-13  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (LINGUAS): Add zh_CN.
+       * configure: Regenerate.
+       * po/zh_CN.po: New file.
+
+2003-03-13  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * aout-cris.c (BYTES_IN_WORD): Don't define.
+       aout-encap.c: Likewise.
+       aout-ns32k.c: Likewise.
+       aout-tic30.c: Likewise.
+       hp300bsd.c: Likewise.
+       i386aout.c: Likewise.
+       i386dynix.c: Likewise.
+       i386linux.c: Likewise.
+       i386lynx.c: Likewise.
+       i386mach3.c: Likewise.
+       m68k4knetbsd.c: Likewise.
+       m68klinux.c: Likewise.
+       m68klynx.c: Likewise.
+       m68knetbsd.c: Likewise.
+       m88kmach3.c: Likewise.
+       mipsbsd.c: Likewise.
+       newsos3.c: Likewise.
+       sparclinux.c: Likewise.
+       sparclynx.c: Likewise.
+       sparcnetbsd.c: Likewise.
+       vaxbsd.c: Likewise. Fix comment formatting.
+
+2003-03-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Reverted 2003-03-02's patch.
+
+       * elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
+       overridable.
+       * elf64-mips.c (mips_elf64_canonicalize_reloc,
+       mips_elf64_get_dynamic_reloc_upper_bound,
+       mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
+       (bfd_elf64_get_canonicalize_reloc,
+       bfd_elf64_get_dynamic_reloc_upper_bound,
+       bfd_elf64_canonicalize_dynamic_reloc): Define.
+       (mips_elf64_slurp_reloc_table): Support dynamic.
+       (mips_elf64_slurp_one_reloc_table): Adjust.
+
+2003-03-12  Nick Clifton  <nickc@redhat.com>
+
+       * xsym.c (bfd_sym_fetch_type_information_table_entry): Change
+       'index' to 'offset' in test for zero value.
+
 2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
        (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV.
        (elfNN_ia64_choose_gp): Split out from ...
        (elfNN_ia64_final_link): ... here.
-       
+
 2003-02-27  Andrew Cagney  <cagney@redhat.com>
 
        * bfd.c (struct bfd): Rename "struct _bfd".
        * libbfd.h: Regenerate.
        * reloc.c: Add s390 TLS relocations.
 
-2003-01-24  Charles Lepple clepple.ghz.cc
+2003-01-24  Charles Lepple  <clepple@ghz.cc>
 
        * aclocal.m4: Fix name of --enable-install-libbfd switch.
 
This page took 0.031717 seconds and 4 git commands to generate.