aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-08-18 17:50:12 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-08-18 17:50:12 +0000
commit688805f3b82d345b056810e08842224bfea3a879 (patch)
tree84af869d50fc4458f5eefcf10b81366596bb762f /gas
parent284e05313f9d9a2f3c3f71c51a2c0b744c11c2c0 (diff)
downloadgdb-688805f3b82d345b056810e08842224bfea3a879.zip
gdb-688805f3b82d345b056810e08842224bfea3a879.tar.gz
gdb-688805f3b82d345b056810e08842224bfea3a879.tar.bz2
Fix obvious fix.
CVS: ----------------------------------------------------------------------
Diffstat (limited to 'gas')
-rw-r--r--gas/config/obj-coff-seh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-coff-seh.c b/gas/config/obj-coff-seh.c
index b005816..71785d3 100644
--- a/gas/config/obj-coff-seh.c
+++ b/gas/config/obj-coff-seh.c
@@ -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)
{