* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
[binutils-gdb.git] / bfd / ChangeLog
index edd7edae4dc5d85a1c6d2ddac3b8839edb5d9c19..93587fe5ebcd5b92955113d7b7f456a207cb51a1 100644 (file)
@@ -1,9 +1,117 @@
+2005-03-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
+       (ppc_elf_create_linker_section): Don't create rel_section.
+       (elf_create_pointer_linker_section): Don't size relocs.
+       (elf_finish_pointer_linker_section): Remove relative_reloc parm.
+       Don't generate relocs.
+       (ppc_elf_relocate_section): Adjust calls to
+       elf_finish_pointer_linker_section.
+
+2005-03-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (is_ppc_elf_target): New function.
+       (ppc_elf_merge_private_bfd_data): Use it rather than just testing
+       for bfd_target_elf_flavour.  Do this test before endian check.
+       (ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
+       (ppc_elf_size_dynamic_sections): Likewise.
+
+2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_backend_data): Add int to
+       elf_backend_section_from_shdr.
+       (bfd_elf_section_data): Update comment for this_idx.
+       (_bfd_elf_make_section_from_shdr): Add int.
+       * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Take section index
+       and use it to set this_idx in bfd_elf_section_data.
+       (bfd_section_from_shdr): Pass shindex to
+       _bfd_elf_make_section_from_shdr.
+       (_bfd_elf_section_from_bfd_section): Use this_idx in
+       bfd_elf_section_data to find section index.
+
+       * elf32-arm.c (elf32_arm_section_from_shdr): Take section
+       index and pass it to _bfd_elf_make_section_from_shdr.
+       * elf32-i370.c(i370_elf_section_from_shdr): Likewise.
+       * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
+       * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
+       * elf32-v850.c (v850_elf_section_from_shdr): Likewise.
+       * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
+       * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.
+
+2005-03-19  Danny Smith <dannysmith@users.sourceforge.net>
+           Ross Ridge  <rridge@csclub.uwaterloo.ca>
+
+       * peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
+       character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX
+       cases.  Add comment.
+
+2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_mark_used_section): Remove check for special
+       sections.
+
+2005-03-18  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
+       from bfd_vma to ia64_insn, remove broken cast.
+
+2005-03-18  C Jaiprakash  <cjaiprakash@noida.hcltech.com>
+
+       * elf32-m68k.c (elf_cfv4e_plt0_entry): plt entry for coldfire v4e. 
+       (elf_m68k_adjust_dynamic_symbol,elf_m68k_finish_dynamic_symbol,
+        elf_m68k_finish_dynamic_sections): Use it.
+
+2005-03-17  Paul Brook <paul@codesourcery.com>
+           Dan Jacobowitz <dan@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_modify_segment_map): New function.
+       (elf32_arm_additional_program_headers): Likewise.
+       (elf_backend_modify_segment_map): Define.
+       (elf_backend_additional_program_headers): Likewise.
+       (elf32_arm_symbian_modify_segment_map): Use
+       elf32_arm_modify_segment_map.
+
+2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_mark_used_section): Check bfd_is_const_section
+       for special sections.
+
+2005-03-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
+       * elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
+       section_sym_count param, and return number of section symbols.
+       (bfd_elf_size_dynamic_sections): Clear section symbol area of
+       .dynsym contents.  Don't bother calling swap_symbol_out on the
+       first all-zero dynsym.
+       (elf_mark_used_section): Formatting.  Avoid twiddling flags in
+       special sections like bfd_abs_section.
+       (bfd_elf_gc_sections): Spelling fix.
+
+2005-03-16  Fred Fish  <fnf@specifixinc.com>
+
+       PR binutils/790
+       * dwarf2.c (read_indirect_string): Fix apparent typo, check
+       dwarf_str_buffer allocation, not dwarf_abbrev_buffer.
+
+2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_mark_used_section): New.
+       (bfd_elf_gc_sections): Call elf_gc_mark_section for
+       non-relocatable link if we don't do GC.
+
 2005-03-16  Nick Clifton  <nickc@redhat.com>
            Ben Elliston  <bje@au.ibm.com>
 
-       * configure.in (error-on-warning): New switch: Add -Werror to the
+       * configure.in (werror): New switch: Add -Werror to the
        compiler command line.  Enabled by default.  Disable via
-       --disable-error-on-warning.
+       --disable-werror.
        * configure: Regenerate.
 
 2005-03-16  Nick Clifton  <nickc@redhat.com>