Rename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 9f371a802d25ef578cd2c548cb01a85a602a596c..4dad85f3c98944b84a28d7fd3e81218b9323afa7 100644 (file)
@@ -1,3 +1,207 @@
+2006-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-sh-symbian.c: Rename local define DEBUG to SYMBIAN_DEBUG
+       in order to avoid conflicts with the global DEBUG define.
+
+2006-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c: Formatting.
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify
+       output section check.
+       * elf32-i370.c: Warning fixes inside #ifdef DEBUG.
+       * elf32-m32c.c: Similarly.
+       * elf32-ppc.c: Similarly.
+       * elf32-v850.c: Similarly.
+       * nlm32-sparc.c: Similarly.
+       * elfcode.h: Similarly.
+       (elf_symbol_flags): Delete.
+       * elflink.c (elf_link_input_bfd): Comment typo.
+
+2006-05-01  DJ Delorie  <dj@redhat.com>
+
+       * bfd-in.h (bfd_hash_table): Add count field.
+       * bfd-in2.h: Regenerate.
+       * hash.c (higher_prime_number): New.
+       (bfd_hash_table_inint_n): Init count field.
+       (bfd_hash_lookup): Grow table as needed.
+
+2006-04-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       PR binutils/2584
+       * tekhex.c (getvalue): Change return type to bfd_boolean and
+       add the new parameter.  Return false if the unexpected character
+       is found.
+       (getsym): Likewise.
+       (first_phase): Change return type to bfd_boolean and return
+       false if the unexpected character is found.  Replace abort
+       with returning false.
+       (pass_over): Change return type to bfd_boolean and the type of
+       the second argument to bfd_boolean (*) (bfd *, int, char *).
+       Return false if FUNC returns false.
+       (tekhex_object_p): Return NULL if pass_over fails.
+
+2006-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
+
+2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2593
+       * elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
+       and flags if its BFD flags have been set.
+       (_bfd_elf_init_private_section_data): Don't copy the output ELF
+       section type from input if it has been set to something
+       different.
+
+2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/2467
+       * elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
+       is NULL first.
+
+       * elf32-arm.c (elf32_arm_close_and_cleanup): Check if
+       abfd->sections is NULL.
+       (elf32_arm_bfd_free_cached_info): New.
+       (bfd_elf32_bfd_free_cached_info): Defined.
+
+       * elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
+       to _bfd_free_cached_info.
+
+       * libbfd-in.h (_bfd_free_cached_info): New.
+       * libbfd: Regenerated.
+
+       * opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
+       (_bfd_free_cached_info): New.
+
+2006-04-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_except_relocs): Move code setting
+       file position of non-loaded sections..
+       (assign_file_positions_for_segments): ..to here.
+
+2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2537
+       * elf.c (bfd_section_from_shdr): Allow sections reserved for
+       applications. Issue an error on sections we don't know how
+       to handle.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2006-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * warning.m4 (--enable-werror): Format help message.
+       (--enable-build-warnings): Likewise.
+       * configure: Regenerate.
+
+2006-04-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 2257
+       * elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
+       fields to still be handled as ELF files.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * po/SRC-POTFILES.in: Regenerated.
+
+2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in: Update version to 2.17.50.
+       * configure: Regenerated.
+
+2006-04-14  David Heine  <dlheine@tensilica.com>
+
+       * elf32-xtensa.c (build_reloc_opcodes): New.
+       (compute_text_actions): Use it to decode opcodes outside inner loop.
+       (check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
+       it is set, use it to get the opcodes for relocations.
+       (move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
+
+2006-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2513
+       * elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
+       (GOT_TLS_IE_IE): Likewise.
+       (GOT_TLS_IE_GD): Likewise.
+       (GOT_TLS_IE_MASK): Likewise.
+       (elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
+       and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
+       respectively.
+       (allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
+       are set, treat tls_type as GOT_TLS_IE_BOTH.
+       (elf_i386_relocate_section): Likewise.
+
+2006-04-07  Randolph Chung  <tausq@debian.org>
+
+       * elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
+       (elf64_hppa_grok_psinfo): Likewise.
+       (elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
+
+2006-04-06  DJ Delorie  <dj@redhat.com>
+
+       * elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
+       each plt entry we create.
+
+2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * po/Make-in: Add install-html target.
+       * Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
+       htmldir. Add install-html and install-html-recursive targets.
+       * Makefile.in: Regenerate.
+       * configure.in: AC_SUBST for datarootdir, docdir and htmldir.
+       * configure: Regenerate.
+
+2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
+       with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
+       section structure.
+
+2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
+       eliminate warnings.
+
+2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+           James E Wilson  <wilson@specifixinc.com>
+
+       PR ld/2442
+       * elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
+       (elfNN_ia64_local_hash_entry): Add count, sorted_count and
+       size.
+       (elfNN_ia64_link_hash_entry): Likewise.
+       (elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
+       and size.
+       (elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
+       processing.
+       (elfNN_ia64_hash_hide_symbol): Likewise.
+       (elfNN_ia64_global_dyn_sym_thunk): Likewise.
+       (elfNN_ia64_local_dyn_sym_thunk): Likewise.
+       (elfNN_ia64_global_dyn_info_free): New function.
+       (elfNN_ia64_local_dyn_info_free): Likewise.
+       (elfNN_ia64_hash_table_free): Free local and global
+       elfNN_ia64_dyn_sym_info.
+       (addend_compare): New function.
+       (sort_dyn_sym_info): Likewise.
+       (get_dyn_sym_info): Updated to use binary search for addend.
+       (elfNN_ia64_check_relocs): Scan relocations to create dynamic
+       relocation arrays first.
+
+2006-04-05  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
+       symbol.
+
+2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/2411
+       * elflink.c (check_dynsym): New.
+       (elf_link_output_extsym): Use it.
+       (bfd_elf_final_link): Likewise.
+
 2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/2404
        bfd_get_compatible to set the new bfd architecture.  Rely on it
        to detect incompatibilities.
 
+2006-03-23  Michael Matz  <matz@suse.de>
+
+       * reloc.c: Add BFD_RELOC_X86_64_GOT64, BFD_RELOC_X86_64_GOTPCREL64,
+       BFD_RELOC_X86_64_GOTPC64, BFD_RELOC_X86_64_GOTPLT64,
+       BFD_RELOC_X86_64_PLTOFF64.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Regenerated.
+       * elf64-x86-64.c (x86_64_elf_howto_table): Correct comment.
+       Add howtos for above relocs.
+       (x86_64_reloc_map): Add mappings for new relocs.
+       (elf64_x86_64_check_relocs): R_X86_64_GOT64, R_X86_64_GOTPCREL64,
+       R_X86_64_GOTPLT64 need a got entry.  R_X86_64_GOTPLT64 also a PLT
+       entry.  R_X86_64_GOTPC64 needs a .got section.  R_X86_64_PLTOFF64
+       needs a PLT entry.
+       (elf64_x86_64_gc_sweep_hook): Reflect changes from
+       elf64_x86_64_check_relocs for the new relocs.
+       (elf64_x86_64_relocate_section): Handle new relocs.
+
 2006-03-22  Bob Wilson  <bob.wilson@acm.org>
 
        * elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
 2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/2443
-       * dwarf2.c (concat_filename): Don't issue an error if file is
-       0.
+       * dwarf2.c (concat_filename): Don't issue an error if file is 0.
 
 2006-03-10  Paul Brook  <paul@codesourcery.com>
 
This page took 0.024949 seconds and 4 git commands to generate.