mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-27 20:03:31 +08:00
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-21 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* elf32-xtensa.c (ebb_propose_action): Put declarations before
|
||||||
|
statements.
|
||||||
|
|
||||||
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
|
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
|
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
|
||||||
|
@ -5598,9 +5598,10 @@ ebb_propose_action (ebb_constraint *c,
|
|||||||
if (c->action_allocated <= c->action_count)
|
if (c->action_allocated <= c->action_count)
|
||||||
{
|
{
|
||||||
unsigned new_allocated, i;
|
unsigned new_allocated, i;
|
||||||
|
proposed_action *new_actions;
|
||||||
|
|
||||||
new_allocated = (c->action_count + 2) * 2;
|
new_allocated = (c->action_count + 2) * 2;
|
||||||
proposed_action *new_actions = (proposed_action *)
|
new_actions = (proposed_action *)
|
||||||
bfd_zmalloc (sizeof (proposed_action) * new_allocated);
|
bfd_zmalloc (sizeof (proposed_action) * new_allocated);
|
||||||
|
|
||||||
for (i = 0; i < c->action_count; i++)
|
for (i = 0; i < c->action_count; i++)
|
||||||
|
Reference in New Issue
Block a user