mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* write.c (subsegs_finish): Fix thinko last change -- don't
"optimize" the alignment == 0 case.
This commit is contained in:
parent
0a9ef43907
commit
799051fc87
@ -1,3 +1,8 @@
|
||||
2000-12-28 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* write.c (subsegs_finish): Fix thinko last change -- don't
|
||||
"optimize" the alignment == 0 case.
|
||||
|
||||
2000-12-28 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* as.h (rs_align_test): New.
|
||||
|
11
gas/write.c
11
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".
|
||||
|
Loading…
Reference in New Issue
Block a user