mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc to reallocate abbrev_die_table.
* dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc
to reallocate abbrev_die_table.
From-SVN: r14997
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
|
||||
|
||||
* dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc
|
||||
to reallocate abbrev_die_table.
|
||||
|
||||
Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
|
||||
|
||||
@@ -3955,7 +3955,7 @@ build_abbrev_table (die)
|
||||
{
|
||||
n_alloc = abbrev_die_table_allocated + ABBREV_DIE_TABLE_INCREMENT;
|
||||
abbrev_die_table
|
||||
= (dw_die_ref *) xmalloc (abbrev_die_table,
|
||||
= (dw_die_ref *) xrealloc (abbrev_die_table,
|
||||
sizeof (dw_die_ref) * n_alloc);
|
||||
|
||||
bzero ((char *) &abbrev_die_table[abbrev_die_table_allocated],
|
||||
|
||||
Reference in New Issue
Block a user