Fix obvious fix.
authorKai Tietz <kai.tietz@onevision.com>
Tue, 18 Aug 2009 17:50:12 +0000 (17:50 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Tue, 18 Aug 2009 17:50:12 +0000 (17:50 +0000)
CVS: ----------------------------------------------------------------------

gas/config/obj-coff-seh.c

index b00581600ece7f7d88faaa1923fefaca95197d10..71785d3ba488e2b33773f8efa148e05827aeb98a 100644 (file)
@@ -129,7 +129,7 @@ seh_x64_write_xdata (void)
   bfd *abfd = stdoutput;
 
   h = seh_ctx_root;
-  if (h->done)
+  if (!h || h->done)
     return;
   while (h != NULL)
     {