Get ECOFF gas to work again after this morning's checkins.
authorIan Lance Taylor <ian@airs.com>
Thu, 18 Nov 1993 21:00:19 +0000 (21:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 18 Nov 1993 21:00:19 +0000 (21:00 +0000)
gas/write.c

index 677079e..f27b5e1 100644 (file)
@@ -435,7 +435,7 @@ relax_and_size_seg (abfd, sec, xxx)
     flags |= SEC_HAS_CONTENTS;
 
   /* @@ This is just an approximation.  */
-  if (seginfo->fix_root)
+  if (seginfo && seginfo->fix_root)
     flags |= SEC_RELOC;
   else
     flags &= ~SEC_RELOC;