diff options
Diffstat (limited to 'gas/subsegs.c')
-rw-r--r-- | gas/subsegs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/subsegs.c b/gas/subsegs.c index e0f721cd287..9401d61a834 100644 --- a/gas/subsegs.c +++ b/gas/subsegs.c @@ -194,7 +194,7 @@ subseg_set_rest (segT seg, subsegT subseg) newP->frch_next = frcP; /* perhaps NULL */ seginfo = seg_info (seg); - if (seginfo && seginfo->frchainP == frcP) + if (seginfo && (!seginfo->frchainP || seginfo->frchainP == frcP)) seginfo->frchainP = newP; frcP = newP; |