Don't refer to new fields unless BFD_ASSEMBLER (from sac).
authorIan Lance Taylor <ian@airs.com>
Sat, 5 Feb 1994 22:17:20 +0000 (22:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 5 Feb 1994 22:17:20 +0000 (22:17 +0000)
gas/write.c

index 7bfa5c5f6e34e7f66066ef57b984ae14a59b76c3..dc4c4e45a764c8a3c0e9dce26e08e38c57d84792 100644 (file)
@@ -293,6 +293,7 @@ chain_frchains_together_1 (section, frchp)
     {
       prev_frag->fr_next = frchp->frch_root;
       prev_frag = frchp->frch_last;
+#ifdef BFD_ASSEMBLER
       if (frchp->fix_root != (fixS *) NULL)
        {
          if (seg_info (section)->fix_root == (fixS *) NULL)
@@ -300,6 +301,7 @@ chain_frchains_together_1 (section, frchp)
          prev_fix->fx_next = frchp->fix_root;
          prev_fix = frchp->fix_tail;
        }
+#endif
     }
   prev_frag->fr_next = 0;
   return prev_frag;