diff options
author | Bob Wilson <bob.wilson@acm.org> | 2004-10-21 16:29:11 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2004-10-21 16:29:11 +0000 |
commit | e9b2a3a5f05c4309f1117ac813df6962fed2a4ca (patch) | |
tree | 5131dc1772f30c6217fac4f3321cf2e1e2a99b7e /bfd | |
parent | 810a61cf69414f31ef61d1e32edfc0cc34d5e51e (diff) | |
download | binutils-redhat-e9b2a3a5f05c4309f1117ac813df6962fed2a4ca.tar.gz |
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-xtensa.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 93c2606e43..0aa7ddd976 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94. diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 8d9649e3a6..472ec34f48 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -5598,9 +5598,10 @@ ebb_propose_action (ebb_constraint *c, if (c->action_allocated <= c->action_count) { unsigned new_allocated, i; + proposed_action *new_actions; new_allocated = (c->action_count + 2) * 2; - proposed_action *new_actions = (proposed_action *) + new_actions = (proposed_action *) bfd_zmalloc (sizeof (proposed_action) * new_allocated); for (i = 0; i < c->action_count; i++) |