aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2004-10-21 16:29:11 +0000
committerBob Wilson <bob.wilson@acm.org>2004-10-21 16:29:11 +0000
commit823fc61f00132adf8cad8decba3cd02a38b04b1f (patch)
tree028e8cf568905380214e6a70f6ec2c4396077bd5 /bfd/elf32-xtensa.c
parent8697aafb0c202dc7bd7bf263ef5bf88e8065ac85 (diff)
downloadgdb-823fc61f00132adf8cad8decba3cd02a38b04b1f.zip
gdb-823fc61f00132adf8cad8decba3cd02a38b04b1f.tar.gz
gdb-823fc61f00132adf8cad8decba3cd02a38b04b1f.tar.bz2
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 8d9649e..472ec34 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++)