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 677079eab0acc22c7de498129648ed2fd2b94bca..f27b5e1b2f91e930dde2b8527adff7360a0e3772 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;