src/bfd ChangeLog dwarf2.c elf-bfd.h elf.c

nickc@sourceware.org nickc@sourceware.org
Thu May 5 14:25:00 GMT 2005


CVSROOT:	/cvs/src
Module name:	src
Changes by:	nickc@sourceware.org	2005-05-05 14:25:24

Modified files:
	bfd            : ChangeLog dwarf2.c elf-bfd.h elf.c 

Log message:
	* dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently allocated memory
	before returning.
	(decode_line_info): Likewise.
	(_bfd_dwarf2_cleanup_debug_info): New function:  Frees memory	allocated by
	functions in this file.
	* elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype.
	* elf.c (bfd_elf_close_and_cleanup): Call _bfd_dwarf2_cleanup_debug_info.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.3075&r2=1.3076
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/dwarf2.c.diff?cvsroot=src&r1=1.67&r2=1.68
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.182&r2=1.183
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.287&r2=1.288



More information about the Binutils-cvs mailing list