aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gas/write.c b/gas/write.c
index 897e707..24b387e 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".