PR 868
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index bb2ace66eb556c52d15054717f6040fd8b98abdd..612a49017d6283200d4f113db724d54fa171a978 100644 (file)
@@ -1,3 +1,60 @@
+2008-02-22  Nick Clifton  <nickc@redhat.com>
+
+       PR 868
+       *dwarf2.c: Revert previous patch.  All of the allocate memory is
+       on an obstack which will be freed at some other time.
+       
+2008-02-20  Nick Clifton  <nickc@redhat.com>
+
+       PR 868
+       * libbfd.c (bfd_realloc_or_free): New function.  Performs like
+       bfd_realloc, but if the (re)allocation fails, the pointer is
+       freed.
+       * libbfd-in.h: Prototype.
+       * libbfd.h: Regenerate.
+       * bfdio.c (bfd_bwrite): Use the new function.
+       (bfd_seek): Likewise.
+       * bfdwin.c:(bfd_get_file_window): Likewise.
+       * elf-strtab.c (_bfd_elf_strtab_add): Likewise.
+       * elf32-ppc.c (ppc_elf_relax_section): Likewise.
+       * elf32-xtensa.c (vsprintf_msg): Likewise.
+       * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
+       * stabs.c (_bfd_link_seciton_stabs): Likewise.
+       * vms-misc.c (_bfd_vms_get_record): Likewise.
+       * vms-tir.c (check_section): Likewise.
+       * vms.c (vms_new_section_hook): Likewise.
+       * elf32-arm.c (elf32_arm_section_map_add): Check that the
+       allocation of sec_data->map succeeded before using it.
+       * elflink.c (elf_link_output_sym): Do not overwrite finfo->
+       symshndxbuf until it is known that the reallocation succeeded.
+
+2008-02-20  Diogo de Carvalho Kraemer  <diogo@kraemer.eng.br>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 868
+       * dwarf2.c (read_abbrevs): Free the abbreviation table if we run
+       out of memory.
+       (decode_line_info): Free the line_info_table before returning a
+       failure result.
+       (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table.
+       Free the line table.  Free the function table.  Free the variable
+       table.
+
+2008-02-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (swap_out_syms): Avoid preprocessing directive within
+       macro arg.
+
+2008-02-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * elf.c (assign_file_positions_for_load_sections): Set the type of
+       PT_NOTE sections to SHT_NOTE.
+
+2008-02-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Set
+       link_info.output_bfd.
+
 2008-02-16  Nathan Sidwell  <nathan@codesourcery.com>
 
        * dwarf2.c (find_line): Don't trust debug information after an
This page took 0.026264 seconds and 4 git commands to generate.