Fix compile time warning messages about variables being used before they are initialised.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index abb87dc88c4dc970ccf84f5f40275a352aa6e0cb..87e22c2d6e6cc1d14c1686d714702c3689358cab 100644 (file)
@@ -1,3 +1,94 @@
+2015-04-24  Nick Clifton  <nickc@redhat.com>
+
+       PR 18313
+       * compress.c (decompress_contents): Zero initialse the z_stream
+       structure.
+
+2015-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * elf.c (_bfd_elf_is_local_label_name): Extend test for assembler
+       local labels to include local labels with a numeric suffix and
+       fake symbols.
+
+2015-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18316
+       * section.c (SEC_MEP_VLIW): New.
+       * bfd-in2.h: Regenerated.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18277
+       * compress.c (bfd_compress_section_contents): Remove the
+       write_compress argument.
+       (bfd_init_section_compress_status): Updated.
+       (bfd_compress_section): Likewise.
+       * elf.c (_bfd_elf_set_reloc_sh_name): New.
+       (_bfd_elf_init_reloc_shdr): Add delay_st_name_p.  Set sh_name
+       to (unsigned int) -1 if delay_st_name_p is TRUE.  Use
+       _bfd_elf_set_reloc_sh_name.
+       (elf_fake_sections): Don't rename DWARF debug section for
+       linker output if it will be compressed.  Instead, set
+       delay_st_name_p to TRUE and pass it to _bfd_elf_init_reloc_shdr.
+       (assign_section_numbers): Call _bfd_elf_strtab_addref only if
+       sh_name != (unsigned int) -1.  Don't finalize nor assign
+       shstrtab section here.  Delay setting output section names to
+       _bfd_elf_write_object_contents.
+       (_bfd_elf_compute_section_file_positions): Update comments on
+       sh_offset for shstrtab section.
+       (assign_file_positions_for_non_load_sections): Set sh_offset to
+       -1 for shstrtab section.
+       (assign_file_positions_except_relocs): Likewise.
+       (_bfd_elf_assign_file_positions_for_non_load): Set up sh_name
+       when compressing DWARF debug sections.  Place shstrtab section
+       after DWARF debug sections have been compressed.
+       (_bfd_elf_write_object_contents): Setting sh_name for output
+       sections.
+
+2015-04-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/18209
+       * bfd.c (bfd): Add is_linker_input.
+       * elf.c (convert_debug_to_zdebug): New.
+       (convert_zdebug_to_debug): Likewise.
+       (_bfd_elf_make_section_from_shdr): Don't convert .debug_* to
+       .zdebug_* here.  Use convert_zdebug_to_debug.  Set SEC_ELF_RENAME.
+       (_bfd_elf_init_reloc_shdr): Pass a pointer to section name
+       instead of a pointer to section.
+       (elf_fake_sections): Rename the section name if SEC_ELF_RENAME
+       is set.
+       * section.c (SEC_ELF_RENAME): New.
+       * bfd-in2.h: Regenerated.
+
+2015-04-23  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (TOC_BASE_ALIGN): Define.
+       (ppc64_elf_next_toc_section): Align multi-got toc base.
+       (ppc64_elf_set_toc): Likewise initial toc base and .TOC. symbol.
+
+2015-04-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/18289
+       * elf32-i386.c (elf_i386_link_hash_entry): Add gotoff_ref.
+       (elf_i386_link_hash_newfunc): Initialize gotoff_ref to 0.
+       (elf_i386_create_dynamic_sections): Always allow copy relocs for
+       building executables.
+       (elf_i386_copy_indirect_symbol): Also copy gotoff_ref.
+       (elf_i386_check_relocs): Set gotoff_ref for R_386_GOTOFF.
+       (elf_i386_adjust_dynamic_symbol): Also allocate copy relocs for
+       PIE and R_386_GOTOFF.
+       (elf_i386_relocate_section): Allow R_386_GOTOFF in executable.
+
+2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_section_numbers): Always set up sh_name.
+
+2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_file_positions_for_non_load_sections): Iterate
+       sections by pointer.
+       (_bfd_elf_assign_file_positions_for_non_load): Likewise.
+
 2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        * bfd-in.h (compressed_debug_section_type): New.
This page took 0.027727 seconds and 4 git commands to generate.