aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c
index 66a05a5..2b084e3 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -394,6 +394,7 @@ chain_frchains_together_1 (segT section, struct frchain *frchp)
}
}
assert (prev_frag->fr_type != 0);
+ assert (prev_frag != &dummy);
prev_frag->fr_next = 0;
return prev_frag;
}