From 799051fc87b3473f72cf37a74e28562dae9d7bd7 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 28 Dec 2000 19:14:37 +0000 Subject: [PATCH] * write.c (subsegs_finish): Fix thinko last change -- don't "optimize" the alignment == 0 case. --- gas/ChangeLog | 5 +++++ gas/write.c | 11 ++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e6bd7376966..5608beaae08 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-12-28 Richard Henderson + + * write.c (subsegs_finish): Fix thinko last change -- don't + "optimize" the alignment == 0 case. + 2000-12-28 Richard Henderson * as.h (rs_align_test): New. diff --git a/gas/write.c b/gas/write.c index 897e7070737..24b387e649f 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1413,13 +1413,10 @@ subsegs_finish () if (!frchainP->frch_next || frchainP->frch_next->frch_seg != now_seg) alignment = get_recorded_alignment (now_seg); - if (alignment > 0) - { - if (subseg_text_p (now_seg)) - frag_align_code (alignment, 0); - else - frag_align (alignment, 0, 0); - } + if (subseg_text_p (now_seg)) + frag_align_code (alignment, 0); + else + frag_align (alignment, 0, 0); /* frag_align will have left a new frag. Use this last frag for an empty ".fill". -- 2.30.2