]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/ChangeLog
bfd/
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
index 778a8e40368e18779d2f37d3269c9ad8c4d4f2dd..8ab0844e40cf7915ee68eef93a9de1b5fca2d7a7 100644 (file)
@@ -1,3 +1,182 @@
+2004-04-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * bfd.c (bfd_get_synthetic_symtab): Define.
+       * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add
+       NAME##_get_synthetic_symtab.
+       (struct bfd_target): Add _bfd_get_synthetic_symtab.
+       * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define.
+       * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and
+       relplt_name fields.
+       (_bfd_elf_get_synthetic_symtab): New prototype.
+       * elfcode.h (elf_get_synthetic_symtab): Define.
+       * elf.c (_bfd_elf_get_synthetic_symtab): New function.
+       * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define.
+       (elf_backend_plt_sym_val, elf_backend_relplt_name): Define.
+       (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name.
+       * bfd-in2.h: Rebuilt.
+       * libbfd.h: Rebuilt.
+       * elf32-i386.c (elf_i386_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * elf32-s390.c (elf_s390_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * elf64-s390.c (elf_s390_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * elf32-sparc (elf32_sparc_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * elf64-sparc.c (sparc64_elf_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * elf32-ppc.c (ppc_elf_plt_sym_val): New function.
+       (elf_backend_plt_sym_val): Define.
+       * aout-target.h (MY_get_synthetic_symtab): Define.
+       * aout-tic30.c (MY_get_synthetic_symtab): Define.
+       * coff-rs6000.c (rs6000coff_vec): Add
+       _bfd_nodynamic_get_synthetic_symtab.
+       (pmac_xcoff_vec): Likewise.
+       * coff64-rs6000.c (rs6000coff64_vec): Add
+       _bfd_nodynamic_get_synthetic_symtab.
+       (aix5coff64_vec): Likewise.
+       * sunos.c (MY_get_synthetic_symtab): Define.
+       * vms.c (vms_get_synthetic_symtab): Define.
+
+2004-04-22  Nick Clifton  <nickc@redhat.com>
+
+       * bfd.c (bfd_archive_filename): Return NULL on NULL input.
+
+2004-04-22  Peter Barada <peter@the-baradas.com>
+
+       * archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
+       * bfd2-in.h: Regenerate.
+       * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[].
+
+2004-04-21  Chris Demetriou  <cgd@broadcom.com>
+
+       * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove.
+       * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove.
+       * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs)
+       (bfd_mips_elf32_create_embedded_relocs): Remove prototypes
+       * bfd-in2.h: Regenerate.
+
+2004-04-21  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (is_same_value): Add final_static_link argument and
+       require relocations against a weak symbol to reference the same
+       symbol hash entry if not a final, static link.
+       (get_cached_value, add_value_map): Add final_static_link argument.
+       (remove_literals): Pass final_static_link argument as needed.
+
+2004-04-21  Andrew Cagney  <cagney@redhat.com>
+
+       * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec".
+       (struct opncls, opncls_btell, opncls_bseek, opncls_bread)
+       (opncls_bwrite, opncls_bclose, opncls_bflush)
+       (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a
+       bfd iovec that uses function callbacks.
+       (bfd_close): Use the iovec's bclose.
+       * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite)
+       (cache_bclose, cache_bflush, cache_bstat)
+       (cache_iovec): New functions and global variable, implement a
+       cache "iovec", where applicable set bfd_error.
+       (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec.
+       * bfdio.c (struct bfd_iovec): Define.
+       (real_read): Delete function.
+       (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat)
+       (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec",
+       assume that bread and bwrite set bfd_error.
+       * bfd.c (struct bfd): Add "iovec", update comments.
+       * bfd-in2.h, libbfd.h: Re-generate.
+
+2004-04-21  Andrew Cagney  <cagney@redhat.com>
+
+       * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
+
+2004-04-21  Eric Botcazou  <ebotcazou@act-europe.fr>
+
+       * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
+       (bfd_elf_gc_sections): Fail if a shared object is being created.
+       Do not fail if dynamic sections have been created.  Instead call
+       elf_gc_mark_dynamic_ref_symbol to mark sections that contain
+       dynamically referenced symbols.  Do not mark the whole graph
+       rooted at .eh_frame, only the section proper.
+
+2004-04-20  DJ Delorie  <dj@redhat.com>
+
+       * reloc.c: Add BFD_RELOC_32_SECREL.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Likewise.
+       * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32.
+       (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it.
+       (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise.
+
+2004-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-sparc.c (elf32_sparc_relocate_section): Handle
+       relocs against hidden/protected undefweak symbols properly.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2004-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
+       * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
+       core files.
+
+2004-04-17  Brian Ford  <ford@vss.fsi.com>
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
+       filepos for the SizeOfHeaders field.
+       (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
+       overflow.
+       (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
+
+2004-04-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Don't
+       change reloc_done.  Set and restore _cooked_size.
+       (RETURN): Delete.
+
+2004-04-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
+       core files.
+
+2004-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
+
+2004-04-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
+
+2004-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
+       when it is a definition.
+
+2004-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
+       when statically linking PIC code.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
+
+       * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
+       * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
+       targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
+       * configure: Regenerate.
+
+2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elflink.c: Include libiberty.h.
+       * Makefile.am (elflink.lo): Depend on libiberty.h.
+       * Makefile.in: Regenerate.
+
+2004-04-06  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
+       ".MIPS.stubs".
+
 2004-04-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always