aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-05 22:17:20 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-05 22:17:20 +0000
commit3a0e38ee59290c597fb61f8c681f40f44e931a2e (patch)
tree888f55f3c17c32f2d3059d51dbd396f28aa04c12 /gas/write.c
parent41b5ef0f76885c6345a1dc2074f403e4fa37db67 (diff)
downloadgdb-3a0e38ee59290c597fb61f8c681f40f44e931a2e.zip
gdb-3a0e38ee59290c597fb61f8c681f40f44e931a2e.tar.gz
gdb-3a0e38ee59290c597fb61f8c681f40f44e931a2e.tar.bz2
Don't refer to new fields unless BFD_ASSEMBLER (from sac).
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c
index 7bfa5c5..dc4c4e4 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -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;