aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-07-26 21:58:44 +0000
committerMichael Snyder <msnyder@vmware.com>2007-07-26 21:58:44 +0000
commit5ba8816a2d4c9d8a7c3e19a8369b39390e99f854 (patch)
treed97a8e6c228a59413b10b94dffd958e27949639c /bfd/linker.c
parent2d4f3e92ff96c19987e2e0f79f698604f578adb8 (diff)
downloadgdb-5ba8816a2d4c9d8a7c3e19a8369b39390e99f854.zip
gdb-5ba8816a2d4c9d8a7c3e19a8369b39390e99f854.tar.gz
gdb-5ba8816a2d4c9d8a7c3e19a8369b39390e99f854.tar.bz2
Fix bollixed check-in
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index d31752b..a679a32 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -2946,11 +2946,11 @@ already_linked_newfunc (struct bfd_hash_entry *entry ATTRIBUTE_UNUSED,
struct bfd_section_already_linked_hash_entry *ret =
bfd_hash_allocate (table, sizeof *ret);
- ret->entry = NULL;
-
if (ret == NULL)
return ret;
+ ret->entry = NULL;
+
return &ret->root;
}