diff options
author | Richard Henderson <rth@redhat.com> | 2000-12-28 19:14:37 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2000-12-28 19:14:37 +0000 |
commit | 799051fc87b3473f72cf37a74e28562dae9d7bd7 (patch) | |
tree | 340cbc01e7cceab484130c428f7e8df4bda75826 /gas/write.c | |
parent | 0a9ef439079f50221dad9eb5248387236d370c87 (diff) | |
download | gdb-799051fc87b3473f72cf37a74e28562dae9d7bd7.zip gdb-799051fc87b3473f72cf37a74e28562dae9d7bd7.tar.gz gdb-799051fc87b3473f72cf37a74e28562dae9d7bd7.tar.bz2 |
* write.c (subsegs_finish): Fix thinko last change -- don't
"optimize" the alignment == 0 case.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 11 |
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". |