aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-11-18 21:00:19 +0000
committerIan Lance Taylor <ian@airs.com>1993-11-18 21:00:19 +0000
commit5f6efd5a5e13950112a9f889be7797e1b92d6a2c (patch)
tree7b59fce325349177bf3e1818d4e08765c8bbd870 /gas/write.c
parent29cc5816c543e47066798cc2c9b7059aa68420ac (diff)
downloadgdb-5f6efd5a5e13950112a9f889be7797e1b92d6a2c.zip
gdb-5f6efd5a5e13950112a9f889be7797e1b92d6a2c.tar.gz
gdb-5f6efd5a5e13950112a9f889be7797e1b92d6a2c.tar.bz2
Get ECOFF gas to work again after this morning's checkins.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c
index 677079e..f27b5e1 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -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;