aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-12-12 21:54:32 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-12-12 21:54:32 +0000
commit5354b572b3ba653328933a798dd2cab888a7b3f7 (patch)
treed30b5fb5506bbf25f8df468ca412059efe297f40
parent0e073f4ce8c5907ba76b3d7aeb5b373a308b25d4 (diff)
downloadgdb-5354b572b3ba653328933a798dd2cab888a7b3f7.zip
gdb-5354b572b3ba653328933a798dd2cab888a7b3f7.tar.gz
gdb-5354b572b3ba653328933a798dd2cab888a7b3f7.tar.bz2
* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
initializers to match struct declaration.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf-m10300.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 463ed25..1eb35bd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
+ initializers to match struct declaration.
+
2002-12-12 Alan Modra <amodra@bigpond.net.au>
* dwarf2.c (comp_unit_contains_address): Comment typo fix.
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c
index 4dd0b91..2f0cd90 100644
--- a/bfd/elf-m10300.c
+++ b/bfd/elf-m10300.c
@@ -2675,9 +2675,9 @@ elf32_mn10300_link_hash_newfunc (entry, table, string)
{
ret->direct_calls = 0;
ret->stack_size = 0;
+ ret->movm_args = 0;
ret->movm_stack_size = 0;
ret->flags = 0;
- ret->movm_args = 0;
}
return (struct bfd_hash_entry *) ret;