mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +08:00
* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
* exec.c (build_section_table): Don't abort if no sections. * sparc-tdep.c (single_step): Lint. * utils.c (mrealloc): Handle realloc (0, size) case here.
This commit is contained in:
parent
079b2abe97
commit
3b0b92207c
@ -1,3 +1,10 @@
|
||||
Tue Mar 31 08:11:58 1992 John Gilmore (gnu at cygnus.com)
|
||||
|
||||
* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
|
||||
* exec.c (build_section_table): Don't abort if no sections.
|
||||
* sparc-tdep.c (single_step): Lint.
|
||||
* utils.c (mrealloc): Handle realloc (0, size) case here.
|
||||
|
||||
Mon Mar 30 16:50:43 1992 Stu Grossman (grossman at cygnus.com)
|
||||
|
||||
* Makefile.in (alldeps.mak): Config files are now *.m[ht] as
|
||||
|
@ -205,7 +205,7 @@ elf_symtab_read (abfd, addr, objfile)
|
||||
|
||||
if (storage_needed > 0)
|
||||
{
|
||||
symbol_table = (asymbol **) bfd_xmalloc (storage_needed);
|
||||
symbol_table = (asymbol **) xmalloc (storage_needed);
|
||||
back_to = make_cleanup (free, symbol_table);
|
||||
number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user