Fix bollixed check-in
authorMichael Snyder <msnyder@vmware.com>
Thu, 26 Jul 2007 21:58:44 +0000 (21:58 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 26 Jul 2007 21:58:44 +0000 (21:58 +0000)
bfd/linker.c

index d31752be3733cb69522884b658dbde9a619d5adb..a679a32c46e04fa1de10f0284e05cf66f06b4dca 100644 (file)
@@ -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;
 }