aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/frags.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/frags.c b/gas/frags.c
index 2a2806d..016d857 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -166,7 +166,8 @@ frag_new (size_t old_frags_var_max_size
/* Fix up old frag's fr_fix. */
frag_now->fr_fix = frag_now_fix_octets ();
- gas_assert (frag_now->fr_fix >= old_frags_var_max_size);
+ gas_assert (frag_now->fr_fix >= old_frags_var_max_size
+ || now_seg == absolute_section);
frag_now->fr_fix -= old_frags_var_max_size;
/* Make sure its type is valid. */
gas_assert (frag_now->fr_type != 0);