bfd/
[binutils-gdb.git] / bfd / ChangeLog
index 015a40ca43b3c9ebd1271f8ddf4c7fff64de4e69..c37f13e0d52d72f2f290436545630c532c473537 100644 (file)
@@ -1,3 +1,90 @@
+2008-07-12  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf.c (_bfd_elf_map_sections_to_segments): Don't put
+       executable sections into the same segment with other
+       read only sections if --sep-code.
+       * elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
+       (elf32_bfin_data_in_l1): New variable.
+       (elf32_bfin_final_write_processing): New.
+       (elf32_bfin_special_sections[]): New.
+       (elf_backend_final_write_processing): Define.
+       (elf_backend_special_sections): Define.
+
+2008-07-11  Andreas Schwab  <schwab@suse.de>
+
+       * dwarf2.c (read_section): Take pointer to bfd_size_type instead
+       of unsigned long as last parameter.
+       (struct dwarf2_debug): Define dwarf_abbrev_size, dwarf_line_size,
+       dwarf_str_size and dwarf_ranges_size as bfd_size_type instead of
+       unsigned long.
+
+2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * elfxx-mips.c (mips_elf_calculate_relocation): Calculate GP and GP0
+       for all relocation types.  Allow any type of relocation to refer to
+       __gnu_local_gp.
+
+2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * elfxx-mips.c (mips_elf_check_mips16_stubs): Use ELF_ST_IS_MIPS16.
+       (mips_elf_calculate_relocation): Likewise.
+       (_bfd_mips_elf_add_symbol_hook): Likewise.
+       (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+       (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
+
+2008-07-10  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Add missing
+       paren.
+
+2008-07-09  Craig Silverstein  <csilvers@google.com>
+
+       * Makefile.am (BFD32_LIBS): Add compress.lo.
+       (BFD32_LIBS_CFILES): Add compress.c.
+       (BFD_H_FILES): Likewise.
+       * Makefile.in: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * config.in: Add HAVE_ZLIB_H
+       * configure.in: Add test for libz and zlib.h
+       * configure: Regenerate.
+       * dwarf2.c (read_section): New function.
+       (read_indirect_string): Call new function read_section.
+       (read_abbrevs): Likewise.
+       (decode_line_info): Likewise.
+       (read_debug_ranges): Likewise.
+       (find_line): Call new function read_section when just one
+       .zdebug_info section is found, otherwise read and compress
+       multiple sections.
+       (_bfd_dwarf2_cleanup_debug_info): Free sec_info_ptr.
+       * elf.c (_bfd_elf_make_section_from_shdr): Add zdebug prefix.
+       (special_sections_z): New struct.
+       (special_sections): Refer to special_sections_z.
+       * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Recognize
+       sections named .zdebug_*.
+       (_bfd_mips_elf_fake_sections): Likewise.
+       * compress.c: New file.
+       (bfd_uncompress_section_contents): New function.
+       
+2008-07-07  Christophe Lyon  <christophe.lyon@st.com>
+
+       * elf32-arm.c (arm_type_of_stub): Don't crash on local symbols in
+       the presence of a PLT.
+
+2008-07-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char.
+
+2008-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (is_pic_glink_stub): New function.
+       (ppc_elf_get_synthetic_symtab): Don't generate symbols when
+       multiple shared/pie stubs per plt entry.
+
+2008-06-30  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * elf.c (_bfd_elf_get_synthetic_symtab): Increment p by
+       bed->s->int_rels_per_ext_rel.
+
 2008-06-30  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * syms.c (BSF_SYNTHETIC): New flag.